diff --git a/srcpkgs/libnice-devel b/srcpkgs/libnice-devel new file mode 120000 index 0000000000..c89ce3d468 --- /dev/null +++ b/srcpkgs/libnice-devel @@ -0,0 +1 @@ +libnice \ No newline at end of file diff --git a/srcpkgs/libnice/depends b/srcpkgs/libnice/depends new file mode 100644 index 0000000000..140f5aa7a9 --- /dev/null +++ b/srcpkgs/libnice/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.1.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/libnice/libnice-devel.template b/srcpkgs/libnice/libnice-devel.template new file mode 100644 index 0000000000..34f09b38b1 --- /dev/null +++ b/srcpkgs/libnice/libnice-devel.template @@ -0,0 +1,24 @@ +# Template file for 'libnice-devel'. +# +short_desc="${sourcepkg} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run pkg-config +Add_dependency run intltool +Add_dependency run glib-devel +Add_dependency run libxml2-devel +Add_dependency run gstreamer-devel +Add_dependency run libsoup-devel +Add_dependency run gssdp-devel +Add_dependency run gupnp-devel +Add_dependency run gupnp-igd-devel +Add_dependency run libnice + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libnice/template b/srcpkgs/libnice/template new file mode 100644 index 0000000000..7db7f64a93 --- /dev/null +++ b/srcpkgs/libnice/template @@ -0,0 +1,40 @@ +# Template file for 'libnice' +pkgname=libnice +version=0.1.0 +distfiles="http://nice.freedesktop.org/releases/$pkgname-$version.tar.gz" +build_style=gnu_configure +configure_args="--disable-static" +short_desc="An implementation of the IETF's draft ICE (for P2P UDP data streams)" +maintainer="Juan RP " +checksum=c79b85f53c63fc676c6f84f4a40a5e210106cc7856ba17580fc2716f36c720ff +long_desc=" + It provides a GLib-based library, libnice and a Glib-free library, libstun + as well as GStreamer elements. + + ICE is useful for applications that want to establish peer-to-peer UDP data + streams. It automates the process of traversing NATs and provides security + against some attacks. It also allows applications to create reliable streams + using a TCP over UDP layer. + + Existing standards that use ICE include Session Initiation Protocol (SIP) + and XMPP Jingle." + +subpackages="$pkgname-devel" +Add_dependency run glibc +Add_dependency run glib +Add_dependency run libxml2 +Add_dependency run gstreamer +Add_dependency run libsoup +Add_dependency run gssdp +Add_dependency run gupnp +Add_dependency run gupnp-igd + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build glib-devel +Add_dependency build libxml2-devel +Add_dependency build gstreamer-devel +Add_dependency build libsoup-devel +Add_dependency build gssdp-devel +Add_dependency build gupnp-devel +Add_dependency build gupnp-igd-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index ba518f11a1..51a47e12d9 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -790,3 +790,5 @@ libaccountsservice.so accountsservice accountsservice-devel libgee.so libgee libgee-devel libfolks.so.21 folks folks-devel libfolks-telepathy.so.21 folks folks-devel +libnice.so.10 libnice libnice-devel +libgupnp-igd-1.0.so gupnp-igd gupnp-igd-devel