summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-01-29 23:43:00 -0500
committerIonen Wolkens <ionen@gentoo.org>2022-01-29 23:52:04 -0500
commit97dec9139d936d336bf35455d80829585d835031 (patch)
tree2677d98d1fdb364b60ee1598d409330b7f6d04f0 /x11-misc
parentx11-misc/devilspie2: add github remote-id (diff)
downloadgentoo-97dec9139d936d336bf35455d80829585d835031.tar.gz
gentoo-97dec9139d936d336bf35455d80829585d835031.tar.bz2
gentoo-97dec9139d936d336bf35455d80829585d835031.zip
x11-misc/devilspie2: add 0.44
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/devilspie2/Manifest1
-rw-r--r--x11-misc/devilspie2/devilspie2-0.44.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/x11-misc/devilspie2/Manifest b/x11-misc/devilspie2/Manifest
index 7deddd722f8e..9de4f0a7d04f 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.43-src.tar.gz 48666 BLAKE2B 3657693547f1dbdfe8542f123601f228086261855dc8e99997cea76ef586b744aacb260222000300dbe34d3030646044fc046e94c2285e6386995853ceaaffda SHA512 0f44f3991e31f68a2d38eac32ea6fe4275a56e8b5e9439490d1e819fd69b5455ede565aa2b09b70c20ac852c465ac2c05c339ae1e5c1b7824685c46a28871abd
diff --git a/x11-misc/devilspie2/devilspie2-0.44.ebuild b/x11-misc/devilspie2/devilspie2-0.44.ebuild
new file mode 100644
index 000000000000..46b7dd07d740
--- /dev/null
+++ b/x11-misc/devilspie2/devilspie2-0.44.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2022 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}.tar.xz"
+
+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/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
+}