aboutsummaryrefslogtreecommitdiffstats
path: root/testing/deadbeef/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/deadbeef/APKBUILD')
-rw-r--r--testing/deadbeef/APKBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/deadbeef/APKBUILD b/testing/deadbeef/APKBUILD
new file mode 100644
index 0000000000..10e4533654
--- /dev/null
+++ b/testing/deadbeef/APKBUILD
@@ -0,0 +1,48 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=deadbeef
+pkgver=0.4.4
+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"
+makedepends="$depends_dev intltool"
+install=""
+subpackages="$pkgname-dev"
+source="http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.bz2
+ deadbeef-execinfo.patch
+ deadbeef-junklib.patch"
+
+_builddir="${srcdir}/${pkgname}-${pkgver}"
+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 \
+ --disable-sid \
+ --disable-ffap || return 1
+ echo "#undef HAVE_ICONV" >> config.h
+ echo "#define HAVE_ICONV 0" >> config.h
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="546e63d456d6a5625461019b15501e38 deadbeef-0.4.4.tar.bz2
+0df7ea65269c41789b3b22520c7b0e0a deadbeef-execinfo.patch
+c0335b0d2561e4f7d594eaa3ba695ace deadbeef-junklib.patch"