diff options
Diffstat (limited to 'dev-libs/glib')
-rw-r--r-- | dev-libs/glib/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/glib/glib-2.76.2.ebuild | 26 |
2 files changed, 26 insertions, 2 deletions
diff --git a/dev-libs/glib/Manifest b/dev-libs/glib/Manifest index cc02a532161d..0c3c471dc1b3 100644 --- a/dev-libs/glib/Manifest +++ b/dev-libs/glib/Manifest @@ -4,5 +4,5 @@ DIST glib-2.76.1.tar.xz 5270936 BLAKE2B 6e6d15bda7ca6365d5f33e197cad41043f17c2f5 DIST glib-2.76.2.tar.xz 5273836 BLAKE2B db5d5e45fe4a17bade7f5bf923ac0e5541237d19146ede33b4d52f05b82e4ecb94519393f49ac3b04e17d0f56bfd5dd99b8e81ae80956cfdb5cb2396cd5ec8cc SHA512 5a99723d72ae987999bdf3eac4f3cabe2e014616038f2006e84060b97d6d290b7d44a20d700e9c0f4572a6defed56169f624bcd21b0337f32832b311aa2737e6 EBUILD glib-2.74.6.ebuild 10207 BLAKE2B fa9a0da4af627fb0c291de5eb3d4de5e960bdcc22f63b5d9a185e39940c938623ad27d01c3747998a9a840d46c91d4ca9fb91809565c86c7861afb235e5bbcba SHA512 8e45dd1b4cf6d4ae1bd353cf7dfce691e72cb59ec01e002871a57c9959a407895dfa885a1c75aee2367659e82bd8a3528188ee7c9daeb98e53543503a225ca06 EBUILD glib-2.76.1.ebuild 10039 BLAKE2B 7987d29244a3f859b58a491f88ddb9e7a2084a5a7cfe5265e1c8c3e8858c6aa04b54b14b92976f6b2fa8e62f6e95e91d53a1a7621cd8bc32276b789c20f0f9c7 SHA512 4869c51a863cce8964cfc5d928aa5362a9ced88c94b499108397d740b1597e2c57024baf41544a16e149d515177212bd465502940437636a684719d968ee3c59 -EBUILD glib-2.76.2.ebuild 10031 BLAKE2B 45f7a1b5db4a8cb1a5704f03878317c5a6476b3e269f86b47b7dcd74b050958b53bdd83d7aa1d786775ca934dcd73f41a166e0c3110e8f22a21ffcd96570b58f SHA512 07fa58a307c636d563725c61af51ce90307be6cb40eee88c428df3188cd79c74b690f33385f242a1c0d26f126de6f58dab7eb16243c27468c3b68ea0942f639c +EBUILD glib-2.76.2.ebuild 10796 BLAKE2B 811fc63cdb87904551e70109d0b97f98e66ddbbb34919fe6289e93f4ad4643e4f1af41d31cba55ede2797632f772f33c177d509c58f6615e642cb391952a769d SHA512 1ca5903ad680c8d664f3ace9c8688afbc4fa51ae93d83f915a8c44732855dea4bb1663236aa90a1ec920d88bf1f3045d5843b33d3f93d5fa9acf633f49f313c2 MISC metadata.xml 1357 BLAKE2B c9236f5cdb72931175f757cd7b713d924655cbbdbba9a45479564a2fb8f73b490923d62b69e84568dcd8cd47df32f9fa1dd51481c332a85713c17ce6f6af5109 SHA512 6fc9c503e81c78e21904f74cedb9dbce10194b7acaecf3f17098749e33ca2513a96a53142bc8c1d9d196e48d62b8752956c30d4813ac34d0616cdf13de37b33b diff --git a/dev-libs/glib/glib-2.76.2.ebuild b/dev-libs/glib/glib-2.76.2.ebuild index 82c17d96b107..6bc394bd8bb9 100644 --- a/dev-libs/glib/glib-2.76.2.ebuild +++ b/dev-libs/glib/glib-2.76.2.ebuild @@ -16,7 +16,7 @@ IUSE="dbus debug +elf gtk-doc +mime selinux static-libs sysprof systemtap test u RESTRICT="!test? ( test )" REQUIRED_USE="gtk-doc? ( test )" # Bug #777636 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # * elfutils (via libelf) does not build on Windows. gresources are not embedded # within ELF binaries on that platform anyway and inspecting ELF binaries from @@ -131,6 +131,30 @@ src_prepare() { chmod a+x "${T}/glib-test-ld-wrapper" || die sed -i -e "s|'ld'|'${T}/glib-test-ld-wrapper'|g" gio/tests/meson.build || die + # make default sane for us + if use prefix ; then + sed -i -e "s:/usr/local:${EPREFIX}/usr:" gio/xdgmime/xdgmime.c || die + # bug #308609, without path, bug #314057 + export PERL=perl + fi + + if [[ ${CHOST} == *-solaris* ]] ; then + # fix standards conflicts + sed -i \ + -e 's/\<\(_XOPEN_SOURCE_EXTENDED\)\>/_POSIX_PTHREAD_SEMANTICS/' \ + -e '/\<_XOPEN_SOURCE\>/s/\<2\>/600/' \ + meson.build || die + sed -i -e '/#define\s\+_POSIX_SOURCE/d' \ + glib/giounix.c || die + fi + + # disable native macOS integrations + sed -i -e '/glib_conf.set(.HAVE_\(CARBON\|COCOA\).)/s/true/false/' \ + meson.build || die + sed -i \ + -e '/AvailabilityMacros.h/d' \ + gio/giomodule.c || die + default gnome2_environment_reset # TODO: python_name sedding for correct python shebang? Might be relevant mainly for glib-utils only |