diff options
Diffstat (limited to 'dev-libs/gobject-introspection')
4 files changed, 159 insertions, 0 deletions
diff --git a/dev-libs/gobject-introspection/Manifest b/dev-libs/gobject-introspection/Manifest new file mode 100644 index 000000000000..9877b11bb0f4 --- /dev/null +++ b/dev-libs/gobject-introspection/Manifest @@ -0,0 +1,7 @@ +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 +EBUILD gobject-introspection-1.50.0.ebuild 2095 SHA256 14ae44df297c1852980dc11ee9fe956cc86cbf70b7d13cc2d4e5ec1d7ee36289 SHA512 c65cffdbae089ce2c106fbc3749271546d9ae963672097711119a06ec79544f0e1ec6ad26894dfdb53be30ff1802e775d6d27f4c6e3da647a0597c3cb0822ea2 WHIRLPOOL 001eba966bf4a0500231bc5f6152f89ed922691ab78f105a99f0db73b8d4e5998aad90e0268ea1b3c31a4362317b008f498fbe7318ad0bdb48fa0b2ed4a5a7ef +EBUILD gobject-introspection-1.52.1.ebuild 2108 SHA256 09c3e39b46bb525f4627bb04840d9a76b44404df7b3c940a0e079f359e31f090 SHA512 4b66bfac6b53ae55d8ab4561ebac77aab96366060bb8edcce80104e1fa1d16350f01164b945fd37e3e4b6235105b66ce49d214046f0499b39804fe67b369ea61 WHIRLPOOL 10146867fd44e9f83f4141cfde6b559fce61f88bffa1b84bedf8a02dc6dea7cb6b5e57f7dadf6cdd7941293665d57fa951d7cae5b02ddf8b42c9858c30afec3a +MISC ChangeLog 7797 SHA256 48ed34778c750860e306165cbaafe29e7bf92c18b51d48d2ecd807fadb0553c0 SHA512 e57b93d3b49da270dd4d231995c1884bdf857bd9c76e1f85ca42cbf94d49d5bc8f365a090cc6b9d56d37137191cdd2f3cfc0b677c76ab712e2d4cb9ece38e185 WHIRLPOOL d2983d6880fcfa56872aab3f7685597db743305b609f979afd57caadcea35030f7a70c0557a057cf4e424f0199f3c347f1c2dec4c04c10bfa1e80ab7b2d86c9c +MISC ChangeLog-2015 25637 SHA256 37dc33e6327fdeb51ffd4135a1bdb38eb86946b0b95cb18421c1d4fbf2b0b696 SHA512 76363c2f3c07aa65ab87e5a97e739e7c8145beb53f5e48c98ab1e6217c739ad9dccea7dcd443c808bc0da6898b5ebc42f8f41677ebf9b5c7b74887026a6d04c9 WHIRLPOOL 60c7e2d89106c0354d3443844f23511246ae8f0a81d7ede302482a32df4378d842c527dfb00a6ca96366d8b2b2c5ce2986452128f964587daa744983d6b52187 +MISC metadata.xml 367 SHA256 a2705912146f2e2b76ed88a715be46533f36dfb5e71cca94aba6dfa8eef5fec4 SHA512 1430924bf7430f4a409d6c3335a52b59567d5972440068e53e637d6c71486ef3e606ed9043184dfc168d731909e11c769042d2846e137312cd0ee0ce6f52e431 WHIRLPOOL 05d0effeddcc840007338bce27d2d9ff4639581a00bf60dd93c4ee6a8c75c3f3cfe281a0ccc0ccdd6ccf7185b17eb99b85f36f4e4ae66d9655df176a02cbaeea diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild new file mode 100644 index 000000000000..a0d69d3fade5 --- /dev/null +++ b/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild @@ -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[${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 +" +# 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 +} diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.52.1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-1.52.1.ebuild new file mode 100644 index 000000000000..82655e485f7a --- /dev/null +++ b/dev-libs/gobject-introspection/gobject-introspection-1.52.1.ebuild @@ -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,3_6} ) +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[${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 +" +# 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 +} diff --git a/dev-libs/gobject-introspection/metadata.xml b/dev-libs/gobject-introspection/metadata.xml new file mode 100644 index 000000000000..ed75a827c8a9 --- /dev/null +++ b/dev-libs/gobject-introspection/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>gnome@gentoo.org</email> + <name>Gentoo GNOME Desktop</name> +</maintainer> +<use> + <flag name="doctool">Install g-ir-doc-tool for generating documentation + from introspected data</flag> +</use> +</pkgmetadata> |