Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xwallpaper/
Date: Tue, 25 May 2021 18:41:28
Message-Id: 1621968063.e7c6961ffbbf0d8b82a9a509b6bf21cd4fdcb0df.gyakovlev@gentoo
1 commit: e7c6961ffbbf0d8b82a9a509b6bf21cd4fdcb0df
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 25 18:40:51 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Tue May 25 18:41:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c6961f
7
8 x11-misc/xwallpaper: add 0.7.0
9
10 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
11
12 x11-misc/xwallpaper/Manifest | 1 +
13 x11-misc/xwallpaper/xwallpaper-0.7.0.ebuild | 50 +++++++++++++++++++++++++++++
14 2 files changed, 51 insertions(+)
15
16 diff --git a/x11-misc/xwallpaper/Manifest b/x11-misc/xwallpaper/Manifest
17 index 175b7d7bc35..541e075415e 100644
18 --- a/x11-misc/xwallpaper/Manifest
19 +++ b/x11-misc/xwallpaper/Manifest
20 @@ -2,3 +2,4 @@ DIST xwallpaper-0.6.2.tar.xz 82600 BLAKE2B 2e2b1121fcc2481c4a1e3c78e357534b9609b
21 DIST xwallpaper-0.6.4.tar.xz 82752 BLAKE2B e81a1a9ec56ffe0a1953f1186c945c9ebb143ff683b8c0c01b819506b79520738935d04725420a24b38119221cbb71d9a5562bffd03e03736c65ba7e3c6a1713 SHA512 531910957c44f7e5ce7357fa46737967f673aeca53868012211eb91507f78bd028f8d84fcbee6e1237107816a09f8247cd0445c0907b60792ff5d07416630d56
22 DIST xwallpaper-0.6.5.tar.xz 82696 BLAKE2B 8c12bcce2a2eeb9580038b172b51284cc9fa851f01bef34e7cfeb13ccc05879f5443ef0b7fd39a4f0d5abcc399ec614db28f6f6db6847505855128348fd22d4b SHA512 99c911c6a4f7501101d85532cfb9956fa4affb57f7836e9216e5e0d873ed34c9e7d0a9983def442a4728a682a3351268905e22174dc9a14d003dc36c42ed9615
23 DIST xwallpaper-0.6.6.tar.xz 85368 BLAKE2B fcb0861d4cecbafc980208b3d2a174b9931a93cd8110b6f2c38eddae19e890295ce5d6d75dc4f09924279a2b0463234f4efdb4dda758ed14ed728abfec6b9bf3 SHA512 e37055b9adfa6950fb423228ff880afaa03dbdf2a7ced6ab1e110dbf4813f68aae3c9147668ebd20665b582bea195470c39b6948cd36879afe54d61c90b6f8d9
24 +DIST xwallpaper-0.7.0.tar.xz 86224 BLAKE2B bc201d2136b8c0f04e54a83b624d4cdd45409cdc451f2103a826e261fe7fbee2dd450297f67a9f9411b8723c82bc8032c2177ab318eaa95dbcad1007c47c982c SHA512 b8b01a1c0d5768beba9e57c376b89f5d777360ba27edd20d0fab0bb018f25a11cb3bcd1aa36099dd1bd43f689d470aa07c0c0a52ab782ea0cf12ba13ba4cc818
25
26 diff --git a/x11-misc/xwallpaper/xwallpaper-0.7.0.ebuild b/x11-misc/xwallpaper/xwallpaper-0.7.0.ebuild
27 new file mode 100644
28 index 00000000000..4b3d2579685
29 --- /dev/null
30 +++ b/x11-misc/xwallpaper/xwallpaper-0.7.0.ebuild
31 @@ -0,0 +1,50 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools
38 +
39 +DESCRIPTION="Wallpaper setting utility for X"
40 +HOMEPAGE="https://github.com/stoeckmann/xwallpaper"
41 +
42 +if [ ${PV} == "9999" ] ; then
43 + inherit git-r3
44 + EGIT_REPO_URI="https://github.com/stoeckmann/${PN}.git"
45 +else
46 + SRC_URI="https://github.com/stoeckmann/${PN}/releases/download/v${PV}/${P}.tar.xz"
47 + KEYWORDS="~amd64 ~ppc64 ~x86"
48 +fi
49 +
50 +LICENSE="ISC"
51 +SLOT="0"
52 +IUSE="jpeg png seccomp xpm"
53 +
54 +RDEPEND="
55 + x11-libs/pixman
56 + x11-libs/xcb-util
57 + x11-libs/xcb-util-image
58 + jpeg? ( media-libs/libjpeg-turbo:= )
59 + png? ( media-libs/libpng:0= )
60 + seccomp? ( >=sys-libs/libseccomp-2.3.1:0= )
61 + xpm? ( x11-libs/libXpm )
62 +"
63 +
64 +DEPEND="${RDEPEND}"
65 +BDEPEND="virtual/pkgconfig"
66 +
67 +src_prepare() {
68 + default
69 + eautoreconf
70 +}
71 +
72 +src_configure() {
73 + local myconf=(
74 + $(use_with jpeg)
75 + $(use_with png)
76 + $(use_with seccomp)
77 + $(use_with xpm)
78 + --with-randr
79 + )
80 + econf "${myconf[@]}"
81 +}