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: Fri, 19 Jul 2019 06:58:01
Message-Id: 1563519157.9aa0128035404a4b6fd7875a8f1aaa4180d97beb.gyakovlev@gentoo
1 commit: 9aa0128035404a4b6fd7875a8f1aaa4180d97beb
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 19 06:52:37 2019 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 19 06:52:37 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aa01280
7
8 x11-misc/xwallpaper: revbump 0.6.2, adjust libjpeg dependency
9
10 Bug: https://bugs.gentoo.org/689512
11 Package-Manager: Portage-2.3.69, Repoman-2.3.16
12 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
13
14 x11-misc/xwallpaper/xwallpaper-0.6.2-r1.ebuild | 50 ++++++++++++++++++++++++++
15 1 file changed, 50 insertions(+)
16
17 diff --git a/x11-misc/xwallpaper/xwallpaper-0.6.2-r1.ebuild b/x11-misc/xwallpaper/xwallpaper-0.6.2-r1.ebuild
18 new file mode 100644
19 index 00000000000..1fd0759173f
20 --- /dev/null
21 +++ b/x11-misc/xwallpaper/xwallpaper-0.6.2-r1.ebuild
22 @@ -0,0 +1,50 @@
23 +# Copyright 1999-2019 Gentoo Authors
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=7
27 +
28 +inherit autotools
29 +
30 +DESCRIPTION="Wallpaper setting utility for X"
31 +HOMEPAGE="https://github.com/stoeckmann/xwallpaper"
32 +
33 +if [ ${PV} == "9999" ] ; then
34 + inherit git-r3
35 + EGIT_REPO_URI="https://github.com/stoeckmann/${PN}.git"
36 +else
37 + SRC_URI="https://github.com/stoeckmann/${PN}/releases/download/v${PV}/${P}.tar.xz"
38 + KEYWORDS="~amd64 ~x86"
39 +fi
40 +
41 +LICENSE="ISC"
42 +SLOT="0"
43 +IUSE="jpeg png seccomp xpm"
44 +
45 +RDEPEND="
46 + x11-libs/pixman
47 + x11-libs/xcb-util
48 + x11-libs/xcb-util-image
49 + jpeg? ( media-libs/libjpeg-turbo:= )
50 + png? ( media-libs/libpng:0= )
51 + seccomp? ( >=sys-libs/libseccomp-2.3.1:0= )
52 + xpm? ( x11-libs/libXpm )"
53 +
54 +DEPEND="${RDEPEND}
55 + virtual/pkgconfig
56 +"
57 +
58 +src_prepare() {
59 + default
60 + eautoreconf
61 +}
62 +src_configure() {
63 + local myconf=(
64 + $(use_with jpeg)
65 + $(use_with png)
66 + $(use_with seccomp)
67 + $(use_with xpm)
68 + --with-randr
69 + --with-zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
70 + )
71 + econf "${myconf[@]}"
72 +}