gui-wm/cage: New package

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
This commit is contained in:
Matthias Coppens
2020-07-17 09:26:22 +02:00
parent 4e77177d99
commit 85166566c2
4 changed files with 88 additions and 0 deletions

1
gui-wm/cage/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST cage-0.1.2.1.tar.gz 24600 BLAKE2B 593093afd072664d1067c1df662880dcb11e00bcbcb55b46a16021e0125aff033e578d500d9aa2f9ac7e5766560c131d0a56a9245518d66caaedde572dbbaf0f SHA512 ae332d747da7b59fd8b53b50ed3033959601db0eade435aff953a2789505eb0cbf4839cb41fe537457158327685c60e4367bfb664d2d524a270a22b1f8707d5e

View File

@@ -0,0 +1,37 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_REPO_URI="https://github.com/Hjdskes/${PN}"
case "${PV}" in
9999)
inherit git-r3
;;
*)
SRC_URI="${EGIT_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
esac
inherit meson
DESCRIPTION="A Wayland kiosk"
HOMEPAGE="https://www.hjdskes.nl/projects/${PN}"
LICENSE="MIT"
SLOT="0"
IUSE="-X"
RDEPEND="
>=gui-libs/wlroots-0.11
x11-libs/libxkbcommon
X? (
gui-libs/wlroots[X]
x11-libs/libxkbcommon[X]
)
"
DEPEND="${RDEPEND}"
KEYWORDS="-amd64 -x86"
src_configure() {
meson_src_configure $(meson_use X xwayland)
}

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_REPO_URI="https://github.com/Hjdskes/${PN}"
case "${PV}" in
9999)
inherit git-r3
;;
*)
SRC_URI="${EGIT_REPO_URI}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
esac
inherit meson
DESCRIPTION="A Wayland kiosk"
HOMEPAGE="https://www.hjdskes.nl/projects/${PN}"
LICENSE="MIT"
SLOT="0"
IUSE="-X"
RDEPEND="
>=gui-libs/wlroots-0.11
x11-libs/libxkbcommon
X? (
gui-libs/wlroots[X]
x11-libs/libxkbcommon[X]
)
"
DEPEND="${RDEPEND}"
src_configure() {
meson_src_configure $(meson_use X xwayland)
}

15
gui-wm/cage/metadata.xml Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>coppens.matthias.abc@gmail.com</email>
<description>Matthias Coppens</description>
</maintainer>
<longdescription>
This is Cage, a Wayland kiosk.
A kiosk runs a single, maximized application.
</longdescription>
<use>
<flag name="X">Enable support for X11 applications (XWayland)</flag>
</use>
</pkgmetadata>