From da5276fd649a81e848631d79a62fead8ae1c054d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 13 Apr 2010 02:48:00 +0200 Subject: [PATCH] Added gnome-control-center-2.30.0 build template. --HG-- extra : convert_revision : c0a855a0102a9d6ec14cde755d2ca98d7cb20f09 --- srcpkgs/gnome-control-center-devel | 1 + srcpkgs/gnome-control-center/depends | 2 + .../gnome-control-center-devel.template | 48 ++++++++++ srcpkgs/gnome-control-center/template | 88 +++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 140 insertions(+) create mode 120000 srcpkgs/gnome-control-center-devel create mode 100644 srcpkgs/gnome-control-center/depends create mode 100644 srcpkgs/gnome-control-center/gnome-control-center-devel.template create mode 100644 srcpkgs/gnome-control-center/template diff --git a/srcpkgs/gnome-control-center-devel b/srcpkgs/gnome-control-center-devel new file mode 120000 index 0000000000..7003bc1cf6 --- /dev/null +++ b/srcpkgs/gnome-control-center-devel @@ -0,0 +1 @@ +gnome-control-center \ No newline at end of file diff --git a/srcpkgs/gnome-control-center/depends b/srcpkgs/gnome-control-center/depends new file mode 100644 index 0000000000..071d27b792 --- /dev/null +++ b/srcpkgs/gnome-control-center/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.30.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/gnome-control-center/gnome-control-center-devel.template b/srcpkgs/gnome-control-center/gnome-control-center-devel.template new file mode 100644 index 0000000000..81e3f5a228 --- /dev/null +++ b/srcpkgs/gnome-control-center/gnome-control-center-devel.template @@ -0,0 +1,48 @@ +# Template file for 'gnome-control-center-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 gnome-doc-utils +Add_dependency run GConf-devel +Add_dependency run libxml2-devel +Add_dependency run gnome-desktop-devel +Add_dependency run gtk+-devel +Add_dependency run startup-notification-devel +Add_dependency run atk-devel +Add_dependency run glib-devel +Add_dependency run pango-devel +Add_dependency run cairo-devel +Add_dependency run freetype-devel +Add_dependency run fontconfig-devel +Add_dependency run gnome-menus-devel +Add_dependency run libSM-devel +Add_dependency run libICE-devel +Add_dependency run libX11-devel +Add_dependency run metacity-devel +Add_dependency run libXcursor-devel +Add_dependency run libXi-devel +Add_dependency run dbus-glib-devel +Add_dependency run dbus-devel +Add_dependency run libXft-devel +Add_dependency run libXrender-devel +Add_dependency run libunique-devel +Add_dependency run librsvg-devel +Add_dependency run evolution-data-server-devel +Add_dependency run libsoup-devel +Add_dependency run libgnomekbd-devel +Add_dependency run libxklavier-devel + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib/window-manager-settings + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/window-manager-settings/*.a \ + ${DESTDIR}/usr/lib/window-manager-settings +} diff --git a/srcpkgs/gnome-control-center/template b/srcpkgs/gnome-control-center/template new file mode 100644 index 0000000000..b30c98601d --- /dev/null +++ b/srcpkgs/gnome-control-center/template @@ -0,0 +1,88 @@ +# Template file for 'gnome-control-center' +pkgname=gnome-control-center +version=2.30.0 +distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--disable-schemas-install --disable-scrollkeeper +--with-gconf-schema-file-dir=/usr/share/gconf/schemas +--localstatedir=/var --disable-update-mimedb --enable-aboutme" +short_desc="GNOME control center" +maintainer="Juan RP " +checksum=aa279706d7a1a4f5a4ba4767cc80ac3cae2855d3bc6600b5c039dc650d754828 +long_desc=" + This packages the control center for the GNOME desktop." + +gconf_schemas="control-center.schemas fontilus.schemas $pkgname.schemas" +gtk_iconcache_dirs="/usr/share/icons/hicolor" +subpackages="$pkgname-devel" +triggers="mimedb" + +Add_dependency run glibc +Add_dependency run GConf +Add_dependency run libxml2 +Add_dependency run gnome-desktop +Add_dependency run gtk+ +Add_dependency run startup-notification +Add_dependency run atk +Add_dependency run glib +Add_dependency run pango +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run gnome-menus +Add_dependency run libSM +Add_dependency run libICE +Add_dependency run libX11 +Add_dependency run metacity +Add_dependency run libXcursor +Add_dependency run libXi +Add_dependency run dbus-glib +Add_dependency run dbus-libs +Add_dependency run libXft +Add_dependency run libXrender +Add_dependency run libunique +Add_dependency run librsvg +Add_dependency run evolution-data-server +Add_dependency run libsoup +Add_dependency run libgnomekbd +Add_dependency run libxklavier + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build gnome-doc-utils +Add_dependency build GConf-devel +Add_dependency build libxml2-devel +Add_dependency build gnome-desktop-devel +Add_dependency build gtk+-devel +Add_dependency build startup-notification-devel +Add_dependency build atk-devel +Add_dependency build glib-devel +Add_dependency build pango-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build gnome-menus-devel +Add_dependency build libSM-devel +Add_dependency build libICE-devel +Add_dependency build libX11-devel +Add_dependency build metacity-devel +Add_dependency build libXcursor-devel +Add_dependency build libXi-devel +Add_dependency build dbus-glib-devel +Add_dependency build dbus-devel +Add_dependency build libXft-devel +Add_dependency build libXrender-devel +Add_dependency build libunique-devel +Add_dependency build librsvg-devel +Add_dependency build evolution-data-server-devel +Add_dependency build libsoup-devel +Add_dependency build libgnomekbd-devel +Add_dependency build libxklavier-devel + +Add_dependency full desktop-file-utils +Add_dependency full hicolor-icon-theme + +post_install() +{ + mv ${DESTDIR}/usr/share/pkgconfig/* ${DESTDIR}/usr/lib/pkgconfig +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index a4f279e9ec..c6e45e0e9e 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -565,3 +565,4 @@ libnm-util.so NetworkManager NetworkManager-devel libnm-glib.so NetworkManager NetworkManager-devel libnm-glib-vpn.so NetworkManager NetworkManager-devel libpanel-applet-2.so gnome-panel gnome-panel-devel +libgnome-window-settings.so gnome-control-center gnome-control-center-devel