commit: 3b66ce73a471d993ef86e92545b5fcfd2706e01d
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 19 01:17:01 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 01:28:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b66ce73
x11-misc/devilspie2: add 0.45
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
x11-misc/devilspie2/Manifest | 1 +
x11-misc/devilspie2/devilspie2-0.45.ebuild | 55 ++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/x11-misc/devilspie2/Manifest b/x11-misc/devilspie2/Manifest
index 0f51d753732b..f3a750b2b5a7 100644
--- a/x11-misc/devilspie2/Manifest
+++ b/x11-misc/devilspie2/Manifest
@@ -1 +1,2 @@
DIST devilspie2-0.44.tar.xz 46028 BLAKE2B
e9ec3115781575c331d91e982fd1c71361ea57004a1b7ff234957998d3d44fd4e9a0ca1fde9d133e9e4c2d01b6e8d192921554eae8b83acfb0e3fa44b0c9fd23
SHA512
f01f2d044a670dd9b1b97e896a3e8ebcac3e67daea9f08a14bce26fe8084b85f7fdaa0ed147aba91626200f882eddeba7e0ec18f0f565cb7557ffb2ac74a4a64
+DIST devilspie2_0.45-src.tar.gz 59202 BLAKE2B
8b8fc5c9a91f0e8c2ff8494c52f6c6e406babb86ed8985573b2509ed4d4741d81dff8bab6267508d727a2d73abd031d4d4d74e7ac1a05948e331b8712b1b390c
SHA512
4dc9e8c81cf2b20e828509483243d23fbd296955050d3d4c4693754b62762d44022f4969a077bd7d75e6b0e0c89168c31c09b1dc345bf3275b444b9b6c9e0515
diff --git a/x11-misc/devilspie2/devilspie2-0.45.ebuild
b/x11-misc/devilspie2/devilspie2-0.45.ebuild
new file mode 100644
index 000000000000..d8a404af85ca
--- /dev/null
+++ b/x11-misc/devilspie2/devilspie2-0.45.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+inherit lua-single plocale toolchain-funcs
+
+DESCRIPTION="Window matching utility with Lua scripting"
+HOMEPAGE="https://www.nongnu.org/devilspie2/"
+SRC_URI="mirror://nongnu/${PN}/${P/-/_}-src.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="
+ ${LUA_DEPS}
+ dev-libs/glib:2
+ x11-libs/gtk+:3
+ x11-libs/libX11
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libwnck:3
+"
+DEPEND="
+ ${RDEPEND}
+ x11-base/xorg-proto
+"
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+
+src_compile() {
+ tc-export CC PKG_CONFIG
+
+ local PLOCALES="fi fr it ja nl pt_BR ru sv"
+
+ DEVILSPIE2_ARGS=(
+ PREFIX="${EPREFIX}"/usr
+ LANGUAGES="$(plocale_get_locales)"
+ LUA="${ELUA}"
+ )
+
+ emake "${DEVILSPIE2_ARGS[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" "${DEVILSPIE2_ARGS[@]}" install
+ einstalldocs
+
+ dodoc -r doc/examples
+}