Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 663810
Collapse All | Expand All

(-)a/x11-themes/gtk-theme-switch/gtk-theme-switch-2.1.0-r1.ebuild (+36 lines)
Line 0 Link Here
1
# Copyright 1999-2018 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
6
inherit toolchain-funcs
7
8
DESCRIPTION="Utility to switch and preview GTK+ theme"
9
HOMEPAGE="https://packages.qa.debian.org/g/gtk-theme-switch.html"
10
SRC_URI="mirror://debian/pool/main/g/${PN}/${PN}_${PV}.orig.tar.gz"
11
12
LICENSE="GPL-2"
13
SLOT="0"
14
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
15
16
RDEPEND="x11-libs/gtk+:2"
17
DEPEND="${RDEPEND}"
18
BDEPEND="virtual/pkgconfig"
19
20
src_prepare() {
21
	default
22
	sed -i \
23
		-e 's:${GCC}:$(CC) $(LDFLAGS):' \
24
		Makefile || die
25
}
26
27
src_compile() {
28
	tc-export CC
29
	emake CFLAGS="${CFLAGS} -Wall"
30
}
31
32
src_install() {
33
	newbin ${PN}2 ${PN}
34
	newman ${PN}2.1 ${PN}.1
35
	dodoc ChangeLog readme todo
36
}

Return to bug 663810