x11-terms/kgx: add version 0.2.1 and 9999

Package-Manager: Portage-2.3.89, Repoman-2.3.20
This commit is contained in:
XGQT 2020-04-23 14:21:33 +02:00
parent 210b70fed6
commit 8917303013
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A
4 changed files with 189 additions and 0 deletions

1
x11-terms/kgx/Manifest Normal file
View File

@ -0,0 +1 @@
DIST kgx-0.2.1.tar.gz 106974 BLAKE2B a2cddb6d8f2bc2589877ff7e6ceeaf9fdc3665c20e49d3d034bd20194f9570985bfad67a197079d8f0dcac8514381a842f22af06667a11271796c54ab29b939b SHA512 f1d19661472cec0f8cab30ba38608d5d7029f56d85bd99b315c841ae859059ef8ab90add0c530dcc3d95ba00e67bbb9127e537ceea5165c5e47c382a15445502

View File

@ -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
}

View File

@ -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
}

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<use>
<flag name="generic">
Present using the generic name "Terminal"
</flag>
<flag name="gir">
Whether to generate GObject Introspection Repository
</flag>
<flag name="gtop">
Use libgtop to track children processes
</flag>
<flag name="vapi">
Whether to generate VAPI
</flag>
</use>
</pkgmetadata>