aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnice
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-05-12 10:22:47 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-05-13 12:43:35 +0200
commit5df79883f7f07d294b88549ab9b8d84f7b0869ab (patch)
tree6761e877b26089befa9b4bcbb1a29980cc9b97ba /main/libnice
parent4e27386c6b30452e2bd5123098e60b43678665a6 (diff)
downloadaports-5df79883f7f07d294b88549ab9b8d84f7b0869ab.tar.bz2
aports-5df79883f7f07d294b88549ab9b8d84f7b0869ab.tar.xz
main/libnice: upgrade 0.1.14 and modernize abuild
Diffstat (limited to 'main/libnice')
-rw-r--r--main/libnice/APKBUILD34
1 files changed, 9 insertions, 25 deletions
diff --git a/main/libnice/APKBUILD b/main/libnice/APKBUILD
index dc6de09898..2b4f97ebcf 100644
--- a/main/libnice/APKBUILD
+++ b/main/libnice/APKBUILD
@@ -1,35 +1,22 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libnice
-pkgver=0.1.13
+pkgver=0.1.14
pkgrel=0
pkgdesc="GLib ICE implementation"
url="http://nice.freedesktop.org/wiki/"
arch="all"
license="LGPLv2 and MPLv1.1"
-depends=""
-depends_dev="glib-dev"
-makedepends="$depends_dev gstreamer1-dev gst-plugins-base1-dev
+makedepends="glib-dev gnutls-dev gstreamer1-dev gst-plugins-base1-dev
gstreamer0.10-dev gst-plugins-base0.10-dev
gobject-introspection-dev"
-install=""
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc
$pkgname-gstreamer0.10:_gst010 $pkgname-gstreamer:_gst"
source="http://nice.freedesktop.org/releases/libnice-$pkgver.tar.gz"
-
-_builddir="$srcdir"/libnice-$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
-}
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,14 +25,13 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --enable-introspection \
- || return 1
- make || return 1
+ --enable-introspection
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
_gst010() {
@@ -60,6 +46,4 @@ _gst() {
mv "$pkgdir"/usr/lib/gstreamer-1.0 "$subpkgdir"/usr/lib/
}
-md5sums="3226faeaf48a9150ada00da2e2865959 libnice-0.1.13.tar.gz"
-sha256sums="61112d9f3be933a827c8365f20551563953af6718057928f51f487bfe88419e1 libnice-0.1.13.tar.gz"
-sha512sums="c9bb81e8cd0b4e3673dba07ce08a16dd8821831339b44f1006510cdc09f9ae4c6eb7d43230711a2509867acb8d7df71821c411830dbf71c5a5d7e802f14a32c1 libnice-0.1.13.tar.gz"
+sha512sums="58bd0e0f630f4f14fe4765f2dab24215d71d61a4e7dc260cdb34eb0254b3dcdc9ce3b6fb010800250fb85f91e06b1c48cfcdd6e18867324609ead17a9106d4dd libnice-0.1.14.tar.gz"