Commit 5df79883 authored by A. Klitzing's avatar A. Klitzing Committed by Jakub Jirutka

main/libnice: upgrade 0.1.14 and modernize abuild

parent 4e27386c
# 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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment