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 ABDA6139695 for ; Sun, 30 Jul 2017 07:27:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D47C71FC148; Sun, 30 Jul 2017 07:27:30 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 A8CCC1FC145 for ; Sun, 30 Jul 2017 07:27:30 +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 9443F341A93 for ; Sun, 30 Jul 2017 07:27:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 352B274BC for ; Sun, 30 Jul 2017 07:27:28 +0000 (UTC) From: "Andreas Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Hüttel" Message-ID: <1501399613.29d348ab6b3552954688908e9740d71e37f92e17.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-themes/gtk-chtheme/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild X-VCS-Directories: x11-themes/gtk-chtheme/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas Hüttel X-VCS-Revision: 29d348ab6b3552954688908e9740d71e37f92e17 X-VCS-Branch: master Date: Sun, 30 Jul 2017 07:27:28 +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-Archives-Salt: 239e2e0c-e0c0-4ffc-a6a0-c1bdce835e74 X-Archives-Hash: b650b6aec10f2f941e9d0dab7dd3ae72 commit: 29d348ab6b3552954688908e9740d71e37f92e17 Author: Andreas K. Hüttel gentoo org> AuthorDate: Sun Jul 30 06:56:21 2017 +0000 Commit: Andreas Hüttel gentoo org> CommitDate: Sun Jul 30 07:26:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29d348ab x11-themes/gtk-chtheme: EAPI bump, bug 605728 Package-Manager: Portage-2.3.6, Repoman-2.3.3 x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild b/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild new file mode 100644 index 00000000000..2adbbc6017e --- /dev/null +++ b/x11-themes/gtk-chtheme/gtk-chtheme-0.3.1-r3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +DESCRIPTION="GTK-2.0 Theme Switcher" +HOMEPAGE="http://plasmasturm.org/programs/gtk-chtheme/" +SRC_URI="http://plasmasturm.org/programs/gtk-chtheme/${P}.tar.bz2" + +IUSE="" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" +LICENSE="GPL-2" + +RDEPEND="x11-libs/gtk+:2" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-implicit.patch + "${FILESDIR}/${P}-asneeded.patch" # Fix forced as-needed, bug #248655 + "${FILESDIR}/${P}-qgtkstyle.patch" # Make it work with qgtkstyle, bug #250504 +) + +src_prepare() { + # QA: stop Makefile from stripping the binaries + sed -i -e "s:strip:true:" "${S}"/Makefile || die "sed failed" + + default +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${ED}" install +}