Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 752885 | Differences between
and this patch

Collapse All | Expand All

(-)a/x11-misc/devilspie2/devilspie2-0.43-r1.ebuild (+46 lines)
Line 0 Link Here
1
# Copyright 1999-2020 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
PLOCALES="fi fr it ja nl pt_BR ru sv"
6
LUA_COMPAT=( luajit lua5-{1..3} )
7
inherit lua-single toolchain-funcs l10n
8
9
DESCRIPTION="Devilspie like window matching utility, using LUA for scripting"
10
HOMEPAGE="https://www.nongnu.org/devilspie2/"
11
SRC_URI="https://download.savannah.gnu.org/releases/devilspie2/devilspie2_${PV}-src.tar.gz"
12
13
LICENSE="GPL-3"
14
SLOT="0"
15
KEYWORDS="~amd64 ~x86"
16
REQUIRED_USE="${LUA_REQUIRED_USE}"
17
18
RDEPEND="
19
	${LUA_DEPS}
20
	>=dev-libs/glib-2.32.4:2
21
	>=x11-libs/gtk+-3.4.4:3
22
	>=x11-libs/libwnck-3.4.4:3
23
	x11-libs/libX11
24
"
25
DEPEND="
26
	${RDEPEND}
27
	x11-base/xorg-proto
28
"
29
BDEPEND="
30
	sys-devel/gettext
31
	virtual/pkgconfig
32
"
33
34
PATCHES=(
35
	"${FILESDIR}/${PN}-0.43-lua-pkgconfig.patch"
36
)
37
38
src_compile() {
39
	emake CC="$(tc-getCC)" PREFIX="/usr" LANGUAGES="$(l10n_get_locales)"
40
}
41
42
src_install() {
43
	emake PREFIX="/usr" DESTDIR="${D}" LANGUAGES="$(l10n_get_locales)" install
44
	einstalldocs
45
	doman devilspie2.1
46
}

Return to bug 752885