summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/kanshi/Manifest1
-rw-r--r--gui-apps/kanshi/kanshi-1.2.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/gui-apps/kanshi/Manifest b/gui-apps/kanshi/Manifest
index 8c0196576167..4675187feaa2 100644
--- a/gui-apps/kanshi/Manifest
+++ b/gui-apps/kanshi/Manifest
@@ -1 +1,2 @@
DIST kanshi-1.1.0.tar.gz 15884 BLAKE2B 1085e9d8f3ff53f78cb248941269713fd7ea38c60ad0e9816acb902f171b6f945af521a3835fc9db479620e6031483f6dbab5cfc507872dcabdfbcf9d6711269 SHA512 6582bae7b73ad13cad83e4d537c7c870699a72bf6993becaafa47a3dd70439a3c626ffff4874c8f737b32b62ad7512772c2c3bf54ac2cb74879213bd40b8d7a1
+DIST kanshi-1.2.0.tar.gz 16501 BLAKE2B a527b62a5aa39c7b0ee28c5a7b30827c525d07c9b85b7256392e641448e84bd6eff51d9b0a8d7f9df149efb6a49019412ec756b517ade6b72615a09a95f35c52 SHA512 d863547f0fcc2289d52220d913a7092af1c164ef0cd118288a1731983d06d1821e03f2defec9b43275b40fee23da25135e2bea39293b9de0ec8a32775369dac0
diff --git a/gui-apps/kanshi/kanshi-1.2.0.ebuild b/gui-apps/kanshi/kanshi-1.2.0.ebuild
new file mode 100644
index 000000000000..b415cae3b1ac
--- /dev/null
+++ b/gui-apps/kanshi/kanshi-1.2.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2020-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="dynamic display configuration (autorandr for wayland)"
+HOMEPAGE="https://wayland.emersion.fr/kanshi/ https://sr.ht/~emersion/kanshi/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/emersion/kanshi"
+else
+ SRC_URI="https://github.com/emersion/kanshi/releases/download/v${PV}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="+man"
+
+RDEPEND="
+ dev-libs/wayland
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ dev-libs/wayland-protocols
+"
+
+if [[ ${PV} == 9999 ]]; then
+ BDEPEND+="man? ( ~app-text/scdoc-9999 )"
+else
+ BDEPEND+="man? ( >=app-text/scdoc-1.9.3 )"
+fi
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature man man-pages)
+ )
+ meson_src_configure
+}