diff options
-rw-r--r-- | gui-apps/autodarkmode/autodarkmode-0.1.ebuild | 36 | ||||
-rw-r--r-- | profiles/targets/desktop/package.accept_keywords | 1 | ||||
-rw-r--r-- | profiles/targets/desktop/package.use | 1 | ||||
-rw-r--r-- | profiles/targets/desktop/packages | 1 |
4 files changed, 39 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 +} diff --git a/profiles/targets/desktop/package.accept_keywords b/profiles/targets/desktop/package.accept_keywords index 05a3159..ad8cbd1 100644 --- a/profiles/targets/desktop/package.accept_keywords +++ b/profiles/targets/desktop/package.accept_keywords @@ -1,4 +1,5 @@ >=gui-wm/niri-25.05.1 ~amd64 +>=gui-apps/autodarkmode-0.1 ~amd64 >=gui-apps/fuzzel-1.12.0 ~amd64 >=gui-apps/wf-recorder-0.5.0-r1 ~amd64 >=gui-apps/tuigreet-0.9.1-r2 ~amd64 diff --git a/profiles/targets/desktop/package.use b/profiles/targets/desktop/package.use index b137d27..b2fa588 100644 --- a/profiles/targets/desktop/package.use +++ b/profiles/targets/desktop/package.use @@ -4,3 +4,4 @@ gui-apps/waybar -evdev -jack -logind tray -udev -upower gui-wm/niri screencast media-video/pipewire flatpak pipewire-alsa sound-server v4l zeroconf gui-apps/swaybg gdk-pixbuf +gui-apps/autodarkmode -geoclue diff --git a/profiles/targets/desktop/packages b/profiles/targets/desktop/packages index 1ea4ec2..4b9c69c 100644 --- a/profiles/targets/desktop/packages +++ b/profiles/targets/desktop/packages @@ -4,6 +4,7 @@ app-emulation/qemu app-emulation/virt-manager app-text/xournalpp dev-util/kdevelop +gui-apps/autodarkmode gui-apps/foot gui-apps/fuzzel gui-apps/swaybg |