From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 625B7158086 for ; Wed, 20 Oct 2021 01:14:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A21C7E085A; Wed, 20 Oct 2021 01:14:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84CBEE085A for ; Wed, 20 Oct 2021 01:14:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E57434394D for ; Wed, 20 Oct 2021 01:14:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B207169 for ; Wed, 20 Oct 2021 01:14:31 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1634692285.a4667c89cfcc8b3062c2a5df50f1459db6f36d95.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/xapps/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-libs/xapps/Manifest x11-libs/xapps/xapps-2.2.4.ebuild X-VCS-Directories: x11-libs/xapps/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a4667c89cfcc8b3062c2a5df50f1459db6f36d95 X-VCS-Branch: master Date: Wed, 20 Oct 2021 01:14:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a661dad4-79ae-4bb6-81b3-4486fdce4c79 X-Archives-Hash: 2e66d47d3ae0cff134cce0045ca070f8 commit: a4667c89cfcc8b3062c2a5df50f1459db6f36d95 Author: Matthew S. Turnbull bluefang-logic com> AuthorDate: Mon Oct 18 01:30:30 2021 +0000 Commit: Sam James gentoo org> CommitDate: Wed Oct 20 01:11:25 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4667c89 x11-libs/xapps: 2.2.4 version bump Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Matthew S. Turnbull bluefang-logic.com> Signed-off-by: Sam James gentoo.org> x11-libs/xapps/Manifest | 1 + x11-libs/xapps/xapps-2.2.4.ebuild | 93 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) diff --git a/x11-libs/xapps/Manifest b/x11-libs/xapps/Manifest index e379195d8b8..6dd077ad519 100644 --- a/x11-libs/xapps/Manifest +++ b/x11-libs/xapps/Manifest @@ -1,2 +1,3 @@ DIST xapps-2.2.1.tar.gz 239789 BLAKE2B ee7f3f2b3c54b0b40158dff6abbe2233c0d1a1fa4e134ce4bd6ee48842335b16e0d94ad430cb59301529dd85e2705cbb1c1f5ba10844b6fb85f598ca0c42d1db SHA512 412f5c207d81d2507f2aa5cc69beed2036db07058f08613793aa7c277bac30191a02d9aff4eca0aeb8829e3e39d5f3a87e34232bf51220c4d4bc7c8ee37b9e65 DIST xapps-2.2.3.tar.gz 242330 BLAKE2B dba7f77eea7314fe978a1ba2b691f5c2d7e5d88f499d2f8533c8b1141262ce981cc395f8d6a0b1feaba715c63034e8dfe887e4183b5e119a0947b1ad85d99bbd SHA512 e8ac24decfa89aa949cf837a2e7a7ccdb8ef9d777081d0f3ea0e3a0b42378c721eed3eafacae669244a64c7f4202cb5c2a878d3574823f8f94bfdf51ec29f9ae +DIST xapps-2.2.4.tar.gz 242171 BLAKE2B a2e53123776f3f0739778673d08f165d268f5d632ce57d722ac443a7201c22c14c1c88e08247f6c16dd708a01b2dd566d4bd9d55289d70eb50ba29b8f2a0987d SHA512 428fd4dc1911905d6f940c6e38fc8b572d55bcb2691d45ac807276ef554b781c9f6c57bbd6d0a95bf52ca1703a38d260f36a61b88a94bc2dc0812b575839a983 diff --git a/x11-libs/xapps/xapps-2.2.4.ebuild b/x11-libs/xapps/xapps-2.2.4.ebuild new file mode 100644 index 00000000000..a7434062a55 --- /dev/null +++ b/x11-libs/xapps/xapps-2.2.4.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +VALA_USE_DEPEND="vapigen" + +inherit gnome2-utils vala meson python-r1 xdg-utils + +DESCRIPTION="Cross-desktop libraries and common resources" +HOMEPAGE="https://github.com/linuxmint/xapp/" +LICENSE="GPL-3" + +SRC_URI="https://github.com/linuxmint/xapp/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/xapp-${PV}" +KEYWORDS="~amd64 ~arm64 ~x86" + +SLOT="0" +IUSE="gtk-doc introspection static-libs" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.44.0:2 + dev-libs/gobject-introspection:0= + dev-libs/libdbusmenu[gtk3] + gnome-base/libgnomekbd + x11-libs/cairo + >=x11-libs/gdk-pixbuf-2.22.0:2[introspection?] + >=x11-libs/gtk+-3.16.0:3[introspection?] + x11-libs/libxkbfile +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + $(vala_depend) + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-util/gdbus-codegen + dev-util/glib-utils + >=dev-util/intltool-0.40.6 + sys-devel/gettext + + gtk-doc? ( dev-util/gtk-doc ) +" + +src_prepare() { + vala_src_prepare + default + + # don't install distro specific tools + sed -i "/subdir('scripts')/d" meson.build || die + + # Fix meson helpers + python_setup + python_fix_shebang meson-scripts +} + +src_configure() { + local emesonargs=( + $(meson_use gtk-doc docs) + -Dpy-overrides-dir="/pygobject" + ) + meson_src_configure +} + +src_install() { + meson_src_install + + # copy pygobject files to each active python target + # work-around for "py-overrides-dir" only supporting a single target + install_pygobject_override() { + PYTHON_GI_OVERRIDESDIR=$("${EPYTHON}" -c 'import gi;print(gi._overridesdir)' || die) + einfo "gobject overrides directory: ${PYTHON_GI_OVERRIDESDIR}" + mkdir -p "${D}/${PYTHON_GI_OVERRIDESDIR}/" || die + cp -r "${D}"/pygobject/* "${D}/${PYTHON_GI_OVERRIDESDIR}/" || die + python_optimize "${D}/${PYTHON_GI_OVERRIDESDIR}/" + } + python_foreach_impl install_pygobject_override + rm -r "${D}/pygobject" || die +} + +pkg_postinst() { + xdg_icon_cache_update + gnome2_schemas_update +} + +pkg_postrm() { + xdg_icon_cache_update + gnome2_schemas_update +}