commit:     0232cb8241842077b642498d22cbb1fad2bdc94b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 19:36:17 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 19:36:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0232cb82

x11-misc/xwallpaper: add 0.7.6

Closes: https://bugs.gentoo.org/949978
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/xwallpaper/Manifest                |  1 +
 x11-misc/xwallpaper/xwallpaper-0.7.6.ebuild | 50 +++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/x11-misc/xwallpaper/Manifest b/x11-misc/xwallpaper/Manifest
index 91bf3c6a8e52..07db9637b1b6 100644
--- a/x11-misc/xwallpaper/Manifest
+++ b/x11-misc/xwallpaper/Manifest
@@ -1 +1,2 @@
 DIST xwallpaper-0.7.4.tar.xz 86432 BLAKE2B 
c10a69ab5734e43e99a746872bff427797e1d8f9de06d241fa81435036527b029031bb49733cf2119e8725883f20b9253b779ef9113d32d1b4f77bd73511a76a
 SHA512 
f6eaf41befe724ad55d14f607bdfe9d05c79139054deb6590198ce767cf42173f068459dd894b284f3e8dbc95fc482d8ed7ed1c615f7b72b249897a6a01d51ba
+DIST xwallpaper-0.7.6.tar.xz 89208 BLAKE2B 
3722e7382e104408f61c101f445cd7f741a0412dea328f1c6c01f3b85b3bdc1a4fc00b81283d88171e54833aabf51322a9a1b00fde72bea02496c2daa8d5db51
 SHA512 
dfc8e6dac42add4f8e7f77c9c634a5041015f8f919095ed2074c6b1b0072d3dc7d9627e4013f2ec6951b64ff8bb46a80a138edf33738733efff81eac26debbbd

diff --git a/x11-misc/xwallpaper/xwallpaper-0.7.6.ebuild 
b/x11-misc/xwallpaper/xwallpaper-0.7.6.ebuild
new file mode 100644
index 000000000000..5cd129da427f
--- /dev/null
+++ b/x11-misc/xwallpaper/xwallpaper-0.7.6.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Wallpaper setting utility for X"
+HOMEPAGE="https://github.com/stoeckmann/xwallpaper";
+
+if [[ ${PV} == 9999 ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/stoeckmann/${PN}.git";
+else
+       
SRC_URI="https://github.com/stoeckmann/${PN}/releases/download/v${PV}/${P}.tar.xz";
+       KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="+jpeg +png seccomp xpm"
+
+RDEPEND="
+       x11-libs/pixman
+       x11-libs/xcb-util
+       x11-libs/xcb-util-image
+       jpeg? ( media-libs/libjpeg-turbo:= )
+       png? ( media-libs/libpng:0= )
+       seccomp? ( >=sys-libs/libseccomp-2.3.1:0= )
+       xpm? ( x11-libs/libXpm )
+"
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       local myconf=(
+               $(use_with jpeg)
+               $(use_with png)
+               $(use_with seccomp)
+               $(use_with xpm)
+               --with-randr
+       )
+       econf "${myconf[@]}"
+}

Reply via email to