Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=341de97fb84524accfccd92fe4920d9c75511903
commit 341de97fb84524accfccd92fe4920d9c75511903 Author: DeX77 <[email protected]> Date: Sat Feb 21 18:50:35 2015 +0100 glib2-2.40.2-3-x86_64 * relbump + added missing depend to gamin + added static subpackage diff --git a/source/base/glib2/FrugalBuild b/source/base/glib2/FrugalBuild index 58c1173..a0e38de 100644 --- a/source/base/glib2/FrugalBuild +++ b/source/base/glib2/FrugalBuild @@ -8,11 +8,11 @@ USE_DOC=${USE_DOC:-"y"} pkgname=glib2 pkgver=2.40.2 -pkgrel=2 +pkgrel=3 pkgdesc="Common C routines used by GTK+ and other libraries" url="http://www.gtk.org/" rodepends=('scriptlet-core') -depends=('glibc>=2.9-2' 'libffi' 'zlib' 'pcre') +depends=('glibc>=2.9-2' 'libffi' 'zlib' 'pcre' 'gamin') makedepends=('libgcrypt>=1.6.1') groups=('base' 'chroot-core') archs=('i686' 'x86_64' 'arm') @@ -22,8 +22,7 @@ _F_gnome_ext=".tar.xz" _F_gnome_devel="n" Finclude gnome _F_archive_name="${_F_gnome_name}" -#Fconfopts+=" --disable-static --with-pcre=system" -Fconfopts+=" --with-pcre=system" +Fconfopts+=" --with-pcre=system --enable-static" ## DON'T remove nor change the debug level or it breaks again .. source=($source \ glib2.sh \ @@ -41,10 +40,23 @@ if Fuse $USE_DOC; then subarchs=('i686 x86_64') fi +subpkgs=("${subpkgs[@]}" "$pkgname-static") +subdescs=("${subdescs[@]}" 'Common C routines used by GTK+ and other libraries static version') +subgroups=("${subgroups[@]}" 'base-extra') +subarchs=("${subarchs[@]}" 'i686 x86_64 arm') + build() { Fcd Fbuild + + Fsplit $pkgname-static /usr/lib/gio/modules/libgiofam.a + Fsplit $pkgname-static /usr/lib/libgio-2.0.a + Fsplit $pkgname-static /usr/lib/libglib-2.0.a + Fsplit $pkgname-static /usr/lib/libgmodule-2.0.a + Fsplit $pkgname-static /usr/lib/libgobject-2.0.a + Fsplit $pkgname-static /usr/lib/libgthread-2.0.a + if Fuse $USE_DOC; then Fsplit $pkgname-docs usr/share/gtk-doc fi @@ -52,6 +64,7 @@ build() Fmkdir etc/profile.d Fexe glib2.sh etc/profile.d/ Fexe glib2.csh etc/profile.d/ + } # optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
