Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/devilspie2/
Date: Sun, 30 Jan 2022 04:53:43
Message-Id: 1643518324.97dec9139d936d336bf35455d80829585d835031.ionen@gentoo
1 commit: 97dec9139d936d336bf35455d80829585d835031
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 04:43:00 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 04:52:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97dec913
7
8 x11-misc/devilspie2: add 0.44
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 x11-misc/devilspie2/Manifest | 1 +
13 x11-misc/devilspie2/devilspie2-0.44.ebuild | 51 ++++++++++++++++++++++++++++++
14 2 files changed, 52 insertions(+)
15
16 diff --git a/x11-misc/devilspie2/Manifest b/x11-misc/devilspie2/Manifest
17 index 7deddd722f8e..9de4f0a7d04f 100644
18 --- a/x11-misc/devilspie2/Manifest
19 +++ b/x11-misc/devilspie2/Manifest
20 @@ -1 +1,2 @@
21 +DIST devilspie2-0.44.tar.xz 46028 BLAKE2B e9ec3115781575c331d91e982fd1c71361ea57004a1b7ff234957998d3d44fd4e9a0ca1fde9d133e9e4c2d01b6e8d192921554eae8b83acfb0e3fa44b0c9fd23 SHA512 f01f2d044a670dd9b1b97e896a3e8ebcac3e67daea9f08a14bce26fe8084b85f7fdaa0ed147aba91626200f882eddeba7e0ec18f0f565cb7557ffb2ac74a4a64
22 DIST devilspie2_0.43-src.tar.gz 48666 BLAKE2B 3657693547f1dbdfe8542f123601f228086261855dc8e99997cea76ef586b744aacb260222000300dbe34d3030646044fc046e94c2285e6386995853ceaaffda SHA512 0f44f3991e31f68a2d38eac32ea6fe4275a56e8b5e9439490d1e819fd69b5455ede565aa2b09b70c20ac852c465ac2c05c339ae1e5c1b7824685c46a28871abd
23
24 diff --git a/x11-misc/devilspie2/devilspie2-0.44.ebuild b/x11-misc/devilspie2/devilspie2-0.44.ebuild
25 new file mode 100644
26 index 000000000000..46b7dd07d740
27 --- /dev/null
28 +++ b/x11-misc/devilspie2/devilspie2-0.44.ebuild
29 @@ -0,0 +1,51 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +LUA_COMPAT=( lua5-{1..4} luajit )
36 +inherit lua-single plocale toolchain-funcs
37 +
38 +DESCRIPTION="Window matching utility with Lua scripting"
39 +HOMEPAGE="https://www.nongnu.org/devilspie2/"
40 +SRC_URI="mirror://nongnu/${PN}/${P}.tar.xz"
41 +
42 +LICENSE="GPL-3+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +REQUIRED_USE="${LUA_REQUIRED_USE}"
46 +
47 +RDEPEND="
48 + ${LUA_DEPS}
49 + dev-libs/glib:2
50 + x11-libs/gtk+:3
51 + x11-libs/libX11
52 + x11-libs/libXinerama
53 + x11-libs/libwnck:3"
54 +DEPEND="
55 + ${RDEPEND}
56 + x11-base/xorg-proto"
57 +BDEPEND="
58 + sys-devel/gettext
59 + virtual/pkgconfig"
60 +
61 +src_compile() {
62 + tc-export CC PKG_CONFIG
63 +
64 + local PLOCALES="fi fr it ja nl pt_BR ru sv"
65 +
66 + DEVILSPIE2_ARGS=(
67 + PREFIX="${EPREFIX}"/usr
68 + LANGUAGES="$(plocale_get_locales)"
69 + LUA=${ELUA}
70 + )
71 +
72 + emake "${DEVILSPIE2_ARGS[@]}"
73 +}
74 +
75 +src_install() {
76 + emake DESTDIR="${D}" "${DEVILSPIE2_ARGS[@]}" install
77 + einstalldocs
78 +
79 + dodoc -r doc/examples
80 +}