wok-next view libnice/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 0e8dadf052b9
children 5841522533ec
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnice"
4 VERSION="0.1.14"
5 CATEGORY="system-tools"
6 SHORT_DESC="The GLib ICE implementation"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1 MPL"
9 WEB_SITE="https://nice.freedesktop.org/wiki/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://nice.freedesktop.org/releases/$TARBALL"
14 BUILD_DEPENDS="gnutls-dev glib-dev gstreamer0-dev gstreamer1-dev \
15 gobject-introspection-dev"
16 SPLIT="libnice-gst0 libnice-gst1 libnice libnice-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 libnice-gst0)
25 copy libgstnice010.so
26 DEPENDS="libnice gstreamer0 liblzma libxml2"
27 CAT="multimedia|GStreamer-0.10 plugin"
28 ;;
29 libnice-gst1)
30 copy libgstnice.so
31 DEPENDS="libnice gstreamer1"
32 CAT="multimedia|GStreamer-1.0 plugin"
33 ;;
34 libnice)
35 copy @std @rm
36 DEPENDS="glib gmp libffi libgnutls libidn libtasn1 libunistring \
37 nettle p11-kit pcre util-linux-blkid util-linux-mount \
38 util-linux-uuid zlib"
39 ;;
40 libnice-dev)
41 copy @dev
42 DEPENDS="libnice libnice-gst0 libnice-gst1 \
43 glib-dev gmp-dev gnutls-dev gstreamer0-dev gstreamer1-dev \
44 libffi-dev libidn-dev libtasn1-dev libunistring-dev libxml2-dev \
45 nettle-dev p11-kit-dev pcre-dev util-linux-blkid-dev \
46 util-linux-mount-dev util-linux-uuid-dev xz-dev zlib-dev"
47 ;;
48 esac
49 }