10 |
DESCRIPTION="Glib2 C Utility Library." |
DESCRIPTION="Glib2 C Utility Library." |
11 |
HOMEPAGE="http://www.gtk.org/" |
HOMEPAGE="http://www.gtk.org/" |
12 |
|
|
13 |
DEPEND=">= virtual/glibc |
DEPEND=">= virtual/glibc" |
14 |
>= app-admin/gamin-0.1.10" |
SDEPEND=">= dev-util/pkgconfig-0.25" |
|
|
|
|
SDEPEND=">= dev-util/pkgconfig-0.25 |
|
|
>= sys-dev/gettext-0.18" |
|
15 |
|
|
16 |
SRCFILE="${PNAME/2/}-${PVER}.tar.bz2" |
SRCFILE="${PNAME/2/}-${PVER}.tar.bz2" |
17 |
SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME/2/}-${PVER}" |
19 |
# enable linux32 emulation for x86_64 arches |
# enable linux32 emulation for x86_64 arches |
20 |
EMUL_LINUX_32=true |
EMUL_LINUX_32=true |
21 |
|
|
22 |
sminclude multilib mtools |
MCORE_ONLY_KEEP="etc usr/$(mlibdir)/*.so usr/$(mlibdir)/*.so.*" |
23 |
|
sminclude multilib mtools mcore-split |
24 |
|
|
25 |
SRC_URI=( |
SRC_URI=( |
26 |
gnome://${PNAME/2/}/${PVER%.*}/${SRCFILE} |
gnome://${PNAME/2/}/${PVER%.*}/${SRCFILE} |
34 |
local myconf_m64 |
local myconf_m64 |
35 |
myconf_m64="--build=${CHOST}" |
myconf_m64="--build=${CHOST}" |
36 |
|
|
37 |
|
local myconf |
38 |
|
# disable fam support |
39 |
|
myconf="--disable-fam" |
40 |
|
# disable gtk-doc and man |
41 |
|
myconf+=" --disable-gtk-doc" |
42 |
|
myconf+=" --disable-man" |
43 |
|
# disable xattr |
44 |
|
myconf+=" --disable-xattr" |
45 |
|
# no native regex - disabled, splashy need regex |
46 |
|
#myconf+=" --disable-regex" |
47 |
|
# use internal regex |
48 |
|
myconf+="--with-pcre=internal --enable-regex" |
49 |
|
# no nls |
50 |
|
myconf+=" --with-libiconv=no" |
51 |
|
myconf+=" --disable-nls" |
52 |
|
|
53 |
# fix compile issues -> chost != build breaks the build |
# fix compile issues -> chost != build breaks the build |
54 |
mconfigure '$(eval echo \$myconf_${abi})' --with-threads=posix --with-pcre=internal --enable-regex --enable-fam || die |
mconfigure '$(eval echo \$myconf_${abi})' --with-threads=posix ${myconf} || die |
55 |
mmake || die |
mmake || die |
56 |
} |
} |
57 |
|
|
58 |
src_install() |
mcore_generic_src_install() |
59 |
{ |
{ |
60 |
minstall_destdir || die |
minstall_destdir || die |
61 |
|
|