diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2013-09-08 16:25:30 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2013-09-08 16:25:30 +0000 |
commit | e85924ba67a014e31c4ee331527de8a03d21cf9e (patch) | |
tree | 0530ac0440fd2672ae916ff2a47e2465bd6fbe4b /sys-apps | |
parent | Raise libgnomekbd dependency to avoid gtk+2/3 being used in the same applicat... (diff) | |
download | gentoo-2-e85924ba67a014e31c4ee331527de8a03d21cf9e.tar.gz gentoo-2-e85924ba67a014e31c4ee331527de8a03d21cf9e.tar.bz2 gentoo-2-e85924ba67a014e31c4ee331527de8a03d21cf9e.zip |
Initial commit. Ebuild by Dmitry Pisklov <dpisklov@gmail.com>. He will also be the maintainer of the package. Bug #395171
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key C2BA7F3C!)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/roccat-tools/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/roccat-tools/Manifest | 4 | ||||
-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 |
5 files changed, 111 insertions, 0 deletions
diff --git a/sys-apps/roccat-tools/ChangeLog b/sys-apps/roccat-tools/ChangeLog new file mode 100644 index 000000000000..985329025d1d --- /dev/null +++ b/sys-apps/roccat-tools/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for sys-apps/roccat-tools +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/roccat-tools/ChangeLog,v 1.1 2013/09/08 16:25:30 hwoarang Exp $ + +*roccat-tools-0.20.0 (08 Sep 2013) + + 08 Sep 2013; Markos Chandras <hwoarang@gentoo.org> +files/README.gentoo, + +metadata.xml, +roccat-tools-0.20.0.ebuild: + Initial commit. Ebuild by Dmitry Pisklov <dpisklov@gmail.com>. He will also be + the maintainer of the package. Bug #395171 diff --git a/sys-apps/roccat-tools/Manifest b/sys-apps/roccat-tools/Manifest new file mode 100644 index 000000000000..e0dbb9648c1c --- /dev/null +++ b/sys-apps/roccat-tools/Manifest @@ -0,0 +1,4 @@ +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 +MISC metadata.xml 323 SHA256 c2335020dcd5cb4cc3e2e7a022f62908c760bcef6a3999159a862637d5ad9bb5 SHA512 ae7239232728159d56baa008f762b561435d7e71f78935032a0b7b66c94fd4ecd7e0780461fee32f486db0ece0ef1e36e698f28b422c023d6b653886703200bb WHIRLPOOL 1228175ef905d0046ab3385f531580f4545f3686c98718bfc1b53419ff8560f253b2ffd699dc51f6408778f738cc57b570a5cf0598e1a8c766694815cf367bda 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 +} |