forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-libs/gobject-introspection: bump to 1.52.1
Package-Manager: Portage-2.3.5, Repoman-2.3.2
- Loading branch information
Showing
2 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
DIST gobject-introspection-1.48.0.tar.xz 1371308 SHA256 fa275aaccdbfc91ec0bc9a6fd0562051acdba731e7d584b64a277fec60e75877 SHA512 62b23fd94e19fd7f1557c8bdd045b4ec19b9a39c55ec4b4a75b817fc97f936c6fdbf89fa3ad09ffa707afb542b1c644b718ccaaefe194f681ad40c08d5c53975 WHIRLPOOL c284623cf5b0f6edc4d543fbbbc6b31b2e5ceb119b2fb4da1dbb052673ba79eeadba997f34fcd191f42e320cbd697733986d96ef3c4d8655765d7e586f7dbd54 | ||
DIST gobject-introspection-1.50.0.tar.xz 1415700 SHA256 1c6597c666f543c70ef3d7c893ab052968afae620efdc080c36657f4226337c5 SHA512 cb108cf3d49743e1686fe4ae99f2360799bc8825ad97bf0b97e097b3f89e2771079593de0f497a9e5b9cff892f6fbf870834a6c4d13f11bcde99162e9388ecfa WHIRLPOOL 6147c2608c911020800471c30e6c754385efd61fe9f875bb7fad7d161e73cb857fa37c810e66bf0cf16a43aca1ecf6d2e46a6cde90800970f303c7721fdc5edb | ||
DIST gobject-introspection-1.52.1.tar.xz 1384292 SHA256 2ed0c38d52fe1aa6fc4def0c868fe481cb87b532fc694756b26d6cfab29faff4 SHA512 878653ffa80c064c73453ea2878a977e52f0d6a0b2123bee8c3429379366f9da3e9fd991fad0dda170d74e4241314ea6c5120f5988e68fad4bfe9c333d11389f WHIRLPOOL 7489998d8ee9bcfbd576cf7d2e84e9bf9f531ef43bad5685c21433189dc93d815e0faff5ad8c01bc0475618eae92732ad8aadaca7f997f75b2144cb966dd1cc5 |
70 changes: 70 additions & 0 deletions
70
dev-libs/gobject-introspection/gobject-introspection-1.52.1.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Copyright 1999-2017 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=6 | ||
PYTHON_COMPAT=( python{2_7,3_4,3_5} ) | ||
PYTHON_REQ_USE="xml" | ||
|
||
inherit gnome2 python-single-r1 toolchain-funcs versionator | ||
|
||
DESCRIPTION="Introspection system for GObject-based libraries" | ||
HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection" | ||
|
||
LICENSE="LGPL-2+ GPL-2+" | ||
SLOT="0" | ||
IUSE="cairo doctool test" | ||
REQUIRED_USE=" | ||
${PYTHON_REQUIRED_USE} | ||
test? ( cairo ) | ||
" | ||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" | ||
|
||
# virtual/pkgconfig needed at runtime, bug #505408 | ||
# We force glib and g-i to be in sync by this way as explained in bug #518424 | ||
RDEPEND=" | ||
>=dev-libs/gobject-introspection-common-${PV} | ||
>=dev-libs/glib-2.$(get_version_component_range 2):2 | ||
doctool? ( dev-python/mako ) | ||
virtual/libffi:= | ||
virtual/pkgconfig | ||
!<dev-lang/vala-0.20.0 | ||
${PYTHON_DEPS} | ||
" | ||
# Wants real bison, not virtual/yacc | ||
DEPEND="${RDEPEND} | ||
>=dev-util/gtk-doc-am-1.19 | ||
sys-devel/bison | ||
sys-devel/flex | ||
" | ||
# PDEPEND to avoid circular dependencies, bug #391213 | ||
PDEPEND="cairo? ( x11-libs/cairo[glib] )" | ||
|
||
pkg_setup() { | ||
python-single-r1_pkg_setup | ||
} | ||
|
||
src_configure() { | ||
if ! has_version "x11-libs/cairo[glib]"; then | ||
# Bug #391213: enable cairo-gobject support even if it's not installed | ||
# We only PDEPEND on cairo to avoid circular dependencies | ||
export CAIRO_LIBS="-lcairo -lcairo-gobject" | ||
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo" | ||
fi | ||
|
||
# To prevent crosscompiling problems, bug #414105 | ||
gnome2_src_configure \ | ||
--disable-static \ | ||
CC="$(tc-getCC)" \ | ||
YACC="$(type -p yacc)" \ | ||
$(use_with cairo) \ | ||
$(use_enable doctool) | ||
} | ||
|
||
src_install() { | ||
gnome2_src_install | ||
|
||
# Prevent collision with gobject-introspection-common | ||
rm -v "${ED}"usr/share/aclocal/introspection.m4 \ | ||
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die | ||
rmdir "${ED}"usr/share/aclocal || die | ||
} |