Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xwallpaper/
Date: Sun, 25 Mar 2018 20:13:06
Message-Id: 1522008777.d211ade1305d333328a36e63e76f5d3c6e4890f8.mgorny@gentoo
1 commit: d211ade1305d333328a36e63e76f5d3c6e4890f8
2 Author: Georgy Yakovlev <ya <AT> sysdump <DOT> net>
3 AuthorDate: Wed Mar 21 05:47:14 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 25 20:12:57 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d211ade1
7
8 x11-misc/xwallpaper: new package, modern wallpaper tool
9
10 Closes: https://bugs.gentoo.org/651054
11 Closes: https://github.com/gentoo/gentoo/pull/7529
12 Package-Manager: Portage-2.3.24, Repoman-2.3.6
13
14 x11-misc/xwallpaper/Manifest | 1 +
15 x11-misc/xwallpaper/metadata.xml | 22 +++++++++++++
16 x11-misc/xwallpaper/xwallpaper-0.3.0.ebuild | 48 +++++++++++++++++++++++++++++
17 x11-misc/xwallpaper/xwallpaper-9999.ebuild | 48 +++++++++++++++++++++++++++++
18 4 files changed, 119 insertions(+)
19
20 diff --git a/x11-misc/xwallpaper/Manifest b/x11-misc/xwallpaper/Manifest
21 new file mode 100644
22 index 00000000000..8cb09994323
23 --- /dev/null
24 +++ b/x11-misc/xwallpaper/Manifest
25 @@ -0,0 +1 @@
26 +DIST xwallpaper-0.3.0.tar.gz 104300 BLAKE2B 23ec3b4ccbaf910c9ba4afbd1d9237223654a85c90b0a147141b017a9b3917316f745e1dd70a89e385110d380d5bbba8ee7c2d1ed4188d87a98ba0e94c5a7b6c SHA512 c73583fdbd573329951178d7db36fb1ae18a4294207de85dfb93e367be0ed103e8de7e2dd8ec61a0a23541457c930e8b0e5eb12dd5024808de3e02ddefb6b4a3
27
28 diff --git a/x11-misc/xwallpaper/metadata.xml b/x11-misc/xwallpaper/metadata.xml
29 new file mode 100644
30 index 00000000000..36a2d751876
31 --- /dev/null
32 +++ b/x11-misc/xwallpaper/metadata.xml
33 @@ -0,0 +1,22 @@
34 +<?xml version="1.0" encoding="UTF-8"?>
35 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
36 +<pkgmetadata>
37 + <maintainer type="person">
38 + <email>ya@×××××××.net</email>
39 + <name>Georgy Yakovlev</name>
40 + </maintainer>
41 + <maintainer type="project">
42 + <email>proxy-maint@g.o</email>
43 + <name>Proxy Maintainers</name>
44 + </maintainer>
45 + <longdescription lang="en">
46 + The xwallpaper utility allows you to set image files as your X wallpaper.
47 + JPEG, PNG, and XPM file formats are supported, all of them being configurable and therefore no fixed dependencies.
48 + The wallpaper is also advertised to programs which support semi-transparent backgrounds.
49 + The last but not least focus of this project is to write a secure wallpaper utility,
50 + supporting very tight sandboxing mechanisms.
51 + </longdescription>
52 + <upstream>
53 + <remote-id type="github">stoeckmann/xwallpaper</remote-id>
54 + </upstream>
55 +</pkgmetadata>
56
57 diff --git a/x11-misc/xwallpaper/xwallpaper-0.3.0.ebuild b/x11-misc/xwallpaper/xwallpaper-0.3.0.ebuild
58 new file mode 100644
59 index 00000000000..45080788129
60 --- /dev/null
61 +++ b/x11-misc/xwallpaper/xwallpaper-0.3.0.ebuild
62 @@ -0,0 +1,48 @@
63 +# Copyright 1999-2018 Gentoo Foundation
64 +# Distributed under the terms of the GNU General Public License v2
65 +
66 +EAPI=6
67 +
68 +inherit autotools
69 +
70 +DESCRIPTION="Wallpaper setting utility for X"
71 +HOMEPAGE="https://github.com/stoeckmann/xwallpaper"
72 +
73 +if [ ${PV} == "9999" ] ; then
74 + inherit git-r3
75 + EGIT_REPO_URI="https://github.com/stoeckmann/${PN}.git"
76 +else
77 + SRC_URI="https://github.com/stoeckmann/${PN}/releases/download/v${PV}/${P}.tar.gz"
78 + KEYWORDS="~amd64 ~x86"
79 +fi
80 +
81 +LICENSE="ISC"
82 +SLOT="0"
83 +IUSE="jpeg png seccomp xpm"
84 +
85 +DEPEND="
86 + x11-libs/pixman
87 + x11-libs/xcb-util
88 + x11-libs/xcb-util-image
89 + jpeg? ( virtual/jpeg:0= )
90 + png? ( media-libs/libpng:0= )
91 + seccomp? ( >=sys-libs/libseccomp-2.3.1:0= )
92 + xpm? ( x11-libs/libXpm )"
93 +
94 +RDEPEND="${DEPEND}"
95 +
96 +src_prepare() {
97 + default
98 + eautoreconf
99 +}
100 +src_configure() {
101 + local myconf=(
102 + $(use_with jpeg)
103 + $(use_with png)
104 + $(use_with seccomp)
105 + $(use_with xpm)
106 + --with-randr
107 + --with-zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
108 + )
109 + econf "${myconf[@]}"
110 +}
111
112 diff --git a/x11-misc/xwallpaper/xwallpaper-9999.ebuild b/x11-misc/xwallpaper/xwallpaper-9999.ebuild
113 new file mode 100644
114 index 00000000000..45080788129
115 --- /dev/null
116 +++ b/x11-misc/xwallpaper/xwallpaper-9999.ebuild
117 @@ -0,0 +1,48 @@
118 +# Copyright 1999-2018 Gentoo Foundation
119 +# Distributed under the terms of the GNU General Public License v2
120 +
121 +EAPI=6
122 +
123 +inherit autotools
124 +
125 +DESCRIPTION="Wallpaper setting utility for X"
126 +HOMEPAGE="https://github.com/stoeckmann/xwallpaper"
127 +
128 +if [ ${PV} == "9999" ] ; then
129 + inherit git-r3
130 + EGIT_REPO_URI="https://github.com/stoeckmann/${PN}.git"
131 +else
132 + SRC_URI="https://github.com/stoeckmann/${PN}/releases/download/v${PV}/${P}.tar.gz"
133 + KEYWORDS="~amd64 ~x86"
134 +fi
135 +
136 +LICENSE="ISC"
137 +SLOT="0"
138 +IUSE="jpeg png seccomp xpm"
139 +
140 +DEPEND="
141 + x11-libs/pixman
142 + x11-libs/xcb-util
143 + x11-libs/xcb-util-image
144 + jpeg? ( virtual/jpeg:0= )
145 + png? ( media-libs/libpng:0= )
146 + seccomp? ( >=sys-libs/libseccomp-2.3.1:0= )
147 + xpm? ( x11-libs/libXpm )"
148 +
149 +RDEPEND="${DEPEND}"
150 +
151 +src_prepare() {
152 + default
153 + eautoreconf
154 +}
155 +src_configure() {
156 + local myconf=(
157 + $(use_with jpeg)
158 + $(use_with png)
159 + $(use_with seccomp)
160 + $(use_with xpm)
161 + --with-randr
162 + --with-zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
163 + )
164 + econf "${myconf[@]}"
165 +}