From 558ad762801acdee92229147c01abad3dcb81587 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 20 Nov 2010 16:10:56 +0100 Subject: [PATCH] Added glade3-3.6.7 build template. --- srcpkgs/glade3-devel | 1 + srcpkgs/glade3/depends | 2 + srcpkgs/glade3/glade3-devel.template | 32 ++++++++++++++ srcpkgs/glade3/libgladeui.template | 25 +++++++++++ srcpkgs/glade3/template | 55 ++++++++++++++++++++++++ srcpkgs/libgladeui | 1 + xbps-src/common/mapping_shlib_binpkg.txt | 1 + 7 files changed, 117 insertions(+) create mode 120000 srcpkgs/glade3-devel create mode 100644 srcpkgs/glade3/depends create mode 100644 srcpkgs/glade3/glade3-devel.template create mode 100644 srcpkgs/glade3/libgladeui.template create mode 100644 srcpkgs/glade3/template create mode 120000 srcpkgs/libgladeui diff --git a/srcpkgs/glade3-devel b/srcpkgs/glade3-devel new file mode 120000 index 0000000000..9888daa0ca --- /dev/null +++ b/srcpkgs/glade3-devel @@ -0,0 +1 @@ +glade3 \ No newline at end of file diff --git a/srcpkgs/glade3/depends b/srcpkgs/glade3/depends new file mode 100644 index 0000000000..50ef8d1544 --- /dev/null +++ b/srcpkgs/glade3/depends @@ -0,0 +1,2 @@ +abi_depends=">=3.6.7" +api_depends="${abi_depends}" diff --git a/srcpkgs/glade3/glade3-devel.template b/srcpkgs/glade3/glade3-devel.template new file mode 100644 index 0000000000..548ad4136c --- /dev/null +++ b/srcpkgs/glade3/glade3-devel.template @@ -0,0 +1,32 @@ +# Template file for 'glade3-devel'. +# +short_desc="${short_desc} - 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 python-devel +Add_dependency run gtk+-devel +Add_dependency run atk-devel +Add_dependency run glib-devel +Add_dependency run pango-devel +Add_dependency run gdk-pixbuf-devel +Add_dependency run cairo-devel +Add_dependency run libpng-devel +Add_dependency run freetype-devel +Add_dependency run fontconfig-devel +Add_dependency run libxml2-devel +Add_dependency run pygtk-devel +Add_dependency run glade3 + +do_install() +{ + mkdir -p ${DESTDIR}/usr/{lib,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/gtk-doc ${DESTDIR}/usr/share +} diff --git a/srcpkgs/glade3/libgladeui.template b/srcpkgs/glade3/libgladeui.template new file mode 100644 index 0000000000..bcf551a3db --- /dev/null +++ b/srcpkgs/glade3/libgladeui.template @@ -0,0 +1,25 @@ +# Template file for 'libgladeui'. +# +short_desc="GTK+ User Interface Build core library" +long_desc="${long_desc} + + This library provides all the widgets and core code, like parsing and + saving files." + +Add_dependency run glibc +Add_dependency run atk +Add_dependency run glib +Add_dependency run pango +Add_dependency run gdk-pixbuf +Add_dependency run cairo +Add_dependency run libpng +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run libxml2 +Add_dependency run gtk+ + +do_install() +{ + install -d ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so* ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/glade3/template b/srcpkgs/glade3/template new file mode 100644 index 0000000000..327f0e7f72 --- /dev/null +++ b/srcpkgs/glade3/template @@ -0,0 +1,55 @@ +# Template build file for 'glade3'. +pkgname=glade3 +version=3.6.7 +distfiles="${GNOME_SITE}/${pkgname}/3.6/$pkgname-$version.tar.bz2" +build_style=gnu_configure +configure_args="--disable-gnome --disable-scrollkeeper" +short_desc="A User Interface Designer for GTK+" +maintainer="Juan RP " +checksum=117905d5b52781e0ffa861e38f47acda0e6bff992c5015408be74a7669769f81 +long_desc=" + Glade is a RAD tool to enable quick & easy development of user interfaces + for the GTK+ toolkit and the GNOME desktop environment. + + The user interfaces designed in Glade are saved as XML, and by using the + GtkBuilder GTK+ object these can be loaded by applications dynamically as + needed. + + By using GtkBuilder, Glade XML files can be used in numerous programming + languages including C, C++, C#, Vala, Java, Perl, Python and others." + +subpackages="libgladeui $pkgname-devel" +gtk_iconcache_dirs="/usr/share/icons/hicolor" + +Add_dependency run glibc +Add_dependency run python +Add_dependency run gtk+ +Add_dependency run atk +Add_dependency run glib +Add_dependency run pango +Add_dependency run gdk-pixbuf +Add_dependency run cairo +Add_dependency run libpng +Add_dependency run freetype +Add_dependency run fontconfig +Add_dependency run libxml2 +Add_dependency run pygtk +Add_dependency run libgladeui + +Add_dependency build pkg-config +Add_dependency build intltool +Add_dependency build python-devel +Add_dependency build gtk+-devel +Add_dependency build atk-devel +Add_dependency build glib-devel +Add_dependency build pango-devel +Add_dependency build gdk-pixbuf-devel +Add_dependency build cairo-devel +Add_dependency build libpng-devel +Add_dependency build freetype-devel +Add_dependency build fontconfig-devel +Add_dependency build libxml2-devel +Add_dependency build pygtk-devel + +Add_dependency full hicolor-icon-theme +Add_dependency full desktop-file-utils diff --git a/srcpkgs/libgladeui b/srcpkgs/libgladeui new file mode 120000 index 0000000000..9888daa0ca --- /dev/null +++ b/srcpkgs/libgladeui @@ -0,0 +1 @@ +glade3 \ No newline at end of file diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index a3b3d6c389..e01e8997ac 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -703,3 +703,4 @@ liborc-test-0.4.so orc orc-devel libgmime-2.4.so gmime gmime-devel libtotem-plparser.so.17 totem-pl-parser totem-pl-parser-devel libtotem-plparser-mini.so.17 totem-pl-parser totem-pl-parser-devel +libgladeui-1.so libgladeui glade3-devel