diff options
Diffstat (limited to 'community/deadbeef')
-rw-r--r-- | community/deadbeef/APKBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/community/deadbeef/APKBUILD b/community/deadbeef/APKBUILD new file mode 100644 index 0000000000..b8fc8900a4 --- /dev/null +++ b/community/deadbeef/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Ćukasz Jendrysik <scadu@yandex.com> +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=deadbeef +pkgver=0.7.0 +_ver=${pkgver/_rc/-rc} +pkgrel=0 +pkgdesc="fairly capable playlist-oriented audio player" +url="http://deadbeef.sourceforge.net/" +arch="all" +license="GPL" +depends= +depends_dev="gtk+-dev libmad-dev alsa-lib-dev ffmpeg-dev libsamplerate-dev + gettext-dev flac-dev libvorbis-dev jansson-dev" +makedepends="$depends_dev intltool gettext" +install="" +subpackages="$pkgname-dev $pkgname-lang" +source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$_ver.tar.bz2" + +_builddir="${srcdir}/${pkgname}-$_ver" + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + #LIBS="-lintl" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="d5450785139757a016dcd4dfc66479c7 deadbeef-0.7.0.tar.bz2" +sha256sums="1dab69d00695b830724dfd8aa38f5cab851dbd02a3d95bce8b7720fdc38dd868 deadbeef-0.7.0.tar.bz2" +sha512sums="681c0f04ae62ca2d4eb061a6d116b14565e93058b8ce78e9144f838dbe2d58da43904bfa762fd11add6d1445fdddb38590b6257e535c40e9895db7c7a4127609 deadbeef-0.7.0.tar.bz2" |