commit: 292be365aa29bae8fca23c55f8ac5bfaf054f1ed Author: Seth Arnold <Dotz0cat <AT> gmail <DOT> com> AuthorDate: Sun Apr 17 21:31:54 2022 +0000 Commit: Seth Arnold <Dotz0cat <AT> gmail <DOT> com> CommitDate: Sun Apr 17 22:02:45 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=292be365
app-misc/walld: initial import Signed-off-by: Seth Arnold <Dotz0cat <AT> gmail.com> app-misc/walld/Manifest | 1 + app-misc/walld/metadata.xml | 13 +++++++++++++ app-misc/walld/walld-1.2.ebuild | 26 ++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/app-misc/walld/Manifest b/app-misc/walld/Manifest new file mode 100644 index 000000000..4e708852b --- /dev/null +++ b/app-misc/walld/Manifest @@ -0,0 +1 @@ +DIST walld-1.2.tar.gz 23622 BLAKE2B 021028bb5dead41f16e18e9243f50952bf40260e5322508c79e803e42253fea22e1890d69116ba9b5ad7d6c084c57c0d52f216b6c6adf998cee688d8f9b6cbd5 SHA512 8c1c5dc2c8bc657c6f71a82f6db50247b6803ae5845f1515d10e18021913d87c7e4d920e8c1f0e2d455a5a09f44770acf40fadd59f983a6c3a16f8d4178340d6 diff --git a/app-misc/walld/metadata.xml b/app-misc/walld/metadata.xml new file mode 100644 index 000000000..d021e3ca5 --- /dev/null +++ b/app-misc/walld/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <description>Primary maintainer</description> + </maintainer> + <longdescription> + A wallpaper daemon. + Walld automatically changes the wallpaper. It sets the wallpaper through feh. It changes the wallpaper by default every 30 minutes. + Walld has a feature that grabs the 16 most prominent colors from the wallpaper that it has set. Walld puts them in a file located at $HOME/.walld/colors. This file can be included in your .Xresources. Walld then reloads your .Xresources with xrdb. + </longdescription> +</pkgmetadata> diff --git a/app-misc/walld/walld-1.2.ebuild b/app-misc/walld/walld-1.2.ebuild new file mode 100644 index 000000000..462dd9c1f --- /dev/null +++ b/app-misc/walld/walld-1.2.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature + +DESCRIPTION="A Wallpaper daemon" +HOMEPAGE="https://github.com/Dotz0cat/walld" +SRC_URI="https://github.com/Dotz0cat/walld/archive/refs/tags/1.2.tar.gz -> walld-1.2.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="dev-libs/libevent media-gfx/feh dev-libs/libconfig media-gfx/imagemagick" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install +} + +pkg_postinst() { + optfeature "auto reload Xresources" x11-apps/xrdb +}
