From 87327437149e88062f9fd67fabe3461b09e35194 Mon Sep 17 00:00:00 2001 From: "Alex Xu (Hello71)" Date: Sat, 19 Aug 2023 20:50:37 -0400 Subject: gui-apps/wlsunset: new package --- gui-apps/wlsunset/Manifest | 1 + gui-apps/wlsunset/metadata.xml | 7 ++++++ gui-apps/wlsunset/wlsunset-0.3.0.ebuild | 38 +++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 gui-apps/wlsunset/Manifest create mode 100644 gui-apps/wlsunset/metadata.xml create mode 100644 gui-apps/wlsunset/wlsunset-0.3.0.ebuild diff --git a/gui-apps/wlsunset/Manifest b/gui-apps/wlsunset/Manifest new file mode 100644 index 0000000..dc36999 --- /dev/null +++ b/gui-apps/wlsunset/Manifest @@ -0,0 +1 @@ +DIST wlsunset-0.3.0.tar.gz 16533 BLAKE2B 930635e82963d14fae9f95e2219574c962adbf32406bd184d35b79848dce2f2edaa526aaaf21c2dfdde9f4d4f9fe04011d592955867c3b01b5de4778ef9915f1 SHA512 0685989ec99d7066d5d1efacfbb4676d2df235d33d64cfe3d41c762ccc2ff5c292e03430414b43d719c35ddc0ad8267b765764c15afd1b3177ed1e0bb6f449c1 diff --git a/gui-apps/wlsunset/metadata.xml b/gui-apps/wlsunset/metadata.xml new file mode 100644 index 0000000..ec5cc1f --- /dev/null +++ b/gui-apps/wlsunset/metadata.xml @@ -0,0 +1,7 @@ + + + + + ~kennylevinsen/wlsunset + + diff --git a/gui-apps/wlsunset/wlsunset-0.3.0.ebuild b/gui-apps/wlsunset/wlsunset-0.3.0.ebuild new file mode 100644 index 0000000..3a80af2 --- /dev/null +++ b/gui-apps/wlsunset/wlsunset-0.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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=" + app-text/scdoc + dev-util/wayland-scanner +" +RDEPEND="dev-libs/wayland" +DEPEND=" + ${RDEPEND} + dev-libs/wayland-protocols +" + +src_configure() { + local emesonargs=( + -Dwerror=false + -Dman-pages=enabled + ) + + meson_src_configure +} -- cgit v1.2.3-70-g09d2