summaryrefslogtreecommitdiff
path: root/gui-apps/autodarkmode/autodarkmode-0.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'gui-apps/autodarkmode/autodarkmode-0.1.ebuild')
-rw-r--r--gui-apps/autodarkmode/autodarkmode-0.1.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/gui-apps/autodarkmode/autodarkmode-0.1.ebuild b/gui-apps/autodarkmode/autodarkmode-0.1.ebuild
new file mode 100644
index 0000000..03e4793
--- /dev/null
+++ b/gui-apps/autodarkmode/autodarkmode-0.1.ebuild
@@ -0,0 +1,36 @@
+EAPI=8
+
+inherit meson git-r3
+
+DESCRIPTION="Automatically execute scripts based on current sunrise and sunset"
+HOMEPAGE="https://git.pinkro.se/autodarkmode.git"
+
+EGIT_REPO_URI="git://git.pinkro.se/autodarkmode.git"
+EGIT_SUBMOULDES=( "*" )
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+geoclue"
+
+RDEPEND="
+ >=dev-libs/glib-2.78.6
+"
+
+DEPEND="
+ ${RDEPEND}
+"
+
+BDEPEND="
+ >=dev-build/meson-0.60.0
+ virtual/pkgconfig
+"
+
+BDEPEND+="geoclue? ( >=app-misc/geoclue-2.7.2 )"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature geoclue gclue_support)
+ )
+ meson_src_configure
+}