Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=bmf.git;a=commitdiff;h=77a668989a8b8bed4dc29a85d0d91b492e56aed1

commit 77a668989a8b8bed4dc29a85d0d91b492e56aed1
Author: crazy <[email protected]>
Date:   Fri Dec 25 21:25:33 2015 +0100

glib2-2.46.2-4-x86_64
* rebuild with libtool workaround(s)
* disabled docs
* disable static subpackage
* ( when needed re-add in base-extra  but not as 'subpackage' thx )

diff --git a/source/base/glib2/FrugalBuild b/source/base/glib2/FrugalBuild
index 01a88b6..0f371f4 100644
--- a/source/base/glib2/FrugalBuild
+++ b/source/base/glib2/FrugalBuild
@@ -2,16 +2,16 @@
# Maintainer: Baste <[email protected]>
# Contributor: bouleetbil <[email protected]>

-USE_DOC=${USE_DOC:-"y"}
+USE_DOC=${USE_DOC:-"n"}

pkgname=glib2
pkgver=2.46.2
-pkgrel=3
+pkgrel=4
pkgdesc="Common C routines used by GTK+ and other libraries"
url="http://www.gtk.org/";
rodepends=('scriptlet-core')
-depends=('glibc>=2.22-7' 'libffi>=3.2.1' 'zlib>=1.2.8-3' 'pcre>=8.37-3' 
'elfutils>=0.164-2')
-makedepends=('libgcrypt>=1.6.1-2')
+depends=('glibc>=2.22-7' 'libffi>=3.2.1' 'zlib>=1.2.8-3' 'pcre>=8.37-4' 
'elfutils>=0.164-2')
+makedepends=('libgcrypt>=1.6.1-3')
groups=('base' 'chroot-core')
archs=('i686' 'x86_64' 'arm')
options+=('scriptlet')
@@ -20,7 +20,7 @@ _F_gnome_ext=".tar.xz"
_F_gnome_devel="n"
Finclude gnome
_F_archive_name="${_F_gnome_name}"
-Fconfopts+=" --with-pcre=system --enable-static"
+Fconfopts+=" --with-pcre=system --disable-static"
## DON'T remove nor change the debug level or it breaks again ..
source=($source \
glib2.sh \
@@ -41,33 +41,23 @@ else
Fconfopts+=" --disable-gtk-doc"
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/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
else
Frm usr/share/gtk-doc
fi

-       touch $Fdestdir/usr/lib/gio/modules/giomodule.cache || Fdie
+       Fexec touch $Fdestdir/usr/lib/gio/modules/giomodule.cache || Fdie
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

Reply via email to