diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-05-07 07:10:39 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2026-05-07 07:10:39 +0000 |
| commit | 6dd565aea2fc1e47796bb22fc2ec929c74dfa246 (patch) | |
| tree | 97379541729a9e467025bf3266d6b70a207c35ae /x11-terms | |
| parent | 6c2c44c149dc52d1f72e760c171f73fa33c4ee45 (diff) | |
| download | baldeagleos-repo-6dd565aea2fc1e47796bb22fc2ec929c74dfa246.tar.gz baldeagleos-repo-6dd565aea2fc1e47796bb22fc2ec929c74dfa246.tar.xz baldeagleos-repo-6dd565aea2fc1e47796bb22fc2ec929c74dfa246.zip | |
Adding metadata
Diffstat (limited to 'x11-terms')
| -rw-r--r-- | x11-terms/guake/Manifest | 1 | ||||
| -rw-r--r-- | x11-terms/guake/guake-3.10.1.ebuild | 90 |
2 files changed, 91 insertions, 0 deletions
diff --git a/x11-terms/guake/Manifest b/x11-terms/guake/Manifest index 4438ffec6b59..e443f909d8e0 100644 --- a/x11-terms/guake/Manifest +++ b/x11-terms/guake/Manifest @@ -1 +1,2 @@ +DIST guake-3.10.1.gh.tar.gz 1137514 BLAKE2B 5e42afeb377d87ae8e55833b2572dc45af04e6d1abcf5e129b3118035f727079ed3f6448a111604d3bddddeb5673e6501f5220cc22c6be420f901aacf44361b7 SHA512 2a1dac9f258d54f5d80016c68c2d29a6032b46dbebfe8c6c546d51c024689abba46969b30aee4916234c05d7f997aca028d32edd40ff51e081b6c3abb3ac3620 DIST guake-3.10.gh.tar.gz 1123390 BLAKE2B ec50c78938c2e24128b9ca35195b4f26dee60ad320d24b4aab91eb427e452aaca401d7adf0091673c7f7e0590cba1bb3f35d5c5c5c56bb422f06e87945e5fc4a SHA512 72e5b7a046ceab0c5fedde25e7baa4e4002edc7f97867db72ed0cacc7347ca5381d74813f1ae1f61167b9c9128d87d60c7b6610b25f7abad024a2e001d3b114a diff --git a/x11-terms/guake/guake-3.10.1.ebuild b/x11-terms/guake/guake-3.10.1.ebuild new file mode 100644 index 000000000000..a1da740d5c71 --- /dev/null +++ b/x11-terms/guake/guake-3.10.1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2026 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_{10..14} ) +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 + + # Will collide with dev-libs/glib + rm "${ED}"/usr/share/glib-2.0/schemas/gschemas.compiled || die +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update + + optfeature "utmp management support" sys-libs/libutempter +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +} |
