From 065f967e1624270fb36a83af4ecc400b8c4eea73 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 16 Apr 2010 13:22:20 +0200 Subject: [PATCH] Added seed-2.30.0 build template. --HG-- extra : convert_revision : 482b0e531df26f8b7abcb4df3f4fa67024b59c97 --- srcpkgs/libseed | 1 + srcpkgs/libseed-devel | 1 + srcpkgs/seed/depends | 2 ++ srcpkgs/seed/libseed-devel.template | 36 ++++++++++++++++++++++ srcpkgs/seed/libseed.template | 33 ++++++++++++++++++++ srcpkgs/seed/template | 38 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 7 files changed, 112 insertions(+) create mode 120000 srcpkgs/libseed create mode 120000 srcpkgs/libseed-devel create mode 100644 srcpkgs/seed/depends create mode 100644 srcpkgs/seed/libseed-devel.template create mode 100644 srcpkgs/seed/libseed.template create mode 100644 srcpkgs/seed/template diff --git a/srcpkgs/libseed b/srcpkgs/libseed new file mode 120000 index 0000000000..e06b1e20b0 --- /dev/null +++ b/srcpkgs/libseed @@ -0,0 +1 @@ +seed \ No newline at end of file diff --git a/srcpkgs/libseed-devel b/srcpkgs/libseed-devel new file mode 120000 index 0000000000..e06b1e20b0 --- /dev/null +++ b/srcpkgs/libseed-devel @@ -0,0 +1 @@ +seed \ No newline at end of file diff --git a/srcpkgs/seed/depends b/srcpkgs/seed/depends new file mode 100644 index 0000000000..071d27b792 --- /dev/null +++ b/srcpkgs/seed/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.30.0" +api_depends="${abi_depends}" diff --git a/srcpkgs/seed/libseed-devel.template b/srcpkgs/seed/libseed-devel.template new file mode 100644 index 0000000000..14f1fb1c04 --- /dev/null +++ b/srcpkgs/seed/libseed-devel.template @@ -0,0 +1,36 @@ +# Template file for 'libseed-devel'. +# +short_desc="GObject JavaScript bindings for the webkit engine - Development" +long_desc="${long_desc} + + This package contains the static libraries and development headers, needed + to build programs using the Seed interpreter." + +Add_dependency run pkg-config +Add_dependency run intltool +Add_dependency run readline-devel +Add_dependency run mpfr-devel +Add_dependency run gmp-devel +Add_dependency run dbus-devel +Add_dependency run dbus-glib-devel +Add_dependency run gobject-introspection-devel +Add_dependency run webkit-gtk-devel +Add_dependency run gtk+-devel +Add_dependency run libsoup-devel +Add_dependency run atk-devel +Add_dependency run pango-devel +Add_dependency run cairo-devel +Add_dependency run freetype-devel +Add_dependency run fontconfig-devel +Add_dependency run glib-devel +Add_dependency run libseed + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib/seed ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/*.{a,so} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/seed/*.a ${DESTDIR}/usr/lib/seed + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/share/gtk-doc ${DESTDIR}/usr/share +} diff --git a/srcpkgs/seed/libseed.template b/srcpkgs/seed/libseed.template new file mode 100644 index 0000000000..73ed2a2fe4 --- /dev/null +++ b/srcpkgs/seed/libseed.template @@ -0,0 +1,33 @@ +# Template file for 'libseed'. +# +short_desc="GObject JavaScript bindings for the webkit engine - Runtime" +long_desc="${long_desc} + + This package contains the runtime library and all modules, needed by + programs embedding the Seed interpreter." + +Add_dependency run glibc +Add_dependency run readline +Add_dependency run mpfr +Add_dependency run gmp +Add_dependency run dbus-libs +Add_dependency run dbus-glib +Add_dependency run gobject-introspection +Add_dependency run webkit-gtk +Add_dependency run gtk+ +Add_dependency run libsoup +Add_dependency run atk +Add_dependency run pango +Add_dependency run cairo +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run glib +Add_dependency run gnome-js-common + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib/seed ${DESTDIR}/usr/share + mv ${SRCPKGDESTDIR}/usr/lib/libseed.so.* ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/seed/*.so ${DESTDIR}/usr/lib/seed + mv ${SRCPKGDESTDIR}/usr/share/seed ${DESTDIR}/usr/share +} diff --git a/srcpkgs/seed/template b/srcpkgs/seed/template new file mode 100644 index 0000000000..7093a8e36c --- /dev/null +++ b/srcpkgs/seed/template @@ -0,0 +1,38 @@ +# Template file for 'seed' +pkgname=seed +version=2.30.0 +distfiles="${GNOME_SITE}/$pkgname/2.30/$pkgname-$version.tar.bz2" +build_style=gnu_configure +short_desc="GObject JavaScript bindings for the webkit engine - Interpreter" +maintainer="Juan RP " +checksum=3b5e7babd1e14793829c9d521319cbf2af9a66bea604c5dc80a9885558f00361 +long_desc=" + Seed is a library and interpreter, dynamically bridging + (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the + GNOME platform. Seed serves as something which enables you to write + standalone applications in JavaScript, or easily enable your application + to be extensible in JavaScript." + +subpackages="libseed libseed-devel" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run libseed + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build readline-devel +Add_dependency build mpfr-devel +Add_dependency build gmp-devel +Add_dependency build dbus-devel +Add_dependency build dbus-glib-devel +Add_dependency build gobject-introspection-devel +Add_dependency build webkit-gtk-devel +Add_dependency build gtk+-devel +Add_dependency build libsoup-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build glib-devel diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 05fbb7b507..ae6c5e22b0 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -612,3 +612,4 @@ libatkmm-1.6.so gtkmm gtkmm-devel libgtkmm-2.4.so gtkmm gtkmm-devel libgdkmm-2.4.so gtkmm gtkmm-devel libgksu2.so libgksu libgksu-devel +libseed.so libseed libseed-devel