From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1012409-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id B0B911382C5
	for <garchives@archives.gentoo.org>; Sun, 25 Mar 2018 20:13:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B9C27E092C;
	Sun, 25 Mar 2018 20:13:04 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7B477E092C
	for <gentoo-commits@lists.gentoo.org>; Sun, 25 Mar 2018 20:13:04 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DA271335C61
	for <gentoo-commits@lists.gentoo.org>; Sun, 25 Mar 2018 20:13:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 699C625B
	for <gentoo-commits@lists.gentoo.org>; Sun, 25 Mar 2018 20:13:01 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1522008777.d211ade1305d333328a36e63e76f5d3c6e4890f8.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xwallpaper/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-misc/xwallpaper/Manifest x11-misc/xwallpaper/metadata.xml x11-misc/xwallpaper/xwallpaper-0.3.0.ebuild x11-misc/xwallpaper/xwallpaper-9999.ebuild
X-VCS-Directories: x11-misc/xwallpaper/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: d211ade1305d333328a36e63e76f5d3c6e4890f8
X-VCS-Branch: master
Date: Sun, 25 Mar 2018 20:13:01 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: a4644e8e-6953-4579-85e0-1b46a50a90cc
X-Archives-Hash: 3eb2658942af3462d4e0f32e84318ac5

commit:     d211ade1305d333328a36e63e76f5d3c6e4890f8
Author:     Georgy Yakovlev <ya <AT> sysdump <DOT> net>
AuthorDate: Wed Mar 21 05:47:14 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 25 20:12:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d211ade1

x11-misc/xwallpaper: new package, modern wallpaper tool

Closes: https://bugs.gentoo.org/651054
Closes: https://github.com/gentoo/gentoo/pull/7529
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 x11-misc/xwallpaper/Manifest                |  1 +
 x11-misc/xwallpaper/metadata.xml            | 22 +++++++++++++
 x11-misc/xwallpaper/xwallpaper-0.3.0.ebuild | 48 +++++++++++++++++++++++++++++
 x11-misc/xwallpaper/xwallpaper-9999.ebuild  | 48 +++++++++++++++++++++++++++++
 4 files changed, 119 insertions(+)

diff --git a/x11-misc/xwallpaper/Manifest b/x11-misc/xwallpaper/Manifest
new file mode 100644
index 00000000000..8cb09994323
--- /dev/null
+++ b/x11-misc/xwallpaper/Manifest
@@ -0,0 +1 @@
+DIST xwallpaper-0.3.0.tar.gz 104300 BLAKE2B 23ec3b4ccbaf910c9ba4afbd1d9237223654a85c90b0a147141b017a9b3917316f745e1dd70a89e385110d380d5bbba8ee7c2d1ed4188d87a98ba0e94c5a7b6c SHA512 c73583fdbd573329951178d7db36fb1ae18a4294207de85dfb93e367be0ed103e8de7e2dd8ec61a0a23541457c930e8b0e5eb12dd5024808de3e02ddefb6b4a3

diff --git a/x11-misc/xwallpaper/metadata.xml b/x11-misc/xwallpaper/metadata.xml
new file mode 100644
index 00000000000..36a2d751876
--- /dev/null
+++ b/x11-misc/xwallpaper/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>ya@sysdump.net</email>
+		<name>Georgy Yakovlev</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription lang="en">
+		The xwallpaper utility allows you to set image files as your X wallpaper.
+		JPEG, PNG, and XPM file formats are supported, all of them being configurable and therefore no fixed dependencies.
+		The wallpaper is also advertised to programs which support semi-transparent backgrounds.
+		The last but not least focus of this project is to write a secure wallpaper utility,
+		supporting very tight sandboxing mechanisms.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">stoeckmann/xwallpaper</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/x11-misc/xwallpaper/xwallpaper-0.3.0.ebuild b/x11-misc/xwallpaper/xwallpaper-0.3.0.ebuild
new file mode 100644
index 00000000000..45080788129
--- /dev/null
+++ b/x11-misc/xwallpaper/xwallpaper-0.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="jpeg png seccomp xpm"
+
+DEPEND="
+	x11-libs/pixman
+	x11-libs/xcb-util
+	x11-libs/xcb-util-image
+	jpeg? ( virtual/jpeg:0= )
+	png? ( media-libs/libpng:0= )
+	seccomp? ( >=sys-libs/libseccomp-2.3.1:0= )
+	xpm? ( x11-libs/libXpm )"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+src_configure() {
+	local myconf=(
+		$(use_with jpeg)
+		$(use_with png)
+		$(use_with seccomp)
+		$(use_with xpm)
+		--with-randr
+		--with-zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
+	)
+	econf "${myconf[@]}"
+}

diff --git a/x11-misc/xwallpaper/xwallpaper-9999.ebuild b/x11-misc/xwallpaper/xwallpaper-9999.ebuild
new file mode 100644
index 00000000000..45080788129
--- /dev/null
+++ b/x11-misc/xwallpaper/xwallpaper-9999.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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.gz"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="jpeg png seccomp xpm"
+
+DEPEND="
+	x11-libs/pixman
+	x11-libs/xcb-util
+	x11-libs/xcb-util-image
+	jpeg? ( virtual/jpeg:0= )
+	png? ( media-libs/libpng:0= )
+	seccomp? ( >=sys-libs/libseccomp-2.3.1:0= )
+	xpm? ( x11-libs/libXpm )"
+
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+src_configure() {
+	local myconf=(
+		$(use_with jpeg)
+		$(use_with png)
+		$(use_with seccomp)
+		$(use_with xpm)
+		--with-randr
+		--with-zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
+	)
+	econf "${myconf[@]}"
+}