diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-06-18 17:17:22 -0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-06-19 13:09:35 +0000 |
commit | 32b24960b31dc90009ed0d0412141eee96ac7897 (patch) | |
tree | ee66bd077962a31cbc6401869b165fbb3ac229ba /main/darkice | |
parent | 4411bd551307a6cdae0a3359c42eb3506189e04f (diff) | |
download | aports-32b24960b31dc90009ed0d0412141eee96ac7897.tar.bz2 aports-32b24960b31dc90009ed0d0412141eee96ac7897.tar.xz |
main/darkice: upgrade to 1.3
Diffstat (limited to 'main/darkice')
-rw-r--r-- | main/darkice/APKBUILD | 35 |
1 files changed, 12 insertions, 23 deletions
diff --git a/main/darkice/APKBUILD b/main/darkice/APKBUILD index 1d7593295a..6feb2c2e5f 100644 --- a/main/darkice/APKBUILD +++ b/main/darkice/APKBUILD @@ -1,29 +1,24 @@ # Contributor: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=darkice -pkgver=1.2 -pkgrel=1 +pkgver=1.3 +pkgrel=0 pkgdesc="Live audio streamer. Records audio from an audio interface, encodes it and sends it to a streaming server" -url="http://code.google.com/p/darkice/" +url="http://www.darkice.org/" arch="all" license="GPL3" depends= makedepends="alsa-lib-dev faac-dev lame-dev libvorbis-dev" install="" subpackages="$pkgname-doc" -source="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$pkgname/$pkgname-$pkgver.tar.gz +source="https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz darkice.initd darkice.confd" -_builddir=$srcdir/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - update_config_sub || return 1 -} +builddir=$srcdir/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" CPPFLAGS="$CPPFLAGS -fpermissive" \ ./configure \ --build=$CBUILD \ @@ -31,23 +26,17 @@ build() { --prefix=/usr \ --sysconfdir=/etc/darkice \ --without-aacplus \ - --without-twolame \ - || return 1 - make || return 1 + --without-twolame + make } package() { mkdir -p "$pkgdir"/etc/$pkgname - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname } -md5sums="de541ea95a73a50f2f5e700434c22329 darkice-1.2.tar.gz -4151d117598d5a349ae3a636059b7e11 darkice.initd -8aaa2212a0e6eff3922e0dba7fab4028 darkice.confd" -sha256sums="b3fba9be2d9c72f36b0659cd9ce0652c8f973b5c6498407f093da9a364fdb254 darkice-1.2.tar.gz -5c3bf239d7dbd6e3e5b35938d6f83b92e736ffbcb9dd092362329bc4f9917ef5 darkice.initd -3c2a970aafb6029c81640a13373c0df2473aba340b2761aa695bda49bb9c402e darkice.confd" -sha512sums="d8959819d70eb9b44a34d087fcf3897be5e4cb23681c049f8d88e251d83dfd86b90fdd37744fe27d861dfcbb6bb6e1521b48c5c7b4967bb061ede75596f0a823 darkice-1.2.tar.gz + +sha512sums="710dde580005e999e9b11981affdefab6c01868710e9de29d93fb0f40db3321dfe3ab6ed2dc1887bb22ac9a0789fe1648d948f4453c92feb312f7af97c253674 darkice-1.3.tar.gz 743f4e24bf4bfa57a46f643dc000cd40f24e382e50c657bb6bb2a13492e337bbec5b1c03e0824046e30725737bdf81ce838bc61cd4b3b383b013e6bcad9475c6 darkice.initd 9491c3d0ff34750a60cec93eeaa7442714209fdb085e4d4d47a15b991850c861f0003d446d1a3205b452c9badc68b34beafd6c37798a3744098a3665f7f34f34 darkice.confd" |