aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-23 06:52:30 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-23 06:52:30 +0000
commit2e9fff98415058173cdbc33efb6ce692a8014a74 (patch)
treec816a8ae360cfb482855d7ad36f2555464279455
parent3adb5011329254bf62a3b422ae7cf3509ad930bd (diff)
downloadaports-2e9fff98415058173cdbc33efb6ce692a8014a74.tar.gz
aports-2e9fff98415058173cdbc33efb6ce692a8014a74.tar.bz2
aports-2e9fff98415058173cdbc33efb6ce692a8014a74.tar.xz
community/ices: moved from testing, ices2 packages was redundant, set replaces to avoid conflicts
-rw-r--r--community/ices/APKBUILD5
-rw-r--r--testing/ices2/APKBUILD40
2 files changed, 3 insertions, 42 deletions
diff --git a/community/ices/APKBUILD b/community/ices/APKBUILD
index 5ab8f1584d..09299c6391 100644
--- a/community/ices/APKBUILD
+++ b/community/ices/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ices
pkgver=2.0.2
-pkgrel=1
+pkgrel=2
pkgdesc="Source client for broadcasting in MP3 format to an icecast2 server"
url="http://icecast.org/ices.php"
arch="all"
@@ -12,7 +12,7 @@ makedepends="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev
lame-dev perl-dev python2-dev libxml2-dev linux-headers"
subpackages="$pkgname-doc"
source="http://downloads.us.xiph.org/releases/ices/$pkgname-$pkgver.tar.gz"
-
+replaces="ices2"
builddir=$srcdir/$pkgname-$pkgver
prepare() {
@@ -25,6 +25,7 @@ build() {
./configure \
--prefix=/usr \
--datadir=/usr/share/doc/ \
+ --with-alsa \
--with-lame \
--with-vorbis \
--with-python \
diff --git a/testing/ices2/APKBUILD b/testing/ices2/APKBUILD
deleted file mode 100644
index 84c99a3fd6..0000000000
--- a/testing/ices2/APKBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# Contributor: Francesco Colista <francesco.colista@gmail.com>
-# Maintainer: Francesco Colista <francesco.colista@gmail.com>
-pkgname=ices2
-_pkgname=ices
-pkgver=2.0.2
-pkgrel=0
-pkgdesc="source client for broadcasting in Ogg Vorbis format to an icecast2 server"
-url="http://icecast.org/ices.php"
-arch="all"
-license="GPL2"
-depends=
-depends_dev="libogg-dev libxml2-dev libvorbis-dev libshout-dev alsa-lib-dev"
-makedepends="$depends_dev"
-install=""
-subpackages=""
-source="http://downloads.us.xiph.org/releases/ices/$_pkgname-$pkgver.tar.bz2"
-
-_builddir=$srcdir/$_pkgname-$pkgver
-build() {
- cd "$_builddir"
- ./configure \
- --prefix=/usr \
- --disable-sun-audio \
- --enable-alsa \
- || return 1
- make || return 1
-}
-package() {
- cd "$_builddir"
- mkdir -p "$pkgdir"/etc/$pkgname
- make DESTDIR="$pkgdir" install || return 1
- cd "$_builddir"/conf
- for i in `ls *.xml`; do
- install -m644 -D $i "$pkgdir"/etc/$pkgname/$i
- done
-}
-
-md5sums="832c448cc993170a70fd95804fcda5b2 ices-2.0.2.tar.bz2"
-sha256sums="96458df835033c39236ad3bb099286c033241f8ea7c138e7ccf714e7ade75900 ices-2.0.2.tar.bz2"
-sha512sums="ff257b478a7237886ba59bf7d1a494ebd4c7c12fd74e8e10c00ea65710249ead1b5b1ae8d9540fab05f2e4486949c6e350f3da59a1d1bf261397ca257806b2c7 ices-2.0.2.tar.bz2"