diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2013-09-08 16:25:34 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2013-09-08 16:25:34 +0000 |
commit | 623db6f0f5815db9f5d2fb4609600d9937cee756 (patch) | |
tree | 6126056b01cca8a5b0ad9fe9e028ee22f193540d /sys-apps | |
parent | Initial commit. Ebuild by Dmitry Pisklov <dpisklov@gmail.com>. He will also b... (diff) | |
download | historical-623db6f0f5815db9f5d2fb4609600d9937cee756.tar.gz historical-623db6f0f5815db9f5d2fb4609600d9937cee756.tar.bz2 historical-623db6f0f5815db9f5d2fb4609600d9937cee756.zip |
Initial commit. Ebuild by Dmitry Pisklov <dpisklov@gmail.com>. He will also be the maintainer of the package. Bug #395171
Package-Manager: portage-2.2.1/cvs/Linux x86_64
Manifest-Sign-Key: 0xC2BA7F3C!
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/roccat-tools/Manifest | 25 | ||||
-rw-r--r-- | sys-apps/roccat-tools/files/README.gentoo | 14 | ||||
-rw-r--r-- | sys-apps/roccat-tools/metadata.xml | 10 | ||||
-rw-r--r-- | sys-apps/roccat-tools/roccat-tools-0.20.0.ebuild | 73 |
4 files changed, 121 insertions, 1 deletions
diff --git a/sys-apps/roccat-tools/Manifest b/sys-apps/roccat-tools/Manifest index e0dbb9648c1c..a07f3e66f5a1 100644 --- a/sys-apps/roccat-tools/Manifest +++ b/sys-apps/roccat-tools/Manifest @@ -1,4 +1,27 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX README.gentoo 738 SHA256 4b0101aea125b28725a1fe5ad79836b680d47cc970eea87686d9990f72e10ea9 SHA512 77385971bb839ca7e2f6ac8bc6608370661d445bc7c4e7d970c7ed9c7859d6cff15ab868ea1a77176ef23b40a0b289d5b7176a23d69b16fbc2183045d02bb524 WHIRLPOOL 4bc34a6af7fb93ed07cc10cafca98b8282d1121eb3531988d78910fe8f1265202a6e9ba3fec2b51887e45adc523a3a4ae9652f3704bdaac77603ad6c10fc78f6 DIST roccat-tools-0.20.0.tar.bz2 2338068 SHA256 3120b6816c98915cab13e206364cddee8b6263d9aaf1080237575e7f39680b52 SHA512 e400ba2f8d2156d7b234882fbe8cf4cc7803cd1d502a8c7adb8e0bb84582560922203405c0f4c5b8ae2fd8ffdbe2bb8f03e7900da20e32a79ecb91cbaad8f6f0 WHIRLPOOL 61ef1b159ca4ad5769a42af12e22c7ce733228ea381909388e4ee0ced6d7ea4407cd09d2c48d77eeb78514e1d9120b8d410568309c49e2b9e42a57dc250e5596 -EBUILD roccat-tools-0.20.0.ebuild 1670 SHA256 6b53d9a4c902f2e0ffc52b067f9c76b05f57f1159ed86a4b457d697d69f97edf SHA512 edb4796bdd245e1b3854c5930429ae6821836b3bd92a3d7cf5ae7efa734b1982ce25d0326d17a294d954205df4e684e849a5bc62c7e97b545f89d9a039307b3b WHIRLPOOL da96786f5bfce4889d73c44efa6694bb9a2e259ead4c7968efb95357986f1d000e8f03f8f174153fec31e06572e0202effd8e352914bcda295ff9c93471904b4 +EBUILD roccat-tools-0.20.0.ebuild 1782 SHA256 34cc268e30ac12d2027ebd493f6dd0348dfab378b7bc57e1bc0ede3da1446962 SHA512 8f1a479a19f62488072a321117df6cebf5a5bdf8d14334b558f44dfcc369e1ed4c6107a45d95b74ee3b9b86afda8eec4c7ece748332884d9df470bb75be09530 WHIRLPOOL 63159a21102bca1eb5a2668db3af6520e222b65a5d5ac934a63c57f4b11ad198583ce367996640b3cc272067fe82f29a18ad55a3e02d4dbde2ae80c36756822d +MISC ChangeLog 500 SHA256 43bcdc03fc359d3921f8409c98478892f3b333a99bcbc0089110823cd529cb7c SHA512 c65904d3d18d1661ed7829d91f1ebf03f1520523e354c15ba12a222dba303e5c5661bebcbc009f42a6d98ffa2504dd20ff9da29a64775ac877e47d70be844c3b WHIRLPOOL 3fc8f3d351c2a1f73c7093fbbb2bcb55a93f01d897feea6c1a213701c7c0e1484ee97eed80ce20789703a7a5261a74c9679ad0a91ce59f48dea41927a2c4cdb6 MISC metadata.xml 323 SHA256 c2335020dcd5cb4cc3e2e7a022f62908c760bcef6a3999159a862637d5ad9bb5 SHA512 ae7239232728159d56baa008f762b561435d7e71f78935032a0b7b66c94fd4ecd7e0780461fee32f486db0ece0ef1e36e698f28b422c023d6b653886703200bb WHIRLPOOL 1228175ef905d0046ab3385f531580f4545f3686c98718bfc1b53419ff8560f253b2ffd699dc51f6408778f738cc57b570a5cf0598e1a8c766694815cf367bda +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.21 (GNU/Linux) + +iQJ8BAEBCABmBQJSLKS5XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw +OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun88z0YQAL1BpYoqv7blTxZJjhLDTIR/ +9JueHDPFemez3pG34tZXEqhPmngjeshkiRvTDhNZCAVAt8WNjxBYpI404BcCKcgq +7j42rU87oVSaXIBz4cUenUbZlMKRoA181dqcmKggQJzxUZQ8+sRIKiSqsYNl0HZZ +anJzHEBqH9o40CMfNrexoDGKBERBmel51BGYAv7cB8dCYZZYdM12jsMOm7ixEmFT +5hyhkNMpha94H7IMNDSeTkhFHTtQ+AA9U/8PD0u5h7ToVsSAe4qnPc/zZIQf2gXs +I6gmajO0uDy9YpEimFviLswoE3zT9CsdA73WIF1ic8xJy0r1S1dVjZEpjNodHDtr +1E9U3usEJ4IyVQ0gPX2/FBJkZWxWuCvkcr3msF+5tr0s5tyXOQ7V/f6NNsQpMX4U +Xpl1O2ZHO5v97fSTkSa4Ou1UiUKPDyM1QAzAZJkmmQlVrslO5Wbovq/aTzn7B5CO +hvoAN4O7TmbRmrPcldtK3mO+0krLwwDLFOI6aclbR09b5VyR938/2KG4eo/E6mIE +bgG5W51JPonZjBIWj8nMvEbcDc81MWhQFpDWk5/j1RHSw9wMa+2CpiSW5YfQoBSQ +cs1BzkA+Bmfj7XRmwjw1SYxP+K9fxMm2QcP567yxotRwH6Ma7hjWAtdm9IjYsXnn +OEIos1dvZ6yamc6Wc498 +=DG20 +-----END PGP SIGNATURE----- diff --git a/sys-apps/roccat-tools/files/README.gentoo b/sys-apps/roccat-tools/files/README.gentoo new file mode 100644 index 000000000000..8f1b3a974674 --- /dev/null +++ b/sys-apps/roccat-tools/files/README.gentoo @@ -0,0 +1,14 @@ +To allow users to use all features add them to the 'roccat' group +To allow udev to detect your device without reboot, run +# udevadm control --reload-rules && udevadm trigger --subsystem-match=usb +************************* +*** Upstream message: *** +************************* +* Some devices (Arvo, Kone) need uinput for some features. To use it as normal +* user you can either create an extra group like uinput-users and add yourself +* to this group (as described above) or reuse group roccat. +* Create a file like /etc/udev/rules.d/90-uinput.rules containing the line +* KERNEL=="uinput", GROUP="uinput-users", MODE="0660" +* and replace the group name with your choice. + +* In addition, you need to enable CONFIG_INPUT_UINPUT in your kernel diff --git a/sys-apps/roccat-tools/metadata.xml b/sys-apps/roccat-tools/metadata.xml new file mode 100644 index 000000000000..07f2697db84e --- /dev/null +++ b/sys-apps/roccat-tools/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>proxy-maintainerS</herd> +<maintainer> +<email>dpisklov@gmail.com</email> +<name>Dmitry Pisklov</name> +<description>Proxy maintainer. Assign bugs to him</description> +</maintainer> +</pkgmetadata> diff --git a/sys-apps/roccat-tools/roccat-tools-0.20.0.ebuild b/sys-apps/roccat-tools/roccat-tools-0.20.0.ebuild new file mode 100644 index 000000000000..8baad6fdd567 --- /dev/null +++ b/sys-apps/roccat-tools/roccat-tools-0.20.0.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/roccat-tools/roccat-tools-0.20.0.ebuild,v 1.1 2013/09/08 16:25:30 hwoarang Exp $ + +EAPI=5 + +inherit readme.gentoo cmake-utils gnome2-utils udev + +DESCRIPTION="Utility for advanced configuration of Roccat devices" + +HOMEPAGE="http://roccat.sourceforge.net/" +SRC_URI="mirror://sourceforge/roccat/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE_INPUT_DEVICES=" + input_devices_roccat_arvo + input_devices_roccat_isku + input_devices_roccat_iskufx + input_devices_roccat_kone + input_devices_roccat_koneplus + input_devices_roccat_konepure + input_devices_roccat_konextd + input_devices_roccat_kovaplus + input_devices_roccat_lua + input_devices_roccat_pyra + input_devices_roccat_savu +" +IUSE="${IUSE_INPUT_DEVICES}" + +REQUIRED_USE="input_devices_roccat_konextd? ( input_devices_roccat_koneplus )" + +RDEPEND=" + x11-libs/gtk+:2 + x11-libs/libnotify + media-libs/libcanberra + virtual/libusb:1 + dev-libs/dbus-glib + virtual/udev[gudev] +" + +DEPEND="${RDEPEND}" + +src_prepare() { + # only notification daemon, move it to autostart... + # https://sourceforge.net/p/roccat/patches/2/ + sed -i 's|share/applications|/etc/xdg/autostart|g' roccateventhandler/CMakeLists.txt || \ + die "sed failed" +} + +src_configure() { + local UDEVDIR="$(udev_get_udevdir)"/rules.d + local MODELS=${INPUT_DEVICES//roccat_/} + mycmakeargs=( -DDEVICES=${MODELS// /;} \ + -DUDEVDIR="${UDEVDIR/"//"//}" ) + cmake-utils_src_configure +} +src_install() { + cmake-utils_src_install + readme.gentoo_src_install +} +pkg_preinst() { + gnome2_icon_savelist +} +pkg_postinst() { + enewgroup roccat + gnome2_icon_cache_update + readme.gentoo_print_elog +} + +pkg_postrm() { + gnome2_icon_cache_update +} |