From 991889f75c420e852fcd8ede8d3baf3f67505338 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 18 May 2011 11:20:54 +0200 Subject: [PATCH] Added libwnck2-2.30.6 (GTK+2) build template required by some pkgs. --- srcpkgs/libwnck2-devel | 1 + srcpkgs/libwnck2/depends | 2 + srcpkgs/libwnck2/libwnck2-devel.template | 23 +++++++++++ srcpkgs/libwnck2/template | 52 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 79 insertions(+) create mode 120000 srcpkgs/libwnck2-devel create mode 100644 srcpkgs/libwnck2/depends create mode 100644 srcpkgs/libwnck2/libwnck2-devel.template create mode 100644 srcpkgs/libwnck2/template diff --git a/srcpkgs/libwnck2-devel b/srcpkgs/libwnck2-devel new file mode 120000 index 00000000000..1916a001d1b --- /dev/null +++ b/srcpkgs/libwnck2-devel @@ -0,0 +1 @@ +libwnck2 \ No newline at end of file diff --git a/srcpkgs/libwnck2/depends b/srcpkgs/libwnck2/depends new file mode 100644 index 00000000000..6b74a71981e --- /dev/null +++ b/srcpkgs/libwnck2/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.30" +api_depends="${abi_depends}" diff --git a/srcpkgs/libwnck2/libwnck2-devel.template b/srcpkgs/libwnck2/libwnck2-devel.template new file mode 100644 index 00000000000..4ca90973619 --- /dev/null +++ b/srcpkgs/libwnck2/libwnck2-devel.template @@ -0,0 +1,23 @@ +# Template file for 'libwnck-devel'. +# +short_desc="${sourcepkg} development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run freetype-devel +Add_dependency run gtk+-devel +Add_dependency run startup-notification-devel +Add_dependency run libX11-devel +Add_dependency run libXres-devel +Add_dependency run libwnck + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mkdir -p ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.*a ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/{gir*,gtk-doc} ${DESTDIR}/usr/share +} diff --git a/srcpkgs/libwnck2/template b/srcpkgs/libwnck2/template new file mode 100644 index 00000000000..4e7f0665fee --- /dev/null +++ b/srcpkgs/libwnck2/template @@ -0,0 +1,52 @@ +# Template build file for 'libwnck2'. +pkgname=libwnck2 +version=2.30.6 +wrksrc=libwnck-${version} +distfiles="${GNOME_SITE}/libwnck/2.30/libwnck-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var" +short_desc="Library for layout and rendering of text (GTK+2)" +maintainer="Juan RP " +checksum=4d25984ed5cfe215eb650f960de634300a6cafc9d98bbc7caea8043b7cd96cc5 +long_desc=" + libwnck is Window Navigator Construction Kit, i.e. a library to use + for writing pagers and taskslists and stuff. + + This package is based in the GTK+2 Toolkit." + +subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run atk +Add_dependency run pango +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run libpng +Add_dependency run gdk-pixbuf +Add_dependency run cairo +Add_dependency run startup-notification +Add_dependency run libX11 +Add_dependency run libXres +Add_dependency run gtk+ + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build gobject-introspection +Add_dependency build glib-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build libpng-devel +Add_dependency build gdk-pixbuf-devel +Add_dependency build cairo-devel +Add_dependency build startup-notification-devel +Add_dependency build libXres-devel +Add_dependency build libX11-devel +Add_dependency build gtk+-devel + +post_install() +{ + rm -rf ${DESTDIR}/usr/bin +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 9dcc6aef785..97ea20642c2 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -126,6 +126,7 @@ libXau.so libXau libXau-devel libexslt.so libxslt libxslt-devel libxslt.so libxslt libxslt-devel libstartup-notification-1.so startup-notification startup-notification-devel +libwnck-1.so libwnck2 libwnck2-devel libwnck-3.so libwnck libwnck-devel libnl.so libnl libnl-devel libssl.so libssl openssl-devel