diff --git a/srcpkgs/gir-peas b/srcpkgs/gir-peas new file mode 120000 index 00000000000..f72cdee3a8d --- /dev/null +++ b/srcpkgs/gir-peas @@ -0,0 +1 @@ +libpeas \ No newline at end of file diff --git a/srcpkgs/libpeas-devel b/srcpkgs/libpeas-devel new file mode 120000 index 00000000000..f72cdee3a8d --- /dev/null +++ b/srcpkgs/libpeas-devel @@ -0,0 +1 @@ +libpeas \ No newline at end of file diff --git a/srcpkgs/libpeas/depends b/srcpkgs/libpeas/depends new file mode 100644 index 00000000000..b3f4f752a0c --- /dev/null +++ b/srcpkgs/libpeas/depends @@ -0,0 +1,2 @@ +abi_depends=">=0.7.3" +api_depends="${abi_depends}" diff --git a/srcpkgs/libpeas/gir-peas.template b/srcpkgs/libpeas/gir-peas.template new file mode 100644 index 00000000000..7ed2e87f357 --- /dev/null +++ b/srcpkgs/libpeas/gir-peas.template @@ -0,0 +1,12 @@ +# Template file for 'gir-peas'. +# +short_desc="Introspection data for the Peas library" +long_desc="${long_desc} + + This package contains small pieces of introspection data for the Peas library." + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/girepository-1.0 ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libpeas/libpeas-devel.template b/srcpkgs/libpeas/libpeas-devel.template new file mode 100644 index 00000000000..2c5c5b72a3a --- /dev/null +++ b/srcpkgs/libpeas/libpeas-devel.template @@ -0,0 +1,43 @@ +# Template file for 'libpeas-devel'. +# +short_desc="${sourcepkg} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run libffi +Add_dependency run libgirepository +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 +Add_dependency run pkg-config +Add_dependency run intltool +Add_dependency run glib-devel +Add_dependency run libffi-devel +Add_dependency run python-devel +Add_dependency run libgirepository-devel +Add_dependency run atk-devel +Add_dependency run pango-devel +Add_dependency run gdk-pixbuf-devel +Add_dependency run libpng-devel +Add_dependency run cairo-devel +Add_dependency run freetype-devel +Add_dependency run fontconfig-devel +Add_dependency run gtk+3-devel +Add_dependency run libpeas + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,share} + mv ${SRCPKGDESTDIR}/usr/{bin,include} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/{peas-demo,pkgconfig} ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/share/{gir*,gtk-doc} ${DESTDIR}/usr/share + +} diff --git a/srcpkgs/libpeas/template b/srcpkgs/libpeas/template new file mode 100644 index 00000000000..d89dc6932dc --- /dev/null +++ b/srcpkgs/libpeas/template @@ -0,0 +1,51 @@ +# Template file for 'libpeas' +pkgname=libpeas +version=0.7.3 +distfiles="${GNOME_SITE}/$pkgname/0.7/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--localstatedir=/var" +short_desc="Gobject-based plugins engine" +maintainer="Juan RP " +checksum=09951523086f34e156fdc4c13818bf3dd0ddea21e17ac01372089363bbf45fbe +long_desc=" + libpeas is a gobject-based plugins engine, and is targetted at giving every + application the chance to assume its own extensibility. It is currently used by + several Gnome applications like gedit and Totem. + + It takes its roots in the old gedit plugins engine, and provides an extensive set + of features mirroring the desiderata of most of the applications providing an + extension framework." + +subpackages="gir-peas $pkgname-devel" +gtk_iconcache_dirs="/usr/share/icons/hicolor" + +Add_dependency run glibc +Add_dependency run glib +Add_dependency run libffi +Add_dependency run python +Add_dependency run libgirepository +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 + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build glib-devel +Add_dependency build libffi-devel +Add_dependency build python-devel +Add_dependency build libgirepository-devel +Add_dependency build atk-devel +Add_dependency build pango-devel +Add_dependency build gdk-pixbuf-devel +Add_dependency build libpng-devel +Add_dependency build cairo-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build gtk+3-devel + +Add_dependency full hicolor-icon-theme diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index 63424ee93a7..d2367287578 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -776,3 +776,5 @@ libbrasero-media3.so brasero brasero-devel libbrasero-utils3.so brasero brasero-devel libXss.so libXScrnSaver libXScrnSaver-devel libyelp.so yelp yelp-devel +libpeas-1.0.so libpeas libpeas-devel +libpeas-gtk-1.0.so libpeas libpeas-devel