x11-misc/vala-panel: new package; add version 0.4.92 and 9999 (live)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-10-28 14:56:06 +01:00
parent 3984323527
commit 00f309f269
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
4 changed files with 126 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST vala-panel-0.4.92.tar.gz 908777 BLAKE2B 9d8e631bab97e03fe6627e3e10404c10e9f4a86c23f0d57aaeb05c86c118cfcb4f153fb1e4a10c21dffab5a258152f33072656303ba1d994f04d1c5c9977f586 SHA512 eb34e39b5f755fbf0ee7243eea9e4a8c279ce98db4f7dbb1a13832696f854c7bda56b69ec056475f7672f65ed199ca0d0fceb56abb462b54037b395170c7dc72

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="gitlab">vala-panel-project/vala-panel</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,59 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome2-utils meson vala xdg
DESCRIPTION="Vala rewrite of SimplePanel"
HOMEPAGE="https://gitlab.com/vala-panel-project/vala-panel"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="
https://gitlab.com/vala-panel-project/${PN}.git
https://github.com/rilian-la-te/${PN}.git
"
else
SRC_URI="
https://gitlab.com/vala-panel-project/${PN}/-/archive/${PV}/${P}.tar.gz
https://github.com/rilian-la-te/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="LGPL-3"
SLOT="0"
DEPEND="
>=dev-libs/glib-2.56.0
>=x11-libs/gtk+-3.22.0:3
>=x11-libs/libwnck-3.4.7:3
dev-libs/gobject-introspection
x11-libs/libX11
"
RDEPEND="
${DEPEND}
"
src_prepare() {
vala_src_prepare
xdg_environment_reset
default
}
pkg_preinst() {
gnome2_schemas_savelist
xdg_pkg_preinst
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}

View File

@ -0,0 +1,59 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit gnome2-utils meson vala xdg
DESCRIPTION="Vala rewrite of SimplePanel"
HOMEPAGE="https://gitlab.com/vala-panel-project/vala-panel"
if [[ "${PV}" == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="
https://gitlab.com/vala-panel-project/${PN}.git
https://github.com/rilian-la-te/${PN}.git
"
else
SRC_URI="
https://gitlab.com/vala-panel-project/${PN}/-/archive/${PV}/${P}.tar.gz
https://github.com/rilian-la-te/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
"
KEYWORDS="~amd64"
fi
RESTRICT="mirror"
LICENSE="LGPL-3"
SLOT="0"
DEPEND="
>=dev-libs/glib-2.56.0
>=x11-libs/gtk+-3.22.0:3
>=x11-libs/libwnck-3.4.7:3
dev-libs/gobject-introspection
x11-libs/libX11
"
RDEPEND="
${DEPEND}
"
src_prepare() {
vala_src_prepare
xdg_environment_reset
default
}
pkg_preinst() {
gnome2_schemas_savelist
xdg_pkg_preinst
}
pkg_postinst() {
gnome2_schemas_update
xdg_pkg_postinst
}
pkg_postrm() {
gnome2_schemas_update
xdg_pkg_postrm
}