diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/libappindicator |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libappindicator')
6 files changed, 261 insertions, 0 deletions
diff --git a/dev-libs/libappindicator/Manifest b/dev-libs/libappindicator/Manifest new file mode 100644 index 000000000000..a7c4ca2bd2f7 --- /dev/null +++ b/dev-libs/libappindicator/Manifest @@ -0,0 +1,8 @@ +AUX libappindicator-12.10.0-conditional-py-bindings.patch 2019 SHA256 40dc073f3825ff53ae16e3e37411bde2b70a9d9b89f8e8c85885e779b32d7260 SHA512 69d86a3d1e930a0f0c79091dba9691610ecb0fcf13c672fc0ff511bb764b7f74f6c42cab558b6412863a8353fe9a8d72c40419db873fdc4716a93ba3bbbd0aea WHIRLPOOL 3fdb70b4a67d32dcd3780cdeb4688b036c33607945ee6b64932a29ed4db1ad9efbce8792f2e89b10be34007d8b554b7dcfaa6e972e785a77607f2d435cb3caf9 +AUX libappindicator-12.10.0-vala-inherit.patch 561 SHA256 77635b7b5bc0686577a191e0ac78dcfba79f5e5695b6b72cae7c412e59bc736d SHA512 b021bc0ec7fc1b311add7d6f8a9018fa6f5e807168055c95440e5f5d3d6d5b48375e11542b906058a0786194b1911c8bdcab9632573c1f128772ff6d54aa9173 WHIRLPOOL 3ad42ee4799fad11fcbe8ff1e10dbaf708bdc89149368b12dc5a94a17f27510f87644ffa3f4b31f5954c24693ab41bf3356b71a3d0feb6b51d68ee99d19fe8db +DIST libappindicator-12.10.0.tar.gz 535562 SHA256 d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f SHA512 317a22a23c8ed84e74207b64b2e9683992d1fb7208176637a051dfe925974f966d1cfa31e650b45eaf839ab61641dee8fbebc8a07882a09b0dd766d88b8d5b9a WHIRLPOOL fdf1d3afbe82d287da688295e6f999656a4dd8e0a1c75aeffa9fd83c69b97cfd37e682f0ca4aff42d30e99b0add8a9e75f870d8a6a72e5337e1afd67ffe618eb +EBUILD libappindicator-12.10.0-r201.ebuild 2200 SHA256 f23d69ff81cb31702d6d453fe1704bc8c3ecf9e205e06f1aff61894be018adce SHA512 857d7e8283ab0701df9ef5f91285ca183de65966581ece8567d7ff290de6069e44f5ad756eac3e87f1c5b622ff45c15ecbddc3d32db804c46162ef2a09779892 WHIRLPOOL 55efa5d02c276fd4e843e0195e3a4cac432b9efbf20c21bb980038a07c136d29bc6c68fe90acd550b25113ca1c98fe8e41ff82d31b56a5ba06ea1e594e57ae7e +EBUILD libappindicator-12.10.0-r301.ebuild 1876 SHA256 c39418a18eeb56704f56cc6e3370a7384533c0b835d34fc2f3f8f319a7cbba65 SHA512 d210fda05de10bf9b4fb04ead61659f162f4dd152219249a8c43422979c6b2ad58b61d6c0e382e11c26aecbcd53f9ac0c64dae0b27821be04caca62b841b1e71 WHIRLPOOL 767373704fe6538266700994cbb72c2a4866b1b925a8367717042b9c14bd421c9dea8e9acdce22fbe44da159dcf09297bfd85ed9bec4985053ec4888ffcc2526 +MISC ChangeLog 5535 SHA256 b76d49d1b6f9772b76cf4a43cc063f3c045df020dadd6a95c1f353b93e1f6c67 SHA512 16c7b9fc64bfee44e36714179763e18dda3754c1cff16c00b4b2b53c62149cd052efcef8673e131f4da123c5eaa4312f9abe4aea48656b88151b41cbb312bd7d WHIRLPOOL acec392dd12e31371c709f939bfbeb59c31c25dcc0c0edb0dec16b1474204bd8dfd5004912ce4cbb8a10d69cf954c20212b4fad35de765129cd21b8d5ec74f56 +MISC ChangeLog-2015 4221 SHA256 7723dea79768bd308537e12022dfcc4f7f91352a4ecadfe2c6065fb4dd5f6a42 SHA512 6bb70e687ec1432555922d0bc793bd8bb18c8026e13964f6e4d966d554f0db320645926a030e8ee0ef7050ffaa3ef9ed079a339cb2df63804123ed26179e474c WHIRLPOOL b13916b04c0c12d9033d64be4465d2043db488456b09bcb9058354260a80c9e4c1ca40f9384cad64527834524225d2e24681a90eeb0d846245e1d2cfb6012cb8 +MISC metadata.xml 250 SHA256 079ab62d4a42815574b539ac456672153f69c6cabeab682443b8f5af47a3e8ca SHA512 161da1b732e0f23b06e0732db24f27cb486e7c673e8585d2f6403dc23147b56b5a64dd09978e3dd2db20e9e6a462daf50fe8bc73774d52445d1f6549d82104e0 WHIRLPOOL ce012474d2564090374a0ad62e27a3636203a317810e63637b8675aa418b44ffd69067245b497098dc2071eedefd9a50d047f4795989fe408caa7f9d33bd457c diff --git a/dev-libs/libappindicator/files/libappindicator-12.10.0-conditional-py-bindings.patch b/dev-libs/libappindicator/files/libappindicator-12.10.0-conditional-py-bindings.patch new file mode 100644 index 000000000000..c916d9ba2cf6 --- /dev/null +++ b/dev-libs/libappindicator/files/libappindicator-12.10.0-conditional-py-bindings.patch @@ -0,0 +1,72 @@ +--- a/bindings/Makefile.am 2015-07-10 10:04:18.091199191 +0200 ++++ b/bindings/Makefile.am 2015-07-10 10:19:47.047974439 +0200 +@@ -3,8 +3,10 @@ + vala + else + SUBDIRS = \ +- python \ + vala ++if HAS_PYTHON ++SUBDIRS += python ++endif + endif + + if HAS_MONO +--- a/configure.ac 2015-07-16 13:28:41.007502838 +0200 ++++ b/configure.ac_new 2015-07-16 13:53:18.118602877 +0200 +@@ -188,25 +188,37 @@ + PYGTK_REQUIRED=2.14.0 + PYGOBJECT_REQUIRED=0.22 + +-AM_PATH_PYTHON(2.3.5) +-AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) ++AC_ARG_ENABLE([python], ++ AC_HELP_STRING([--enable-python], [Enable python for GTK2 build]),, ++ [enable_python=yes]) + +-PKG_CHECK_MODULES(APPINDICATOR_PYTHON, ++if test x"$with_gtk" = x"3" ; then ++ enable_python=no ++fi ++ ++AM_CONDITIONAL(HAS_PYTHON, test x"${enable_python}" != x"no") ++ ++if test x"$enable_python" != x"no" ; then ++ AM_PATH_PYTHON(2.3.5) ++ AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)]) ++ ++ PKG_CHECK_MODULES(APPINDICATOR_PYTHON, + [ + pygtk-2.0 >= $PYGTK_REQUIRED + gtk+-2.0 >= $GTK_REQUIRED_VERSION + pygobject-2.0 >= $PYGOBJECT_REQUIRED + ]) + +-AC_MSG_CHECKING(for pygtk defs) +-PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0` +-AC_SUBST(PYGTK_DEFSDIR) +-AC_MSG_RESULT($PYGTK_DEFSDIR) +- +-AC_MSG_CHECKING(for pygtk codegen) +-PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py" +-AC_SUBST(PYGTK_CODEGEN) +-AC_MSG_RESULT($PYGTK_CODEGEN) ++ AC_MSG_CHECKING(for pygtk defs) ++ PYGTK_DEFSDIR=`$PKG_CONFIG --variable=defsdir pygtk-2.0` ++ AC_SUBST(PYGTK_DEFSDIR) ++ AC_MSG_RESULT($PYGTK_DEFSDIR) ++ ++ AC_MSG_CHECKING(for pygtk codegen) ++ PYGTK_CODEGEN="$PYTHON `$PKG_CONFIG --variable=codegendir pygtk-2.0`/codegen.py" ++ AC_SUBST(PYGTK_CODEGEN) ++ AC_MSG_RESULT($PYGTK_CODEGEN) ++fi + + ######################### + # Check if build tests +@@ -278,4 +290,5 @@ + Tests: $enable_tests + Mono tests: $have_nunit + gcov: $use_gcov ++ Python: $enable_python + ]) diff --git a/dev-libs/libappindicator/files/libappindicator-12.10.0-vala-inherit.patch b/dev-libs/libappindicator/files/libappindicator-12.10.0-vala-inherit.patch new file mode 100644 index 000000000000..e71cb690c15e --- /dev/null +++ b/dev-libs/libappindicator/files/libappindicator-12.10.0-vala-inherit.patch @@ -0,0 +1,14 @@ +# http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244 +=== modified file 'bindings/vala/appindicator-0.1-custom.vala' +--- a/bindings/vala/appindicator-0.1-custom.vala 2011-09-23 15:46:27 +0000 ++++ b/bindings/vala/appindicator-0.1-custom.vala 2012-10-10 23:33:35 +0000 +@@ -23,7 +23,7 @@ + */ + + namespace AppIndicator { +- [CCode (type_check_function = "IS_APP_INDICATOR")] ++ [CCode (type_check_function = "IS_APP_INDICATOR", type_id = "app_indicator_get_type ()")] + public class Indicator : GLib.Object { + } + } + diff --git a/dev-libs/libappindicator/libappindicator-12.10.0-r201.ebuild b/dev-libs/libappindicator/libappindicator-12.10.0-r201.ebuild new file mode 100644 index 000000000000..171bc7b67fb7 --- /dev/null +++ b/dev-libs/libappindicator/libappindicator-12.10.0-r201.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools eutils multilib-minimal python-single-r1 vala xdg-utils + +DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar" +HOMEPAGE="https://launchpad.net/libappindicator" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="2" +KEYWORDS="amd64 ~arm x86" + +IUSE="+introspection python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + >=dev-libs/dbus-glib-0.98[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}] + >=dev-libs/libdbusmenu-0.6.2[gtk,${MULTILIB_USEDEP}] + >=dev-libs/libindicator-12.10.0:0[${MULTILIB_USEDEP}] + x11-libs/gtk+:2[${MULTILIB_USEDEP},introspection?] + introspection? ( >=dev-libs/gobject-introspection-1:= ) + python? ( + ${PYTHON_DEPS} + dev-python/pygtk[${PYTHON_USEDEP}] + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig[${MULTILIB_USEDEP}] + introspection? ( $(vala_depend) ) +" + +PATCHES=( + "${FILESDIR}"/${P}-conditional-py-bindings.patch + # http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244 + "${FILESDIR}"/${P}-vala-inherit.patch +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + xdg_environment_reset + + # Don't use -Werror + sed -i -e 's/ -Werror//' {src,tests}/Makefile.{am,in} || die + + eautoreconf + + # Disable MONO for now because of https://bugs.gentoo.org/382491 + sed -i -e '/^MONO_REQUIRED_VERSION/s:=.*:=9999:' configure || die +} + +multilib_src_configure() { + if multilib_is_native_abi; then + local -x VALAC VALA_API_GEN VAPIGEN_VAPIDIR PKG_CONFIG_PATH + use introspection && vala_src_prepare && export VALA_API_GEN="${VAPIGEN}" + fi + + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --with-gtk=2 \ + $(multilib_native_use_enable introspection) \ + $(multilib_native_use_enable python) +} + +multilib_src_install() { + emake -j1 DESTDIR="${D}" install +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files --modules + + # installed by slot 3 as well + rm -r "${D}"usr/share/gtk-doc || die +} diff --git a/dev-libs/libappindicator/libappindicator-12.10.0-r301.ebuild b/dev-libs/libappindicator/libappindicator-12.10.0-r301.ebuild new file mode 100644 index 000000000000..291389380bc2 --- /dev/null +++ b/dev-libs/libappindicator/libappindicator-12.10.0-r301.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit autotools eutils multilib-minimal vala xdg-utils + +DESCRIPTION="A library to allow applications to export a menu into the Unity Menu bar" +HOMEPAGE="https://launchpad.net/libappindicator" +SRC_URI="https://launchpad.net/${PN}/${PV%.*}/${PV}/+download/${P}.tar.gz" + +LICENSE="LGPL-2.1 LGPL-3" +SLOT="3" +KEYWORDS="amd64 ~arm x86" +IUSE="+introspection" + +RDEPEND=" + >=dev-libs/dbus-glib-0.98[${MULTILIB_USEDEP}] + >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}] + >=dev-libs/libdbusmenu-0.6.2[gtk3,${MULTILIB_USEDEP}] + >=dev-libs/libindicator-12.10.0:3[${MULTILIB_USEDEP}] + >=x11-libs/gtk+-3.2:3[${MULTILIB_USEDEP},introspection?] + introspection? ( >=dev-libs/gobject-introspection-1:= ) +" +DEPEND="${RDEPEND} + introspection? ( $(vala_depend) ) + dev-util/gtk-doc-am + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +PATCHES=( + "${FILESDIR}"/${P}-conditional-py-bindings.patch + # http://bazaar.launchpad.net/~indicator-applet-developers/libappindicator/trunk.12.10/revision/244 + "${FILESDIR}"/${P}-vala-inherit.patch +) + +src_prepare() { + default + + xdg_environment_reset + + # Don't use -Werror + sed -i -e 's/ -Werror//' {src,tests}/Makefile.{am,in} || die + + eautoreconf + + # Disable MONO for now because of https://bugs.gentoo.org/382491 + sed -i -e '/^MONO_REQUIRED_VERSION/s:=.*:=9999:' configure || die +} + +multilib_src_configure() { + if multilib_is_native_abi; then + local -x VALAC VALA_API_GEN VAPIGEN_VAPIDIR PKG_CONFIG_PATH + use introspection && vala_src_prepare && export VALA_API_GEN="${VAPIGEN}" + fi + + ECONF_SOURCE=${S} \ + econf \ + --disable-static \ + --with-gtk=3 \ + $(multilib_native_use_enable introspection) +} + +multilib_src_install() { + emake -j1 DESTDIR="${D}" install +} + +multilib_src_install_all() { + einstalldocs + prune_libtool_files +} diff --git a/dev-libs/libappindicator/metadata.xml b/dev-libs/libappindicator/metadata.xml new file mode 100644 index 000000000000..d3453a21683f --- /dev/null +++ b/dev-libs/libappindicator/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="launchpad">libappindicator</remote-id> + </upstream> +</pkgmetadata> |