aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/forked-daapd
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-25 15:26:24 +0200
commitb6af1e02efe594039707cd882517663d5370f375 (patch)
treeff9c2d55873e051e82972ba64c017352d3a75d34 /unmaintained/forked-daapd
parenta71346b7acebc600960a98c84fb32cfd72fe864b (diff)
downloadaports-b6af1e02efe594039707cd882517663d5370f375.tar.bz2
aports-b6af1e02efe594039707cd882517663d5370f375.tar.xz
testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
Diffstat (limited to 'unmaintained/forked-daapd')
-rw-r--r--unmaintained/forked-daapd/APKBUILD65
1 files changed, 65 insertions, 0 deletions
diff --git a/unmaintained/forked-daapd/APKBUILD b/unmaintained/forked-daapd/APKBUILD
new file mode 100644
index 0000000000..1e2530383c
--- /dev/null
+++ b/unmaintained/forked-daapd/APKBUILD
@@ -0,0 +1,65 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=forked-daapd
+pkgver=22.3
+pkgrel=0
+pkgdesc="an updated version of the original forked-daapd"
+url="https://github.com/ejurgensen/forked-daapd"
+arch="all"
+license="custom"
+depends=""
+depends_dev="libgcrypt-dev ffmpeg-dev flac-dev avahi-dev gettext-dev alsa-lib-dev
+ sqlite-dev libantlr3c-dev libunistring-dev confuse-dev ffmpeg-dev
+ mxml-dev libevent-dev libogg-dev taglib-dev libavl-dev libplist-dev"
+makedepends="$depends_dev autoconf automake libtool openjdk7-jre-base gperf bash bsd-compat-headers"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/ejurgensen/forked-daapd/archive/$pkgver.tar.gz
+ http://www.antlr3.org/download/antlr-3.4-complete.jar"
+
+_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"
+ OLD_PATH=$PATH
+ export PATH="$srcdir:$PATH"
+ echo "#!/bin/bash" > $srcdir/antlr3
+ echo "exec java -cp $srcdir/antlr-3.4-complete.jar org.antlr.Tool \"\$@\"" >> $srcdir/antlr3
+ chmod a+x $srcdir/antlr3
+ autoreconf -i -v || return 1
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ --enable-flac \
+ --enable-musepack \
+ --enable-itunes \
+ || return 1
+ make || return 1
+ export PATH=$OLD_PATH
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="f1862aa6e42dd3a432925cff5de5caed forked-daapd-22.3.tar.gz
+1b91dea1c7d480b3223f7c8a9aa0e172 antlr-3.4-complete.jar"
+sha256sums="0aaa5995d1bd10343890634bb0e3176b781175125a98f77d7f182402c8133c91 forked-daapd-22.3.tar.gz
+9d3e866b610460664522520f73b81777b5626fb0a282a5952b9800b751550bf7 antlr-3.4-complete.jar"
+sha512sums="b109b057c3b79054d52a9ab2d5aad4bc00dc828bba61e70bc405f526bf75fb6b3c5f4aca0981b332495aa9ef97731f84f440470edb9f21123e0e500091abc7a8 forked-daapd-22.3.tar.gz
+04be4dfba3a21f3ab9d9e439a64958bd8e844a9f151b798383bd9e0dd6ebc416783ae7cb1d1dbb27fb7288ab9756b13b8338cdb8ceb41a10949c852ad45ab1f2 antlr-3.4-complete.jar"