diff --git a/gui-apps/wlsunset/Manifest b/gui-apps/wlsunset/Manifest new file mode 100644 index 0000000000..fccf175042 --- /dev/null +++ b/gui-apps/wlsunset/Manifest @@ -0,0 +1 @@ +DIST wlsunset-0.1.0.tar.gz 10927 BLAKE2B 73080cc671885b7be00bcfe5227f6a2616b673eeb1435fbcf7ea0d23ba368b9a7bf9f3cdd9d9f4a8e6a6149fa5686ef624d2aaea61765ad76c65fc1737dfe629 SHA512 5e94469ab5cd810563e0171cd26547fba3d8152eebb4f81c1b7b0f9d8484faa214bc3ab2142749be47d2c1028d8ab6913a80770135801622327f9bc813138b0b diff --git a/gui-apps/wlsunset/metadata.xml b/gui-apps/wlsunset/metadata.xml new file mode 100644 index 0000000000..c37cfc7687 --- /dev/null +++ b/gui-apps/wlsunset/metadata.xml @@ -0,0 +1,11 @@ + + + + + contact@hacktivis.me + Haelwenn (lanodan) Monnier + + + Day/night gamma adjustments for Wayland compositors supporting wlr-gamma-control-unstable-v1. + + diff --git a/gui-apps/wlsunset/wlsunset-0.1.0.ebuild b/gui-apps/wlsunset/wlsunset-0.1.0.ebuild new file mode 100644 index 0000000000..9aacf68831 --- /dev/null +++ b/gui-apps/wlsunset/wlsunset-0.1.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ "${PV}" == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/wlsunset" +else + KEYWORDS="~amd64" + SRC_URI="https://git.sr.ht/~kennylevinsen/wlsunset/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Day/night gamma adjustments for Wayland" +HOMEPAGE="https://sr.ht/~kennylevinsen/wlsunset/" +LICENSE="MIT" +SLOT="0" + +BDEPEND=" + dev-util/wayland-scanner + dev-libs/wayland-protocols + app-text/scdoc +" +DEPEND="dev-libs/wayland" +RDEPEND="${DEPEND}" + +src_configure() { + local emesonargs=( + -Dwerror=false + -Dman-pages=enabled + ) + + meson_src_configure +} diff --git a/gui-apps/wlsunset/wlsunset-9999.ebuild b/gui-apps/wlsunset/wlsunset-9999.ebuild new file mode 100644 index 0000000000..9aacf68831 --- /dev/null +++ b/gui-apps/wlsunset/wlsunset-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ "${PV}" == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.sr.ht/~kennylevinsen/wlsunset" +else + KEYWORDS="~amd64" + SRC_URI="https://git.sr.ht/~kennylevinsen/wlsunset/archive/${PV}.tar.gz -> ${P}.tar.gz" +fi + +DESCRIPTION="Day/night gamma adjustments for Wayland" +HOMEPAGE="https://sr.ht/~kennylevinsen/wlsunset/" +LICENSE="MIT" +SLOT="0" + +BDEPEND=" + dev-util/wayland-scanner + dev-libs/wayland-protocols + app-text/scdoc +" +DEPEND="dev-libs/wayland" +RDEPEND="${DEPEND}" + +src_configure() { + local emesonargs=( + -Dwerror=false + -Dman-pages=enabled + ) + + meson_src_configure +}