diff --git a/x11-misc/vala-panel/Manifest b/x11-misc/vala-panel/Manifest new file mode 100644 index 0000000..4a861f3 --- /dev/null +++ b/x11-misc/vala-panel/Manifest @@ -0,0 +1 @@ +DIST vala-panel-0.4.92.tar.gz 908777 BLAKE2B 9d8e631bab97e03fe6627e3e10404c10e9f4a86c23f0d57aaeb05c86c118cfcb4f153fb1e4a10c21dffab5a258152f33072656303ba1d994f04d1c5c9977f586 SHA512 eb34e39b5f755fbf0ee7243eea9e4a8c279ce98db4f7dbb1a13832696f854c7bda56b69ec056475f7672f65ed199ca0d0fceb56abb462b54037b395170c7dc72 diff --git a/x11-misc/vala-panel/metadata.xml b/x11-misc/vala-panel/metadata.xml new file mode 100644 index 0000000..a787afa --- /dev/null +++ b/x11-misc/vala-panel/metadata.xml @@ -0,0 +1,7 @@ + + + + + vala-panel-project/vala-panel + + diff --git a/x11-misc/vala-panel/vala-panel-0.4.92.ebuild b/x11-misc/vala-panel/vala-panel-0.4.92.ebuild new file mode 100644 index 0000000..6246bfb --- /dev/null +++ b/x11-misc/vala-panel/vala-panel-0.4.92.ebuild @@ -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 +} diff --git a/x11-misc/vala-panel/vala-panel-9999.ebuild b/x11-misc/vala-panel/vala-panel-9999.ebuild new file mode 100644 index 0000000..6246bfb --- /dev/null +++ b/x11-misc/vala-panel/vala-panel-9999.ebuild @@ -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 +}