gui-apps/nwg-launchers: 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-11 17:58:26 +02:00
parent 6b7d327018
commit 4dfbbdfee3
2 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
<?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>
<use>
<flag name="bar">Installs nwgbar,
a horizontal or vertical button bar.</flag>
<flag name="dmenu">Installs nwgdmenu and nwgdmenu_run,
GTK dynamic menu windows.</flag>
<flag name="grid">Installs nwggrid,
a GNOME-like application grid.</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EGIT_REPO_URI="https://github.com/nwg-piotr/${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="GTK+ launchers for sway, i3 and some other WMs"
HOMEPAGE="${EGIT_REPO_URI}"
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
x11-libs/gtk+:3
dev-cpp/gtkmm:3.0
dev-cpp/nlohmann_json"
DEPEND="${RDEPEND}"
IUSE="+bar +dmenu +grid"
src_configure() {
meson_src_configure $(meson_use bar) $(meson_use dmenu) $(meson_use grid)
}