From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 7D140138334 for ; Thu, 7 Nov 2019 22:10:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CBCC9E0B4B; Thu, 7 Nov 2019 22:10:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B4268E0B4B for ; Thu, 7 Nov 2019 22:10:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 732AD34CA39 for ; Thu, 7 Nov 2019 22:10:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 20FE35FF for ; Thu, 7 Nov 2019 22:10:18 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1573164616.9ea8c165defb5e798b2aa7be3b31ef95a82c4d76.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/nitrogen/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/nitrogen/nitrogen-99999.ebuild X-VCS-Directories: x11-misc/nitrogen/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 9ea8c165defb5e798b2aa7be3b31ef95a82c4d76 X-VCS-Branch: master Date: Thu, 7 Nov 2019 22:10:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0a813ada-9ec1-4ec2-a869-4b86e960adc1 X-Archives-Hash: 0ee0fbefb79802596c74d0bb86aa8ae0 commit: 9ea8c165defb5e798b2aa7be3b31ef95a82c4d76 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Nov 7 22:09:42 2019 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Nov 7 22:10:16 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ea8c165 x11-misc/nitrogen: Add live ebuild Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Jeroen Roovers gentoo.org> x11-misc/nitrogen/nitrogen-99999.ebuild | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/x11-misc/nitrogen/nitrogen-99999.ebuild b/x11-misc/nitrogen/nitrogen-99999.ebuild new file mode 100644 index 00000000000..dec80fb27a1 --- /dev/null +++ b/x11-misc/nitrogen/nitrogen-99999.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools flag-o-matic git-r3 xdg-utils + +DESCRIPTION="A background browser and setter for X" +HOMEPAGE="https://github.com/l3ib/nitrogen" +EGIT_REPO_URI="https://github.com/l3ib/${PN}" + +IUSE="nls xinerama" +KEYWORDS="" +LICENSE="GPL-2" +SLOT="0" + +RDEPEND=" + >=dev-cpp/gtkmm-2.10:2.4 + >=gnome-base/librsvg-2.20:2 + >=x11-libs/gtk+-2.10:2 + xinerama? ( x11-libs/libXinerama ) +" +BDEPEND=" + ${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext ) + xinerama? ( x11-base/xorg-proto ) +" + +src_prepare() { + default + + sed -i -e '/^UPDATE_DESKTOP/s#=.*#= :#g' data/Makefile.am || die + + eautoreconf +} + +src_configure() { + append-cxxflags -std=c++11 + econf \ + $(use_enable nls) \ + $(use_enable xinerama) +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +}