diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-15 17:37:09 +0100 |
commit | 586819755b4dbfdffdc8a725ab7c0f86095b8489 (patch) | |
tree | d6790c838cfe9607c996e4913fdf11bad5fdd528 /dev-libs/gobject-introspection | |
parent | 3f71901f8c228f4de570abed1831ce3ee425343e (diff) |
gentoo resync : 15.09.2018
Diffstat (limited to 'dev-libs/gobject-introspection')
-rw-r--r-- | dev-libs/gobject-introspection/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/gobject-introspection/gobject-introspection-1.56.1.ebuild | 71 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest index 275d8feacd97..599b3925dbcb 100644 --- a/dev-libs/gobject-introspection/Manifest +++ b/dev-libs/gobject-introspection/Manifest @@ -1,5 +1,7 @@ DIST gobject-introspection-1.50.0.tar.xz 1415700 BLAKE2B 7707d0affc35e60d272312debd429a96a578cc6ea4e889244a0a1dc34f23e3b686cea06076427575fa620f570141e173990ed12649cb669808141dab1fdffb19 SHA512 cb108cf3d49743e1686fe4ae99f2360799bc8825ad97bf0b97e097b3f89e2771079593de0f497a9e5b9cff892f6fbf870834a6c4d13f11bcde99162e9388ecfa DIST gobject-introspection-1.52.1.tar.xz 1384292 BLAKE2B e1176bff177d7b6deee3e93159425a176d8056fbac2af5038950b7bc4486785ca988fc4c8c4d6a069b2bf623092e57f096aea37bbb9a767adaa695ec8f0db4e6 SHA512 878653ffa80c064c73453ea2878a977e52f0d6a0b2123bee8c3429379366f9da3e9fd991fad0dda170d74e4241314ea6c5120f5988e68fad4bfe9c333d11389f +DIST gobject-introspection-1.56.1.tar.xz 1397812 BLAKE2B 070597f3bd6e4e58d1ae1964cf6e8d7881daa68aeeddc5e9b64bc410fad6d435f2041171f4dfc2a6b477d39f2d7e9181b9917d1244fcb45b3a37491726381649 SHA512 2bfcd45b8c5ad68a3f6550c2f80a6804db0e1a72ffaf4fdd3cec3d8acc23e79ad14bb5bf612fe26fc896691839ab19ca8dd1c9994db14d730e56fa79df9d973d EBUILD gobject-introspection-1.50.0.ebuild 2081 BLAKE2B 2a42307c51587ad61e972d3d68157abd585535fdef31dd049290a6a6910b6e0f5c9bce0ddf0a64e085d8388559ae3cc522993cb620ebe3a4f56d062d1bf4d518 SHA512 75202082c2ba498db9433d772822a44544c78aa67692274325b123744d6ebb73fb6a58169f6d7ce9253972836fa97dd36b8ea01c2a9fcd83a83025ef853c116c EBUILD gobject-introspection-1.52.1.ebuild 2092 BLAKE2B d442af8ead29ef58a66bee45888b03af487ba7af6497703c1d5519d6ef14a7dfc063acf6ea10294597a3ad85dc4f8fbfd4dbc1c80cca5840959f2395ce76f0ea SHA512 6146e60515db67590400d53d9204d4f6d5a396dad583b48e0ce05c3c7237784dc292d039be371ca879d42235cefa2b22043a44c8eae368d56b9e71b68ac60c6c +EBUILD gobject-introspection-1.56.1.ebuild 2141 BLAKE2B d440c341c6355edd8d37a4451c933b612c97988ff3501b9a2a7f199e90914eda4ef49496c2baff0b52ea1acb5165a17f5606b63b4fe9fc8516148510154fc561 SHA512 3d0f4f219a70aa9e78c054126b7bb8bdfacf9604940d7b8a6af09f0d635442f6b6df5725f76dd35df71821ca26b26e2101fc13246472303686d726bb062a3fc4 MISC metadata.xml 367 BLAKE2B b69aefd2ddda2f8e216d449de9ca13a5a8c473353b291bc5093ec2f6f3ac3346dc9fa25c85a64f15950813d9d6dfafd356a234c748436edb7639f37e95c71151 SHA512 1430924bf7430f4a409d6c3335a52b59567d5972440068e53e637d6c71486ef3e606ed9043184dfc168d731909e11c769042d2846e137312cd0ee0ce6f52e431 diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.56.1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.56.1.ebuild new file mode 100644 index 000000000000..2732536a49a6 --- /dev/null +++ b/dev-libs/gobject-introspection/gobject-introspection-1.56.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6,3_7} ) +PYTHON_REQ_USE="xml" + +inherit gnome2 python-single-r1 toolchain-funcs + +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 ~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.56.1:2 + doctool? ( dev-python/mako[${PYTHON_USEDEP}] ) + 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 + test? ( x11-libs/cairo[glib] ) +" +# PDEPEND to avoid circular dependencies, bug #391213; but needed for tests, thus test DEPEND as well +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 +} |