summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui-apps/kanshi/Manifest1
-rw-r--r--gui-apps/kanshi/kanshi-1.3.0.ebuild38
-rw-r--r--gui-apps/kanshi/metadata.xml3
3 files changed, 42 insertions, 0 deletions
diff --git a/gui-apps/kanshi/Manifest b/gui-apps/kanshi/Manifest
index 4675187feaa2..ab7ffb6f2e93 100644
--- a/gui-apps/kanshi/Manifest
+++ b/gui-apps/kanshi/Manifest
@@ -1,2 +1,3 @@
DIST kanshi-1.1.0.tar.gz 15884 BLAKE2B 1085e9d8f3ff53f78cb248941269713fd7ea38c60ad0e9816acb902f171b6f945af521a3835fc9db479620e6031483f6dbab5cfc507872dcabdfbcf9d6711269 SHA512 6582bae7b73ad13cad83e4d537c7c870699a72bf6993becaafa47a3dd70439a3c626ffff4874c8f737b32b62ad7512772c2c3bf54ac2cb74879213bd40b8d7a1
DIST kanshi-1.2.0.tar.gz 16501 BLAKE2B a527b62a5aa39c7b0ee28c5a7b30827c525d07c9b85b7256392e641448e84bd6eff51d9b0a8d7f9df149efb6a49019412ec756b517ade6b72615a09a95f35c52 SHA512 d863547f0fcc2289d52220d913a7092af1c164ef0cd118288a1731983d06d1821e03f2defec9b43275b40fee23da25135e2bea39293b9de0ec8a32775369dac0
+DIST kanshi-1.3.0.tar.gz 20721 BLAKE2B 56ba2241f21c41c5ba0e33c25ed0fb32ce471ac1c5f8dd030f93cb27e142319d1643143e78d4b375f855af1af5a078168e589ef74c82aaf738cef95618c122ab SHA512 f89164b1c4440d1cb29dfd70aab0721607dd63ea144ace9a2ff30cf89e662d404044bb30a5bc6c5544e8988db498eba3cd80100424ca76d31cc35b60e38036d9
diff --git a/gui-apps/kanshi/kanshi-1.3.0.ebuild b/gui-apps/kanshi/kanshi-1.3.0.ebuild
new file mode 100644
index 000000000000..2f3236686822
--- /dev/null
+++ b/gui-apps/kanshi/kanshi-1.3.0.ebuild
@@ -0,0 +1,38 @@
+# 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/"
+SRC_URI="
+ https://git.sr.ht/~emersion/kanshi/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz
+"
+S=${WORKDIR}/${PN}-v${PV}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+man varlink"
+
+RDEPEND="
+ dev-libs/wayland
+ varlink? ( dev-libs/libvarlink )
+"
+BDEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig
+ dev-libs/wayland-protocols
+ man? ( >=app-text/scdoc-1.9.3 )
+"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature man man-pages)
+ $(meson_feature varlink ipc)
+ )
+ meson_src_configure
+}
diff --git a/gui-apps/kanshi/metadata.xml b/gui-apps/kanshi/metadata.xml
index 4f0a430bb47f..93487eff2ff1 100644
--- a/gui-apps/kanshi/metadata.xml
+++ b/gui-apps/kanshi/metadata.xml
@@ -5,6 +5,9 @@
<email>arthurzam@gentoo.org</email>
<name>Arthur Zamarin</name>
</maintainer>
+ <use>
+ <flag name="varlink">Enable remote control with varlink</flag>
+ </use>
<longdescription>
kanshi allows you to define output profiles that are
automatically enabled and disabled on hotplug.