summaryrefslogtreecommitdiff
path: root/x11-libs
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs')
-rw-r--r--x11-libs/Manifest.gzbin18492 -> 18496 bytes
-rw-r--r--x11-libs/xapp/Manifest4
-rw-r--r--x11-libs/xapp/metadata.xml3
-rw-r--r--x11-libs/xapp/xapp-2.4.3.ebuild102
4 files changed, 108 insertions, 1 deletions
diff --git a/x11-libs/Manifest.gz b/x11-libs/Manifest.gz
index f86a8cc652cc..b69032129234 100644
--- a/x11-libs/Manifest.gz
+++ b/x11-libs/Manifest.gz
Binary files differ
diff --git a/x11-libs/xapp/Manifest b/x11-libs/xapp/Manifest
index a06bfb641298..a60359a9a8b1 100644
--- a/x11-libs/xapp/Manifest
+++ b/x11-libs/xapp/Manifest
@@ -1,3 +1,5 @@
DIST xapp-2.4.2.tar.gz 252031 BLAKE2B 184f8459c5fa8165054a6cc3f2aea6b01ab0c73ecb0f5a79a7ba78908e9a149b3b08c691fa1b0a0077d238dc144dd9068b0b49228d530e9684670974bbbe2a69 SHA512 4c8c0ee0c2c273e3b08b4746324ec55e6af0baaada2465b4a628dad21207bc0dc9fb609b2dd8d46284098a4bac6598893a984ff6e5891f2ddd5be6157774ae81
+DIST xapp-2.4.3.tar.gz 252180 BLAKE2B 49ebba445e04205f714fd4a16363674477e1156872ed1d26ac8450c32d688323971301ed97366e36141e91996f64401372dbe5ee4e36130ac4cf70e12e9fcdde SHA512 ecfe97b5a6de6ef06416b3220dc30856c590087c22b77ba2078194995650966e7811a91b3ce6335b363ea5066473d5c59a318232e40a2311341067dcee4719b2
EBUILD xapp-2.4.2.ebuild 2099 BLAKE2B 8e1f0a52eeef0d6d1d105cc5172db6737dd137e0fb08bf184cd7d5ff1dfd4edc74b0430aac4a65261913a53870da7d3c743701f5d7a65c0af5c8647b13e27996 SHA512 729ce1a5654bf1b453ec6d00a7110a421f00188f4081f2ba24c68675f765aef76e6b65ebc0be9cb2d3c60be2a86af52c4af0913a899fccfb673b75d76baa7402
-MISC metadata.xml 484 BLAKE2B 10b58e5f709ed52dad4d0c7d54de20a3e0ebd01d9295715c41dc7ebfd565fa59429cd11dc2efc61a774d2e882ffff75bd7d309ef13f8d5f00024a2235ad7c1c6 SHA512 b5182d0e92d96842d0902c6786aba0f51628e4449c2948234bf33ad9770c681bce07d9f913746dffbb26e4884a0906159c2e36e4cc1fe5be2ff5d496ba02b9fb
+EBUILD xapp-2.4.3.ebuild 2287 BLAKE2B 2202025a6a6934b7e240eb955033d932d17efb08c1bf22124585e76aa0346fdc7097a23d0c94aa37910c21de166a365717583b88b8c184c6ae4ba649a15ec346 SHA512 0014edb735d96a63c4bf8b0c144033a630482901f6dfa679a7ee0f6de862dff6a09df5ce33be7c61032be6a7c9993ad1e5d8f64947b9deb1b673efbb98e0e801
+MISC metadata.xml 578 BLAKE2B 6a52fabaa36a29f26e7128d47c6b3b21f0fe0996f37f1f787109345c2fd31c4f5689f2dfd6d6324412fcf03f8e2a227367278bb770e0a2ba39c41399a5fb898a SHA512 fda47e5862f660ee4a72653265f82d963e6cb06d6062024021df42ccb1035f51ea7b9eab6611a9152d32eb4ffc2728a880d05770fe9e9be4d5145a7d84527fa4
diff --git a/x11-libs/xapp/metadata.xml b/x11-libs/xapp/metadata.xml
index dad211d2b78d..1aeced361cde 100644
--- a/x11-libs/xapp/metadata.xml
+++ b/x11-libs/xapp/metadata.xml
@@ -12,4 +12,7 @@
<upstream>
<remote-id type="github">linuxmint/xapp</remote-id>
</upstream>
+ <use>
+ <flag name="mate">Install status applet for <pkg>mate-base/mate</pkg></flag>
+ </use>
</pkgmetadata>
diff --git a/x11-libs/xapp/xapp-2.4.3.ebuild b/x11-libs/xapp/xapp-2.4.3.ebuild
new file mode 100644
index 000000000000..1b61b99498bc
--- /dev/null
+++ b/x11-libs/xapp/xapp-2.4.3.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{10..11} )
+VALA_USE_DEPEND="vapigen"
+
+inherit gnome2-utils vala meson python-r1
+
+DESCRIPTION="Cross-desktop libraries and common resources"
+HOMEPAGE="https://github.com/linuxmint/xapp/"
+LICENSE="LGPL-3+"
+
+SRC_URI="https://github.com/linuxmint/xapp/archive/${PV}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+SLOT="0"
+IUSE="gtk-doc introspection mate"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="
+ >=dev-libs/glib-2.44.0:2
+ 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
+ x11-libs/libX11
+ x11-libs/pango
+
+ mate? (
+ ${PYTHON_DEPS}
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ $(vala_depend)
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-util/gdbus-codegen
+ dev-util/glib-utils
+ sys-apps/dbus
+ sys-devel/gettext
+
+ gtk-doc? ( dev-util/gtk-doc )
+"
+
+src_prepare() {
+ vala_src_prepare
+ default
+
+ # don't install distro specific tools
+ sed -i "s/subdir('scripts')/#&/" meson.build || die
+
+ # make mate integrations optional
+ if ! use mate; then
+ sed -i "s/subdir('mate')/#&/" status-applets/meson.build || die
+ fi
+
+ # 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
+}