app-misc/walld: initial import

Signed-off-by: Seth Arnold <Dotz0cat@gmail.com>
This commit is contained in:
Seth Arnold
2022-04-17 16:31:54 -05:00
parent fa5ec1cfbe
commit 292be365aa
3 changed files with 40 additions and 0 deletions

1
app-misc/walld/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST walld-1.2.tar.gz 23622 BLAKE2B 021028bb5dead41f16e18e9243f50952bf40260e5322508c79e803e42253fea22e1890d69116ba9b5ad7d6c084c57c0d52f216b6c6adf998cee688d8f9b6cbd5 SHA512 8c1c5dc2c8bc657c6f71a82f6db50247b6803ae5845f1515d10e18021913d87c7e4d920e8c1f0e2d455a5a09f44770acf40fadd59f983a6c3a16f8d4178340d6

View File

@@ -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>Dotz0cat@gmail.com</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>

View File

@@ -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
}