diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-16 20:40:42 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-08-16 20:40:42 +0300 |
commit | eac5837327952a75500e8c2bdfee37cc83c5dd64 (patch) | |
tree | efbb9640aa6e1267008cb1c71f60806e02ffb791 /gui-apps | |
parent | gui-apps/grim: cleanup deps (diff) | |
download | gentoo-eac5837327952a75500e8c2bdfee37cc83c5dd64.tar.gz gentoo-eac5837327952a75500e8c2bdfee37cc83c5dd64.tar.bz2 gentoo-eac5837327952a75500e8c2bdfee37cc83c5dd64.zip |
gui-apps/kanshi: add 1.2.0, EAPI=8
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'gui-apps')
-rw-r--r-- | gui-apps/kanshi/Manifest | 1 | ||||
-rw-r--r-- | gui-apps/kanshi/kanshi-1.2.0.ebuild | 43 |
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 +} |