summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-util/qtsixa/Manifest6
-rwxr-xr-xgames-util/qtsixa/files/sixad.initd20
-rw-r--r--games-util/qtsixa/metadata.xml3
-rw-r--r--games-util/qtsixa/qtsixa-1.5.1.ebuild12
4 files changed, 30 insertions, 11 deletions
diff --git a/games-util/qtsixa/Manifest b/games-util/qtsixa/Manifest
index 30f100d3b..4e92bc023 100644
--- a/games-util/qtsixa/Manifest
+++ b/games-util/qtsixa/Manifest
@@ -1,7 +1,7 @@
AUX 97-sixpair.rules 91 SHA256 a85575f71d98c872173f5e1e44f26f2511c8cb684ea5046637579892a54de125 SHA512 47e8248855567e74ed07f6350e366051a74e7b65d5c3ea9583d9d685d19087ba7b378eb0625df260e4f0719a38dfab8355e9363ca148340cedac30152ffba44b WHIRLPOOL 9128abc7db3bc9420b525942a355d6769e7b78826f09456a74220a90e53fb620711ca3020b3425876a9452d3c03811e96d9adee42f816f9b1de29ac26aeac6bc
AUX qtsixa-1.5.1-fix-missing-includes.patch 2381 SHA256 3b1efe3a418e77aa0a8c2c6076ced5c6ac35b32f018b19e8f351ebba4d1a4fdb SHA512 0aacbb78c64a394d41a645bc6524be838103544717c416d651211bf6ada23e2ba5a35b73f151cf4be95cc1f27a3b020348e1e44b3c5af0c605a7d0b3bdd07547 WHIRLPOOL 80969db4446e0c352f575e5a88bcc9c704948231a0bbd25a7f359390f3e2907e07835e2ef88bc15d4f9f6232d7877394f1888efd8d3dcf5ef4050a21a8e4aa48
-AUX sixad.init 406 SHA256 af737b265383966733a641dbe94e164bb0922de71cd8552c7bd1dd0dd8236728 SHA512 d0ef9ef3ce71b40b032c2354cee6e43e74941e085341c672ec05102067cc684ff7ab4a51d3f921a44ada2bb0d99cf537a9e386a287a2963c8b2431ffaba89760 WHIRLPOOL c70667cb0a6118c569f6df8bf664ed321c5d79aaf444002feec559570d9f6c98450ac957458c941ca57cfe8529e6d1f9eb748e17be62430bde54b7df6721351f
+AUX sixad.initd 412 SHA256 847b502aa476a71d605285bcaa610c938c1ba3af1acd2ae09f677759c7773f1a SHA512 175dc187287cc2630f43266912337572b7b8fc5647a979af5546746e903aa9a3f36ecfa52b7f363f505c2c621e35dcbbd79f4a35302c1de6969d61ac524c4567 WHIRLPOOL 70e77709a84bd86cf3721ab5f3324c70f24ec1819b32f68bfb4c3eb4cdb08228ce0d2f8100fd12e350b6b688759962183d34cef84fedafd19d7b59abf9a5e1b7
AUX sixad.service 310 SHA256 3731d19468f1f9f6a2d6809a6ab6d6b844e0749fa886bf7aa4214dbb07e263e3 SHA512 a706789955608624d334552e153c21ef4da4a6874111231dd50a726c07e7664c0271b517037d56defa2f8810e4f043d88ee0a78076c120d5432f31bf76f74438 WHIRLPOOL f0738fd2419b3278d52e3a396d534ccf227d20222e77b01c148d8c82fab90db07eee9732c630d31f7e6012cdedd1052f2da6f943396e45e257fb9f8a5b2581d9
DIST QtSixA-1.5.1-src.tar.gz 930296 SHA256 4111a4f9b4fa38246594d74bd03d75d43cf8b079251de0436094b5b0101336ff SHA512 53e8988f3eac730fc116347d32ed45c975bb176b4a4e9b13b3854db735d64c5de32be9fd845ee84d860f025aa60c01776a7ad1f2eca74c6a8a137e132c9239fe WHIRLPOOL 3fda14fa823ac4b84233d51e3d201a8500b4e588da07af0b5ad9080e5dce276119f3e4e6b8361bc070654980a0b0fa1e15fe0cc7aaaa71198c3b099c6958af16
-EBUILD qtsixa-1.5.1.ebuild 2567 SHA256 4d2f1833e86fcfd8a6d6877ab4a89f9184f8367bd05650cc7f26a4dd33468434 SHA512 c291c128b5cffc638c184eba0f254dec2349bd868a1e74f2e97329c77c43fd8aa5a3b2ea51fa58aeb90ec4d90ecb08e99d83f6c5855c2f994216056041adb1db WHIRLPOOL 13fdd1ea66819773b29bbf1a7c809f929102c877e4a3144f35521e9d0b8292fbe68da1bf4fd49da0151eaf953a0436093845f7a9bfdaadd2b21f851b15245cc6
-MISC metadata.xml 264 SHA256 a6c0645373a0d057f6107a9c0a263448eb7089f32a87f4deda24c2c88303817d SHA512 5d1ccae9f3935301fdf9b67f1334005a38c296a3269a960bfb683e79cec779898bd2e79c89bb642ef7cb70307b950041df1b005a9a95aaf415a219847e36f252 WHIRLPOOL 31d9d7c7d2d23128ef9db52c3872f917744ccf77160638c6ac53f29ccb2232af1cd5a7c7d9bcd1daa7c9c1fc4016a9ff17b6536a026bcb2ecfd9febceaa52a41
+EBUILD qtsixa-1.5.1.ebuild 2701 SHA256 230f5e65961dfb67d5bf5b739c4ddb217f63ec11374e3c3aa6648e5621b1e352 SHA512 813c3eeff6b5b1db0e4b194a5be89632f611d4128da710b1a08befe98407ab86a6a66c73e731b4227bb3fb1c3ccebd6721de47c0889ce3a6d2cf58b83ddcc334 WHIRLPOOL 3de822bc1d4e8e19baefad12c119f9913481e250206cc82e893ae23855c3a5fd0979042291bd6b698ae4e1baab9820658318f6474ebcab7394aafd18c68d3392
+MISC metadata.xml 214 SHA256 c1f09dc7d5313cd2da7b82259c7846ed23144d62b15e59680ada90e2b6b4d154 SHA512 aeb2fb354a9ddf41c45a071091a58b91eaf8b25d6d2c49e3e3daa547b591a54530144de4533573160b48dc356289c909612c4e3c80e387f081f88cb39263e130 WHIRLPOOL 54d8861daedd18ca38e4ada0fb71026c612b63946d47a9b34de90d1d6d85c8ce05c0a4b97730f554ea637d73ccce8ed207d33e707c2b8c1dd28af24cf44dd186
diff --git a/games-util/qtsixa/files/sixad.initd b/games-util/qtsixa/files/sixad.initd
new file mode 100755
index 000000000..c5fc46c61
--- /dev/null
+++ b/games-util/qtsixa/files/sixad.initd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+depend() {
+ need bluetooth
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ start-stop-daemon --start --exec /usr/sbin/sixad-bin -- 0 0 0
+ eend $?
+}
+
+stop() {
+ ebegin "Shutting down ${SVCNAME}"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/sixad-bin -- 0 0 0
+ eend $?
+}
diff --git a/games-util/qtsixa/metadata.xml b/games-util/qtsixa/metadata.xml
index 30ee0e45d..cc3fe2494 100644
--- a/games-util/qtsixa/metadata.xml
+++ b/games-util/qtsixa/metadata.xml
@@ -4,7 +4,4 @@
<maintainer>
<email>maintainer-wanted@gentoo.org</email>
</maintainer>
- <longdescription lang="en">
- </longdescription>
</pkgmetadata>
-
diff --git a/games-util/qtsixa/qtsixa-1.5.1.ebuild b/games-util/qtsixa/qtsixa-1.5.1.ebuild
index 8fcc509a4..79e900e9e 100644
--- a/games-util/qtsixa/qtsixa-1.5.1.ebuild
+++ b/games-util/qtsixa/qtsixa-1.5.1.ebuild
@@ -35,7 +35,8 @@ S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}"/qtsixa-1.5.1-fix-missing-includes.patch
- sed -i -e s/exec\ python/exec\ "${EPYTHON}"/g qtsixa/qtsixa
+ sed -i -e s/exec\ python/exec\ "${EPYTHON}"/g qtsixa/qtsixa || \
+ die "Replace hardcoded python executable fails."
}
src_compile() {
@@ -61,13 +62,14 @@ src_install() {
# Remove unused configuration file.
# Since we are using hand-written startup files.
# We could coexist with the bluetooth daemon if input plugin is disabled.
- rm -rf "${D}etc/default"
+ rm -r "${D}etc/default" || die "Remove not needed configuration file fails."
# Remove unused logrotate configuration file.
- rm -rf "${D}etc/logrotate.d"
+ rm -r "${D}etc/logrotate.d" || \
+ die "Remove not needed log configuration fails."
# Use our own init script compatible with OpenRC.
- cp "${FILESDIR}"/sixad.init "${D}etc/init.d/sixad"
+ newinitd "${FILESDIR}"/sixad.initd sixad
# Install systemd unit file.
systemd_dounit "${FILESDIR}"/sixad.service
@@ -77,7 +79,7 @@ src_install() {
}
pkg_postinst() {
- udevadm control --reload-rules
+ udev_reload
einfo "Requirements:"
einfo "Ensure that the uinput module is loaded."