From 9f9b40dc5582db4a79e6dfae498896450e7622a9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 1 Mar 2011 00:53:22 +0100 Subject: [PATCH] avahi: added -ui-libs-gtk3 subpkg. --HG-- branch : gnome3 --- srcpkgs/avahi-ui-libs-gtk3 | 1 + srcpkgs/avahi/avahi-ui-libs-devel.template | 7 ++++-- srcpkgs/avahi/avahi-ui-libs-gtk3.template | 28 ++++++++++++++++++++++ srcpkgs/avahi/avahi-ui-utils.template | 6 ++++- srcpkgs/avahi/template | 3 ++- xbps-src/common/mapping_shlib_binpkg.txt | 1 + 6 files changed, 42 insertions(+), 4 deletions(-) create mode 120000 srcpkgs/avahi-ui-libs-gtk3 create mode 100644 srcpkgs/avahi/avahi-ui-libs-gtk3.template diff --git a/srcpkgs/avahi-ui-libs-gtk3 b/srcpkgs/avahi-ui-libs-gtk3 new file mode 120000 index 00000000000..3d497a72746 --- /dev/null +++ b/srcpkgs/avahi-ui-libs-gtk3 @@ -0,0 +1 @@ +avahi \ No newline at end of file diff --git a/srcpkgs/avahi/avahi-ui-libs-devel.template b/srcpkgs/avahi/avahi-ui-libs-devel.template index c0c79c26c38..bd7da3c44e6 100644 --- a/srcpkgs/avahi/avahi-ui-libs-devel.template +++ b/srcpkgs/avahi/avahi-ui-libs-devel.template @@ -6,16 +6,19 @@ long_desc="${long_desc} This package contains development files for the UI libraries provided by Avahi." +revision=1 + Add_dependency run glibc-devel Add_dependency run avahi-libs-devel Add_dependency run gtk+-devel +Add_dependency run gtk+3-devel Add_dependency run gdbm-devel do_install() { mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/include - mv ${SRCPKGDESTDIR}/usr/include/avahi-ui ${DESTDIR}/usr/include - mv ${SRCPKGDESTDIR}/usr/lib/libavahi-ui.a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include/avahi-ui* ${DESTDIR}/usr/include + mv ${SRCPKGDESTDIR}/usr/lib/libavahi-ui* ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib } diff --git a/srcpkgs/avahi/avahi-ui-libs-gtk3.template b/srcpkgs/avahi/avahi-ui-libs-gtk3.template new file mode 100644 index 00000000000..c0f523c7907 --- /dev/null +++ b/srcpkgs/avahi/avahi-ui-libs-gtk3.template @@ -0,0 +1,28 @@ +# Template file for 'avahi-ui-libs-gtk3'. +# +short_desc="Avahi UI GTK+3 shared libraries" +long_desc="${long_desc} + + This package contains the GTK+3 UI shared libraries provided by Avahi." + +Add_dependency run glibc +Add_dependency run libssp +Add_dependency run gdbm +Add_dependency run glib +Add_dependency run dbus-libs +Add_dependency run avahi-libs +Add_dependency run avahi-glib-libs +Add_dependency run atk +Add_dependency run pango +Add_dependency run gdk-pixbuf +Add_dependency run libpng +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run gtk+3 + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/libavahi-ui-gtk3.so* ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/avahi/avahi-ui-utils.template b/srcpkgs/avahi/avahi-ui-utils.template index 613fccd3cd3..07ce9038bc0 100644 --- a/srcpkgs/avahi/avahi-ui-utils.template +++ b/srcpkgs/avahi/avahi-ui-utils.template @@ -5,10 +5,11 @@ long_desc="${long_desc} This package contains some small GTK+ utilities to discover services." +revision=1 + Add_dependency run libglade Add_dependency run gdk-pixbuf Add_dependency run libpng -Add_dependency run gtk+ Add_dependency run libxml2 Add_dependency run atk Add_dependency run glib @@ -23,7 +24,10 @@ Add_dependency run glibc Add_dependency run avahi-libs Add_dependency run avahi-glib-libs Add_dependency run avahi-ui-libs +Add_dependency run avahi-ui-libs-gtk3 Add_dependency run desktop-file-utils +Add_dependency run gtk+ +Add_dependency run gtk+3 Add_dependency run avahi diff --git a/srcpkgs/avahi/template b/srcpkgs/avahi/template index dda310c62ed..6b3e1ae93c5 100644 --- a/srcpkgs/avahi/template +++ b/srcpkgs/avahi/template @@ -8,7 +8,7 @@ configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --with-xml=expat --with-avahi-user=avahi --with-avahi-group=avahi --with-avahi-priv-access-group=netdev --with-autoipd-user=avahi --with-autoipd-group=avahi --with-distro=gentoo --disable-xmltoman - --disable-dbm --localstatedir=/var --disable-gtk3" + --disable-dbm --localstatedir=/var" short_desc="Multicast DNS Service Discovery" maintainer="Juan RP " checksum=a0d80aac88212b9f9d5331c248091d3c9c9209f0e41985421636ebd14230fc91 @@ -28,6 +28,7 @@ subpackages="$pkgname-autoipd $pkgname-discover $pkgname-compat-libs" subpackages="$subpackages $pkgname-compat-libs-devel $pkgname-libs" subpackages="$subpackages $pkgname-libs-devel $pkgname-glib-libs" subpackages="$subpackages $pkgname-glib-libs-devel $pkgname-ui-libs" +subpackages="$subpackages $pkgname-ui-libs-gtk3" subpackages="$subpackages $pkgname-ui-libs-devel $pkgname-utils" subpackages="$subpackages $pkgname-ui-utils $pkgname-python-utils" subpackages="$subpackages $pkgname-python gir-$pkgname" diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 8f0f5a2ffca..e63905002a2 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -347,6 +347,7 @@ libavahi-glib.so avahi-glib-libs avahi-glib-libs-devel libdns_sd.so avahi-compat-libs avahi-compat-libs-devel libhowl.so avahi-compat-libs avahi-compat-libs-devel libavahi-ui.so avahi-ui-libs avahi-ui-libs-devel +libavahi-ui-gtk3.so avahi-ui-libs-gtk3 avahi-ui-libs-devel libmp4v2.so libmp4v2 libmp4v2-devel libmp4av.so libmp4v2 libmp4v2-devel libmpeg4ip_gnu.so libmp4v2 libmp4v2-devel