commit: a94fdc910d194aeee5a7a752d363f09c4317b923 Author: Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me> AuthorDate: Fri Apr 23 08:38:40 2021 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Fri Apr 23 09:56:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a94fdc91
gui-apps/wlsunset: New Package Signed-off-by: Haelwenn (lanodan) Monnier <contact <AT> hacktivis.me> gui-apps/wlsunset/Manifest | 1 + gui-apps/wlsunset/metadata.xml | 11 ++++++++++ gui-apps/wlsunset/wlsunset-0.1.0.ebuild | 36 +++++++++++++++++++++++++++++++++ gui-apps/wlsunset/wlsunset-9999.ebuild | 36 +++++++++++++++++++++++++++++++++ 4 files changed, 84 insertions(+) diff --git a/gui-apps/wlsunset/Manifest b/gui-apps/wlsunset/Manifest new file mode 100644 index 000000000..fccf17504 --- /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 000000000..c37cfc768 --- /dev/null +++ b/gui-apps/wlsunset/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>cont...@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> + </maintainer> + <longdescription lang="en"> + Day/night gamma adjustments for Wayland compositors supporting wlr-gamma-control-unstable-v1. + </longdescription> +</pkgmetadata> 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 000000000..9aacf6883 --- /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 000000000..9aacf6883 --- /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 +}