From 8917303013b1b82e25fc23ed5bc227e9f30898c3 Mon Sep 17 00:00:00 2001 From: XGQT Date: Thu, 23 Apr 2020 14:21:33 +0200 Subject: [PATCH] x11-terms/kgx: add version 0.2.1 and 9999 Package-Manager: Portage-2.3.89, Repoman-2.3.20 --- x11-terms/kgx/Manifest | 1 + x11-terms/kgx/kgx-0.2.1.ebuild | 85 ++++++++++++++++++++++++++++++++++ x11-terms/kgx/kgx-9999.ebuild | 85 ++++++++++++++++++++++++++++++++++ x11-terms/kgx/metadata.xml | 18 +++++++ 4 files changed, 189 insertions(+) create mode 100644 x11-terms/kgx/Manifest create mode 100644 x11-terms/kgx/kgx-0.2.1.ebuild create mode 100644 x11-terms/kgx/kgx-9999.ebuild create mode 100644 x11-terms/kgx/metadata.xml diff --git a/x11-terms/kgx/Manifest b/x11-terms/kgx/Manifest new file mode 100644 index 0000000..f560168 --- /dev/null +++ b/x11-terms/kgx/Manifest @@ -0,0 +1 @@ +DIST kgx-0.2.1.tar.gz 106974 BLAKE2B a2cddb6d8f2bc2589877ff7e6ceeaf9fdc3665c20e49d3d034bd20194f9570985bfad67a197079d8f0dcac8514381a842f22af06667a11271796c54ab29b939b SHA512 f1d19661472cec0f8cab30ba38608d5d7029f56d85bd99b315c841ae859059ef8ab90add0c530dcc3d95ba00e67bbb9127e537ceea5165c5e47c382a15445502 diff --git a/x11-terms/kgx/kgx-0.2.1.ebuild b/x11-terms/kgx/kgx-0.2.1.ebuild new file mode 100644 index 0000000..07f4dff --- /dev/null +++ b/x11-terms/kgx/kgx-0.2.1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit gnome2-utils meson xdg-utils + +DESCRIPTION="A minimal terminal for GNOME" +HOMEPAGE="https://gitlab.gnome.org/ZanderBrown/kgx" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.gnome.org/ZanderBrown/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://gitlab.gnome.org/ZanderBrown/${PN}/-/archive/${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT=" + !test? ( test ) + mirror +" +LICENSE="GPL-3" +SLOT="0" +IUSE="doc generic -gir +gtop test -vapi" + +DEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.58.0 + >=dev-libs/libpcre2-10.32 + >=x11-libs/vte-0.54.4 + dev-libs/appstream-glib[introspection] + dev-util/desktop-file-utils + dev-util/meson + gnome-base/gsettings-desktop-schemas + gui-libs/libhandy + x11-libs/gtk+:3 + gtop? ( + >=gnome-base/libgtop-2.38.0 + ) +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + local emesonargs=( + -Dgtk_doc=$(usex doc true false) + -Dgeneric=$(usex generic true false) + -Dgir=$(usex gir true false) + -Dgtop=$(usex gtop true false) + -Dtests=$(usex test true false) + -Dvapi=$(usex vapi true false) + ) + meson_src_configure +} + +src_install() { + meson_src_install + rm -rf "${ED}"/usr/share/appdata +} + +pkg_preinst() { + gnome2_schemas_savelist + xdg_environment_reset +} + +pkg_postinst() { + gnome2_gconf_install + gnome2_schemas_update + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + gnome2_gconf_uninstall + gnome2_schemas_update + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/x11-terms/kgx/kgx-9999.ebuild b/x11-terms/kgx/kgx-9999.ebuild new file mode 100644 index 0000000..07f4dff --- /dev/null +++ b/x11-terms/kgx/kgx-9999.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit gnome2-utils meson xdg-utils + +DESCRIPTION="A minimal terminal for GNOME" +HOMEPAGE="https://gitlab.gnome.org/ZanderBrown/kgx" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitlab.gnome.org/ZanderBrown/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://gitlab.gnome.org/ZanderBrown/${PN}/-/archive/${PV}/${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT=" + !test? ( test ) + mirror +" +LICENSE="GPL-3" +SLOT="0" +IUSE="doc generic -gir +gtop test -vapi" + +DEPEND=" + ${PYTHON_DEPS} + >=dev-libs/glib-2.58.0 + >=dev-libs/libpcre2-10.32 + >=x11-libs/vte-0.54.4 + dev-libs/appstream-glib[introspection] + dev-util/desktop-file-utils + dev-util/meson + gnome-base/gsettings-desktop-schemas + gui-libs/libhandy + x11-libs/gtk+:3 + gtop? ( + >=gnome-base/libgtop-2.38.0 + ) +" +RDEPEND=" + ${DEPEND} +" + +src_configure() { + local emesonargs=( + -Dgtk_doc=$(usex doc true false) + -Dgeneric=$(usex generic true false) + -Dgir=$(usex gir true false) + -Dgtop=$(usex gtop true false) + -Dtests=$(usex test true false) + -Dvapi=$(usex vapi true false) + ) + meson_src_configure +} + +src_install() { + meson_src_install + rm -rf "${ED}"/usr/share/appdata +} + +pkg_preinst() { + gnome2_schemas_savelist + xdg_environment_reset +} + +pkg_postinst() { + gnome2_gconf_install + gnome2_schemas_update + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + gnome2_gconf_uninstall + gnome2_schemas_update + xdg_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/x11-terms/kgx/metadata.xml b/x11-terms/kgx/metadata.xml new file mode 100644 index 0000000..38ea28b --- /dev/null +++ b/x11-terms/kgx/metadata.xml @@ -0,0 +1,18 @@ + + + + + + Present using the generic name "Terminal" + + + Whether to generate GObject Introspection Repository + + + Use libgtop to track children processes + + + Whether to generate VAPI + + +