summaryrefslogtreecommitdiff
path: root/x11-terms/guake
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-14 00:09:04 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-14 00:09:04 +0100
commit5e41a38157bb40e8513e8e34426e85faba672fe7 (patch)
tree38e9365afd56c161d0e970ddf5420b2585130587 /x11-terms/guake
parent0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 (diff)
gentoo auto-resync : 14:06:2024 - 00:09:04
Diffstat (limited to 'x11-terms/guake')
-rw-r--r--x11-terms/guake/Manifest2
-rw-r--r--x11-terms/guake/guake-3.10.ebuild87
2 files changed, 89 insertions, 0 deletions
diff --git a/x11-terms/guake/Manifest b/x11-terms/guake/Manifest
index ac1200c761f0..768bce0761d6 100644
--- a/x11-terms/guake/Manifest
+++ b/x11-terms/guake/Manifest
@@ -1,3 +1,5 @@
+DIST guake-3.10.gh.tar.gz 1123390 BLAKE2B ec50c78938c2e24128b9ca35195b4f26dee60ad320d24b4aab91eb427e452aaca401d7adf0091673c7f7e0590cba1bb3f35d5c5c5c56bb422f06e87945e5fc4a SHA512 72e5b7a046ceab0c5fedde25e7baa4e4002edc7f97867db72ed0cacc7347ca5381d74813f1ae1f61167b9c9128d87d60c7b6610b25f7abad024a2e001d3b114a
DIST guake-3.9.0.gh.tar.gz 1118696 BLAKE2B 0c9fdcc5ff11d2f7263154594060a2145cefe678410cebb562dfd355a375019870a240ba4fb3868e69fdb5cf5bf49e73c3c5c2a1acef00251f68feebd8efdeba SHA512 d90e8a12285cd7488fe1132dc5af05d5eccec19a43ae98202631a15d12dfd21c3bda542e5f31ec409481d987a1bd013892c9343e7a74405a784e530efbd83503
+EBUILD guake-3.10.ebuild 2379 BLAKE2B 1e3463da39750fb554b85b44d0620f7f47cbab81f0bd4385fc63093ede5947a40dfb472835290b93cd3d7580d5a567b5e0c1b9901638610d52c1b25bebed845c SHA512 d4a5e9bf9def8e5db4904a0de7c21e67781d7a94a7f7c4916c2d08c81de28c9dd02b8fce42242ca1004061fc7a09de2cfb3fe76be7dcb3f23ec0938f984ce6e3
EBUILD guake-3.9.0.ebuild 2376 BLAKE2B 9fe7b22d9038ee99b623d50a390fbc2dfd0f0e0c044d9c9b467ab44e92f2799639394dd692e08501b1ff30a37d32557aa6dcbbeaaebda68e7b7ff337da3c12d4 SHA512 b7ea8498523522bd276bdd5ea327b79476470e8b9af90c554b5d7f03e320a8ed84abeebee040fcf8ac751634bf724cbf11b532e366c8baf4f77bd81968dc014d
MISC metadata.xml 376 BLAKE2B e4b68189c41e5fa5ebec57b3a9b4442eca924f7aeab5e093e1a8d6267675486d66009db009b69c428977144c7302c8e62e5de69cda47616fe3b6f6858043e021 SHA512 d765afe6e6fe8c856a94c15fa3cd17ab66cb3caa2f76d94d59becc6f6e3fcee35207f47ebfd8ff88aa782c0c30ffec7b505bae35869b8e752da381360c1d9813
diff --git a/x11-terms/guake/guake-3.10.ebuild b/x11-terms/guake/guake-3.10.ebuild
new file mode 100644
index 000000000000..9309c83afad5
--- /dev/null
+++ b/x11-terms/guake/guake-3.10.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..12} )
+inherit distutils-r1 gnome2-utils optfeature plocale virtualx xdg
+
+PLOCALES="ca cs de el es fa fi fr gl hr hu id it ja ko nb nl pa pl pt_BR ru sv tr uk zh_CN zh_TW"
+
+DESCRIPTION="Drop-down terminal for GNOME"
+HOMEPAGE="https://guake.github.io/"
+SRC_URI="https://github.com/Guake/guake/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]')
+ dev-libs/keybinder:3[introspection]
+ x11-libs/libnotify[introspection]
+ x11-libs/libwnck:3[introspection]
+ x11-libs/vte:2.91[introspection]"
+BDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ dev-python/pyfakefs[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )')
+ dev-libs/glib:2
+ gnome-base/gsettings-desktop-schemas
+ sys-devel/gettext"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} # needed with github's tarball
+
+ local po=($(plocale_get_locales disabled))
+ po=("${po[@]/%/.po}")
+ (( ! ${#po[@]} )) || rm "${po[@]/#/po/}" || die
+
+ emake PREFIX="${EPREFIX}"/usr prepare-install # paths.py.in -> paths.py
+}
+
+python_test() {
+ # - uses /usr/bin/bash if SHELL is not exported
+ SHELL=${SHELL} virtx epytest
+}
+
+python_install() {
+ # use right schema/data dirs, done here so tests don't use the system's
+ sed -e "/^SCHEMA_DIR/s|=.*|= \"${EPREFIX}/usr/share/glib-2.0/schemas\"|" \
+ -e "/def get_default_data_dir/{n;s|=.*|= \"${EPREFIX}/usr/share/guake\"|}" \
+ -i "${BUILD_DIR}/install$(python_get_sitedir)"/guake/paths.py || die
+ python_optimize "${BUILD_DIR}/install$(python_get_sitedir)"/guake/paths.py
+
+ distutils-r1_python_install
+}
+
+python_install_all() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install-{locale,schemas}
+
+ dodoc NEWS.rst README.rst
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+
+ optfeature "utmp management support" sys-libs/libutempter
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}