aboutsummaryrefslogblamecommitdiffstats
path: root/main/parole/APKBUILD
blob: 8e9fe029939fb072449a21fd17aee8d5246ddb5f (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                    
            
        



                                         

                                                           
          
             

                                                                         
                                                                 
                                        
        
                                        
                                                                                
 
           
                                     




                                                                        
 
 

                                     



                                 

                                         
                                           
                                      
                           
                        



                                     


                                      


                                                                                                                                                                   
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=parole
pkgver=0.8.1
pkgrel=0
case $pkgver in
	*.*.*.*) _branch=${pkgver%.*.*};;
	*.*.*) _branch=${pkgver%.*};;
esac
pkgdesc="Media player for the Xfce desktop"
url="http://goodies.xfce.org/projects/applications/parole/"
arch="all"
license="GPL"
depends="gst-plugins-good1"
depends_dev="libxfce4ui-dev libxfce4util-dev intltool gstreamer1-dev bash
	gst-plugins-base1-dev libsm-dev taglib-dev libnotify-dev"
makedepends="$depends_dev linux-headers"
install=
subpackages="$pkgname-dev $pkgname-lang"
source="http://archive.xfce.org/src/apps/parole/$_branch/parole-$pkgver.tar.bz2"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-gstreamer=1.0 \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install
}

md5sums="361e3059f1263c76a3711db2c7c1a97b  parole-0.8.1.tar.bz2"
sha256sums="4b216f5200490f8d2a9bf1b3fcd9a8b20834c95249bf13b9170c82e1fcbd80f4  parole-0.8.1.tar.bz2"
sha512sums="73c27022331828adb7b5805245ce97f03f4848c569125529436e82651da61e28f4d4a834468d6e4c165754f2fd9664eded9a7e15fc86f067d9b2c7c54afff3ee  parole-0.8.1.tar.bz2"