diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-21 06:42:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-21 06:42:16 +0000 |
commit | 30c47f3c341cb37e4808aaa3842b679d0ca420e8 (patch) | |
tree | 30eb5383b9ae93fec49d9a5660b34201e6190933 /dev-libs/libratbag | |
parent | cd57012a0ef40d302cf7d5a92dd2f3dfae285d2f (diff) |
gentoo auto-resync : 21:01:2025 - 06:42:16
Diffstat (limited to 'dev-libs/libratbag')
-rw-r--r-- | dev-libs/libratbag/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/libratbag/files/ratbagd.init-r1 | 13 | ||||
-rw-r--r-- | dev-libs/libratbag/libratbag-0.17-r2.ebuild | 11 | ||||
-rw-r--r-- | dev-libs/libratbag/libratbag-0.18.ebuild (renamed from dev-libs/libratbag/libratbag-0.17-r1.ebuild) | 21 | ||||
-rw-r--r-- | dev-libs/libratbag/libratbag-9999.ebuild | 21 |
5 files changed, 61 insertions, 13 deletions
diff --git a/dev-libs/libratbag/Manifest b/dev-libs/libratbag/Manifest index bfb1d005c41d..6654f0352cc9 100644 --- a/dev-libs/libratbag/Manifest +++ b/dev-libs/libratbag/Manifest @@ -1,7 +1,9 @@ AUX libratbag-0.17-python3.12-imp.patch 1345 BLAKE2B 8b65589c91e7f8f1b81bb88961eb5b549c12f16bef5ae8d435d9c8fc3c233d44e04d5d94f317fb0e0c0a3bf3b31956457ba0fbaa52fb7323ca48f772f03e7b70 SHA512 6272dcc3ea3b746e1976b985a2dd04c16eb30e950fb1f97e85a163416a0e2aacbb688c6f3e6bcc44b866ed04e48f4646bdc033ca039d9860ab868e5762d410e6 AUX ratbagd.init 336 BLAKE2B c6f2ef095cd7d929c3097a18e912ae4b3615bd0ebbdfdaa9f4151b312614c016af2f3581c2fbb2853472cb70ce47d5f26f254772fb9f3dabba2ce93626b672b7 SHA512 3908b3481b49bcebc84e3023ff911dcbc1773e4322356def0067ed4aa426184cf43e12de702e98210157d17c2806d57c1cb4bc79ddb0b8660036a6fe3974607e +AUX ratbagd.init-r1 337 BLAKE2B 5ea0a05146ce5a1cb2b1d57b04c07821494e56807e4fe104e8b2007f8530898cfbbba6297856bd7228acf7b061c380823d8edc71328955ac4d5cd12fd43e0200 SHA512 df3c9f534d9ef1b6c9c26842b5c81006e60544941b22b914bf9ed288a209753d86b5e6a1b55d5ff59adf5cf31d63af54ea6540bac78031ed3f73b9cf11251b54 DIST libratbag-0.17.tar.gz 279273 BLAKE2B 7252afc8bca5d95c24d61dbd68c4e486550df7d6d9fa74a8c9d2a58c6363ed2ee289c0d02cdd72c968618f5c08a0687c97836dd2c47b457ba4228f4716b50cb9 SHA512 80ab5c895d83e28b6b6adcd0669854944d7932ef037c8d64b923a7362399e861475e9d81c5ee2cf814f654d7796b00a81314cc177f34e13c8684d525974068c8 -EBUILD libratbag-0.17-r1.ebuild 2314 BLAKE2B 41f25df17270fd0f537d91534dade949bac360b80399ce8302b6fcc95c7b5c57d49c8699138756d3396bbf432db746c3ab8835b3181f3e33d79a4af5af68a4fe SHA512 8a5a703725c2dfc7fcf5440d3a3ebf3e35399078bb32a724a0bf8f41147c99b9cbdb8dfcc597c1647bcba12e7c70f42b96265b8f71569dd0e9719e8378a7204c -EBUILD libratbag-0.17-r2.ebuild 2378 BLAKE2B 9d7a0dc9b30be878e69e4147ea230a398ccf8358639bd399a31865356d12447dcfe70de97009d031c6c6f04aecc3c3bdbe164f25571c0a6f64bb422029fd19c6 SHA512 3c10d0316bd84746263b2e872e9de509e5b70d36daa6d20d6daedb85707260cb8d180a4a58df7a771d2a1738917c3bc0f3e298c0f46943ef92fbd720f5de4443 -EBUILD libratbag-9999.ebuild 2314 BLAKE2B 154fbe01378273fc6a0a7c2c4fe4824db1a5de068d8d58930cf32ffd93b40ce9a1b1c697b4de6780b04d0a0a8cf8e0252930f6a9a17547a6303f13a47bb41bc0 SHA512 e66b1202c01d54ecb458128bd52bc064e3519725c872867e72e068be4af0084efb5bce809022bbf7cd333444bac3eb90267f7dc2eda0dcec639d34b51f490072 +DIST libratbag-0.18.tar.gz 296737 BLAKE2B db691af43b3d2aeafcb31cdb4ce41504dd37a7a0a5a6d97bf2a3bee6840bbe49de25351990787436bc00a0dc80f5a20e31030069aa58ea8e38c7cad1029e39f8 SHA512 ae1796d738f7e448c6022c56cb876af5fb43e29b89fef31bbf42b9c838a07fd1d6cf94815dfde87dcd94a72bae159ca14624826b75cf83c988ba4c20340031cb +EBUILD libratbag-0.17-r2.ebuild 2480 BLAKE2B 0809a9c26b36306320a120ac9637ddf83c94bd09826a87066ba785976f9bef30a2c880cf7b456ad4d48ec2c17bb3d23be3c4881692656f5a557d1e26ded9ba8c SHA512 e9f79d113d82b73ffb630c6114a58caef9cce0a39e7dd235046b0c29836c5f114351603f48b0c5712c7969bad650c4afefbf9556530cc473a4afc9c4f6ead8a6 +EBUILD libratbag-0.18.ebuild 2649 BLAKE2B 0b23e4c0795d6fa4498994d6a3a36d98e22452e81be6584c9e957ae3a63061b880766ce5c2bfe13b7db5d2e0a53ea479bb6ca11baec2ff82d35d812b77f1f5a3 SHA512 b0c0c88bec9d9168232153029a77267673f75f6231fe4ec997d455259a911be29159fcbddc28d0f901976a4a3589361c7885fd6da8fa87688690a5021f289f27 +EBUILD libratbag-9999.ebuild 2649 BLAKE2B 0b23e4c0795d6fa4498994d6a3a36d98e22452e81be6584c9e957ae3a63061b880766ce5c2bfe13b7db5d2e0a53ea479bb6ca11baec2ff82d35d812b77f1f5a3 SHA512 b0c0c88bec9d9168232153029a77267673f75f6231fe4ec997d455259a911be29159fcbddc28d0f901976a4a3589361c7885fd6da8fa87688690a5021f289f27 MISC metadata.xml 490 BLAKE2B 1acac7162603488b92a2a99c2bf9ee12971b79d62b48ebea2bc6fdbb5e45f351002cb932cd6a8222fcd23acdffa77d4cd708b71459a5f557f668a9687da66efa SHA512 e55ba297fed6952b379b92bf14adfe02fd4a90a7f305d70126fb28ff12c63e64ff2781f378c279bd17392bf917d31f4ed2b3679b308ecf0e713e42eccbc9d1a0 diff --git a/dev-libs/libratbag/files/ratbagd.init-r1 b/dev-libs/libratbag/files/ratbagd.init-r1 new file mode 100644 index 000000000000..b92c22b55deb --- /dev/null +++ b/dev-libs/libratbag/files/ratbagd.init-r1 @@ -0,0 +1,13 @@ +#!/sbin/openrc-run +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +description="system daemon to introspect and modify configurable mice" +pidfile="/run/${SVCNAME}.pid" +command="/usr/sbin/ratbagd" +start_stop_daemon_args="--quiet" +command_background="true" + +depend() { + need dbus +} diff --git a/dev-libs/libratbag/libratbag-0.17-r2.ebuild b/dev-libs/libratbag/libratbag-0.17-r2.ebuild index 7620f30d382d..052a4ed12603 100644 --- a/dev-libs/libratbag/libratbag-0.17-r2.ebuild +++ b/dev-libs/libratbag/libratbag-0.17-r2.ebuild @@ -1,11 +1,11 @@ -# 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} ) -inherit meson python-single-r1 systemd udev +inherit linux-info meson python-single-r1 systemd udev DESCRIPTION="Library to configure gaming mice" HOMEPAGE="https://github.com/libratbag/libratbag" @@ -67,10 +67,17 @@ DEPEND=" dev-libs/gobject-introspection " +CONFIG_CHECK="~HIDRAW" + PATCHES=( "${FILESDIR}"/libratbag-0.17-python3.12-imp.patch ) +pkg_setup() { + linux-info_pkg_setup + python-single-r1_pkg_setup +} + src_prepare() { default diff --git a/dev-libs/libratbag/libratbag-0.17-r1.ebuild b/dev-libs/libratbag/libratbag-0.18.ebuild index e1cf833f0ff6..9f30a435f111 100644 --- a/dev-libs/libratbag/libratbag-0.17-r1.ebuild +++ b/dev-libs/libratbag/libratbag-0.18.ebuild @@ -1,11 +1,11 @@ -# 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..11} ) +PYTHON_COMPAT=( python3_{10..13} ) -inherit meson python-single-r1 systemd udev +inherit linux-info meson python-single-r1 systemd udev DESCRIPTION="Library to configure gaming mice" HOMEPAGE="https://github.com/libratbag/libratbag" @@ -67,6 +67,13 @@ DEPEND=" dev-libs/gobject-introspection " +CONFIG_CHECK="~HIDRAW" + +pkg_setup() { + linux-info_pkg_setup + python-single-r1_pkg_setup +} + src_prepare() { default @@ -93,10 +100,16 @@ src_configure() { meson_src_configure } +src_test() { + # ratbagctl-test writes a "devel" D-Bus policy to the build host. Note that + # test must be run as root with FEATURES="-userpriv" or it is skipped. + SANDBOX_WRITE+=":${EPREFIX}/etc/dbus-1/system.d" meson_src_test +} + src_install() { meson_src_install python_fix_shebang "${ED}"/usr/bin/ - newinitd "${FILESDIR}"/ratbagd.init ratbagd + newinitd "${FILESDIR}"/ratbagd.init-r1 ratbagd } pkg_postinst() { diff --git a/dev-libs/libratbag/libratbag-9999.ebuild b/dev-libs/libratbag/libratbag-9999.ebuild index 47fc210ab543..9f30a435f111 100644 --- a/dev-libs/libratbag/libratbag-9999.ebuild +++ b/dev-libs/libratbag/libratbag-9999.ebuild @@ -1,11 +1,11 @@ -# 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 systemd udev +inherit linux-info meson python-single-r1 systemd udev DESCRIPTION="Library to configure gaming mice" HOMEPAGE="https://github.com/libratbag/libratbag" @@ -67,6 +67,13 @@ DEPEND=" dev-libs/gobject-introspection " +CONFIG_CHECK="~HIDRAW" + +pkg_setup() { + linux-info_pkg_setup + python-single-r1_pkg_setup +} + src_prepare() { default @@ -93,10 +100,16 @@ src_configure() { meson_src_configure } +src_test() { + # ratbagctl-test writes a "devel" D-Bus policy to the build host. Note that + # test must be run as root with FEATURES="-userpriv" or it is skipped. + SANDBOX_WRITE+=":${EPREFIX}/etc/dbus-1/system.d" meson_src_test +} + src_install() { meson_src_install python_fix_shebang "${ED}"/usr/bin/ - newinitd "${FILESDIR}"/ratbagd.init ratbagd + newinitd "${FILESDIR}"/ratbagd.init-r1 ratbagd } pkg_postinst() { |