diff --git a/gui-apps/shikane/shikane-9999.ebuild b/gui-apps/shikane/shikane-9999.ebuild new file mode 100644 index 0000000..f3b6c1f --- /dev/null +++ b/gui-apps/shikane/shikane-9999.ebuild @@ -0,0 +1,48 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo git-r3 + +DESCRIPTION="A deterministic dynamic output configuration tool that automatically detects and configures connected outputs based on a set of profiles" +HOMEPAGE="https://gitlab.com/w0lff/shikane" +EGIT_REPO_URI="${HOMEPAGE}.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="man" + +S="${WORKDIR}/${P}" + +BDEPEND=" + man? ( + app-text/pandoc-bin + app-arch/gzip + ) +" + +src_unpack(){ + git-r3_src_unpack + cargo_live_src_unpack +} + +src_compile(){ + cargo_src_compile + + if use man; then + ./scripts/build-docs.sh man + gzip -d ./build/man/*.gz + fi +} + +src_install(){ + cargo_src_install + + if use man; then + doman ./build/man/shikane.1 + doman ./build/man/shikane.5 + doman ./build/man/shikanectl.1 + fi +} diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild index b34e54c..86ce677 100644 --- a/gui-wm/dwl/dwl-9999.ebuild +++ b/gui-wm/dwl/dwl-9999.ebuild @@ -37,7 +37,7 @@ RDEPEND=" x11-base/xwayland x11-apps/xlsclients ) - gui-apps/kanshi + gui-apps/shikane gui-apps/wdisplays gui-apps/wofi gui-apps/wl-clipboard