summaryrefslogtreecommitdiff
path: root/app-misc/piper
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/piper')
-rw-r--r--app-misc/piper/Manifest6
-rw-r--r--app-misc/piper/piper-0.7-r1.ebuild3
-rw-r--r--app-misc/piper/piper-0.8.ebuild64
-rw-r--r--app-misc/piper/piper-9999.ebuild13
4 files changed, 74 insertions, 12 deletions
diff --git a/app-misc/piper/Manifest b/app-misc/piper/Manifest
index 513f5335692b..dc48dc9bfa7e 100644
--- a/app-misc/piper/Manifest
+++ b/app-misc/piper/Manifest
@@ -1,5 +1,7 @@
AUX piper-0.7-fix-tests.patch 3238 BLAKE2B 289ef09b85964cee3085403e1f26dca52ee29e685c67f46cebf393798712e24b68eec1e325ce506a0961501064e888d7babd4c2a2159b8a5cbc8674fe08531c9 SHA512 0075e11f27172b753977eec0f94a3197a9cd68e3f55c6e18b91a0577440555bc940bb61eae56a778fa943e2a3c54ef21dee8c619efde49653b71fc436c5b1ce8
DIST piper-0.7.tar.gz 271658 BLAKE2B 8d3d411cc771a286ae0d7654b6d70f394e11edb182924619195b947d0d54df4db308e94aceebe0754ddd446538f1dce2ccb88dbf1cd44595b614d852e7394698 SHA512 fcbc30a4954ea6b0aa67c66052eab1e6b2d3039c927eeddcfc8b03d00f1c91e8f0ae80788ba0e4f053a612b03f594e74fd119dd11f52dd47608c99602e7e4940
-EBUILD piper-0.7-r1.ebuild 1505 BLAKE2B 92ccae5f689fb0fbb733da2435f288b1c707ea83911064af3e720249430e98b6d5ecac8712e36ff6b2f136f5c8081ca6121dbe7e4e2ca4124ea26f96dd3bdc56 SHA512 6b14cee36f57bd0b2f1ba9a647304009d9ecd31befdad84e956f4cff6a3328aee11543fc696b031a68119ef957311227cf2755c47d63aa364ed9b1a8ecf4b0de
-EBUILD piper-9999.ebuild 1406 BLAKE2B 43d8334feaa6eed0e53480947609f73117de3e32a5801f190bf864f2d61b8703dd7f4033b7779d2b8e90a6cb53efc862cc323f9eba3eeae7da3f60f8651277ef SHA512 f3d9be4fc0b1e739c6d67dfc483268ee09e4a3a273f21ba2dc50e6b7b2d3407c148746514f5780edf73853a35dd2fea468485b0f1653c87b7a79d4936224d3cb
+DIST piper-0.8.tar.gz 318558 BLAKE2B 170426c35899841a3317d0cd37d253fab524848fbe5ebf1c2e670c56c962bf9f7a39bccd1dea43bbf0d5c6a158e795df63e84ddb0422fec4fd92142d70fccbc8 SHA512 c0a05262262a1284911c976ab934653f8a3699066ef1d791669169c1e6c5db62dba0fcccc32d6bc68b996a2c2b8e96a6567761d01417a03d7dbb41010dd95cd8
+EBUILD piper-0.7-r1.ebuild 1531 BLAKE2B 0f35ea1b639b3a5fb3f6174db6b1c2488a159afb0c5054a262eef1da8efc73a7962f3ad5e8baebafb6c9c6f4083e016e825893510a5a6ae16420f2a3893a6767 SHA512 5e35b630b3f83fcb4f0404582cdb1cee47adbb3b214f9b7b748ef657eef6a50dcd9907e723b8aede6b896191ab703907d1a01c2f33ef9474ee768d2d20fe0302
+EBUILD piper-0.8.ebuild 1333 BLAKE2B 612724a197b52e5dedd1d113718df4ad2555203e949e56ba0b2edc249065ecba5eb24e6f9fe980a9c50f20e524935c7cfc6de8f0f76a670aceb1d12ea42ea794 SHA512 559fc27444999a49a8929105378b87d154630fdc59cdabc83777c60568cb45aecbb72aa654d72a4fd2f58a816301446adf1268fb0096cc457e1e684235f8f1b3
+EBUILD piper-9999.ebuild 1333 BLAKE2B 612724a197b52e5dedd1d113718df4ad2555203e949e56ba0b2edc249065ecba5eb24e6f9fe980a9c50f20e524935c7cfc6de8f0f76a670aceb1d12ea42ea794 SHA512 559fc27444999a49a8929105378b87d154630fdc59cdabc83777c60568cb45aecbb72aa654d72a4fd2f58a816301446adf1268fb0096cc457e1e684235f8f1b3
MISC metadata.xml 1076 BLAKE2B 4c00bb84f4267ec8cad1f915ca0ed6ef35144aa8039eb8fde7a0674dde5320eb29ffc0ed840dd8dcf68af5663ab9816e779f05b492863bdc73305e878cf90e71 SHA512 44c9ef8d2171a168a116425d05832b58bd8490348e00d3d875fca2a957008cbc154fb7b66add99a4b1ff323aaf4cca716e25d47e3376b12188c85c67971ee70e
diff --git a/app-misc/piper/piper-0.7-r1.ebuild b/app-misc/piper/piper-0.7-r1.ebuild
index ec2d208c5f69..9fec0194967c 100644
--- a/app-misc/piper/piper-0.7-r1.ebuild
+++ b/app-misc/piper/piper-0.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -41,6 +41,7 @@ RDEPEND="
${PYTHON_DEPS}
dev-libs/gobject-introspection
>=dev-libs/libratbag-0.14
+ <dev-libs/libratbag-0.18
gnome-base/librsvg[introspection]
x11-libs/gdk-pixbuf[introspection]
x11-libs/gtk+:3[introspection]
diff --git a/app-misc/piper/piper-0.8.ebuild b/app-misc/piper/piper-0.8.ebuild
new file mode 100644
index 000000000000..82febf98c57d
--- /dev/null
+++ b/app-misc/piper/piper-0.8.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit meson python-single-r1 xdg
+
+DESCRIPTION="GTK application to configure gaming devices"
+HOMEPAGE="https://github.com/libratbag/piper"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/libratbag/piper.git"
+else
+ SRC_URI="https://github.com/libratbag/piper/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/lxml[${PYTHON_USEDEP}]
+ ')
+ virtual/pkgconfig
+ test? ( dev-libs/appstream )
+"
+RDEPEND="
+ ${PYTHON_DEPS}
+ dev-libs/gobject-introspection
+ >=dev-libs/libratbag-0.18
+ gnome-base/librsvg[introspection]
+ x11-libs/gdk-pixbuf[introspection]
+ x11-libs/gtk+:3[introspection]
+ $(python_gen_cond_dep '
+ dev-python/evdev[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
+ ')
+"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/libevdev
+ virtual/libudev
+"
+
+src_configure() {
+ python_setup
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ python_optimize
+ python_fix_shebang "${ED}"/usr/bin/
+}
diff --git a/app-misc/piper/piper-9999.ebuild b/app-misc/piper/piper-9999.ebuild
index 0631b1a08ae6..82febf98c57d 100644
--- a/app-misc/piper/piper-9999.ebuild
+++ b/app-misc/piper/piper-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit meson python-single-r1 xdg
@@ -30,17 +30,12 @@ BDEPEND="
dev-python/lxml[${PYTHON_USEDEP}]
')
virtual/pkgconfig
- test? (
- $(python_gen_cond_dep '
- dev-python/flake8[${PYTHON_USEDEP}]
- ')
- dev-libs/appstream
- )
+ test? ( dev-libs/appstream )
"
RDEPEND="
${PYTHON_DEPS}
dev-libs/gobject-introspection
- >=dev-libs/libratbag-0.14
+ >=dev-libs/libratbag-0.18
gnome-base/librsvg[introspection]
x11-libs/gdk-pixbuf[introspection]
x11-libs/gtk+:3[introspection]