From d63e06647ec4f15aba39901f34854c5942cbfa1d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 11 Apr 2010 17:59:08 +0200 Subject: [PATCH] Added metacity-2.30.1 build template. --HG-- extra : convert_revision : 19b1b4bc2a33b3c241f40850470a3db317ea4872 --- srcpkgs/metacity-devel | 1 + srcpkgs/metacity/depends | 2 + srcpkgs/metacity/metacity-devel.template | 40 ++++++++++++++ srcpkgs/metacity/template | 67 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 111 insertions(+) create mode 120000 srcpkgs/metacity-devel create mode 100644 srcpkgs/metacity/depends create mode 100644 srcpkgs/metacity/metacity-devel.template create mode 100644 srcpkgs/metacity/template diff --git a/srcpkgs/metacity-devel b/srcpkgs/metacity-devel new file mode 120000 index 0000000000..2c0b2eec40 --- /dev/null +++ b/srcpkgs/metacity-devel @@ -0,0 +1 @@ +metacity \ No newline at end of file diff --git a/srcpkgs/metacity/depends b/srcpkgs/metacity/depends new file mode 100644 index 0000000000..e709dcbad4 --- /dev/null +++ b/srcpkgs/metacity/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.30.1" +api_depends="${abi_depends}" diff --git a/srcpkgs/metacity/metacity-devel.template b/srcpkgs/metacity/metacity-devel.template new file mode 100644 index 0000000000..490ab4d477 --- /dev/null +++ b/srcpkgs/metacity/metacity-devel.template @@ -0,0 +1,40 @@ +# Template file for 'metacity-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 libcanberra-devel +Add_dependency run gtk+-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 GConf-devel +Add_dependency run startup-notification-devel +Add_dependency run libXcomposite-devel +Add_dependency run libXrender-devel +Add_dependency run libXdamage-devel +Add_dependency run libXfixes-devel +Add_dependency run libXcursor-devel +Add_dependency run libgtop-devel +Add_dependency run libXrandr-devel +Add_dependency run libSM-devel +Add_dependency run libICE-devel +Add_dependency run libX11-devel +Add_dependency run libXext-devel +Add_dependency run libXinerama-devel + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/metacity/template b/srcpkgs/metacity/template new file mode 100644 index 0000000000..6ce58cea94 --- /dev/null +++ b/srcpkgs/metacity/template @@ -0,0 +1,67 @@ +# Template file for 'metacity' +pkgname=metacity +version=2.30.1 +distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--disable-schemas-install --localstatedir=/var +--with-gconf-schema-file-dir=/usr/share/gconf/schemas" +short_desc="GNOME-compliant window manager" +maintainer="Juan RP " +checksum=0057b6e0562cf51b648a2d7b3729def8365ccefd12a9b1373f93312da1ebe5d8 +long_desc=" + Metacity is not a meta-City as in an urban center, but rather Meta-ness as in + the state of being meta. i.e. metacity : meta as opacity : opaque. Also + it may have something to do with the Meta key on UNIX keyboards." + +gconf_schemas="metacity.schemas" +subpackages="$pkgname-devel" + +Add_dependency run glibc +Add_dependency run libcanberra +Add_dependency run gtk+ +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 GConf +Add_dependency run startup-notification +Add_dependency run libXcomposite +Add_dependency run libXrender +Add_dependency run libXdamage +Add_dependency run libXfixes +Add_dependency run libXcursor +Add_dependency run libgtop +Add_dependency run libXrandr +Add_dependency run libSM +Add_dependency run libICE +Add_dependency run libX11 +Add_dependency run libXext +Add_dependency run libXinerama +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build gnome-doc-utils +Add_dependency build libcanberra-devel +Add_dependency build gtk+-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 GConf-devel +Add_dependency build startup-notification-devel +Add_dependency build libXcomposite-devel +Add_dependency build libXrender-devel +Add_dependency build libXdamage-devel +Add_dependency build libXfixes-devel +Add_dependency build libXcursor-devel +Add_dependency build libgtop-devel +Add_dependency build libXrandr-devel +Add_dependency build libSM-devel +Add_dependency build libICE-devel +Add_dependency build libX11-devel +Add_dependency build libXext-devel +Add_dependency build libXinerama-devel +Add_dependency full zenity diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index a5c2f148c9..a351d012d1 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -523,3 +523,4 @@ libcanberra-gtk.so libcanberra libcanberra-devel libgtop-2.0.so libgtop libgtop-devel librarian.so rarian rarian-devel libgnome-desktop-2.so.17 gnome-desktop gnome-desktop-devel +libmetacity-private.so metacity metacity-devel