From e93561503afa514833d83f04d0b881a029cd9a47 Mon Sep 17 00:00:00 2001 From: blackraven Date: Wed, 11 May 2016 22:31:33 +0100 Subject: dev-libs/libgaminggear: Version bump. This commit also bumps sys-apps/roccat-tools whilst at it and has been squashed into a single commit. Package-Manager: portage-2.2.28 Gentoo-Bug: https://bugs.gentoo.org/579512 Closes: https://github.com/gentoo/gentoo/pull/1456 Signed-off-by: Patrice Clement --- sys-apps/roccat-tools/Manifest | 2 + sys-apps/roccat-tools/roccat-tools-5.1.0.ebuild | 89 +++++++++++++++++++++++++ sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild | 89 +++++++++++++++++++++++++ 3 files changed, 180 insertions(+) create mode 100644 sys-apps/roccat-tools/roccat-tools-5.1.0.ebuild create mode 100644 sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild (limited to 'sys-apps') diff --git a/sys-apps/roccat-tools/Manifest b/sys-apps/roccat-tools/Manifest index da5562230732..9a7a2b4e6ac6 100644 --- a/sys-apps/roccat-tools/Manifest +++ b/sys-apps/roccat-tools/Manifest @@ -1,2 +1,4 @@ DIST roccat-tools-3.7.0.tar.bz2 3451047 SHA256 fbfd69634e3f504a8a5f43948566eb9c52955416a7e0698218c61e7d586fd1a5 SHA512 d28113c7fdf43bfa91dbd9e7921f20a2ab67214ed902148d3eea8e5eb8c633e4916f27d6e3e9e32357da39961fe71876de656a29a0415e48a20a90b523e51df1 WHIRLPOOL 7317e385b5deb5f805ad312bab3c817fdd4f081632d3ad80eb6747a56d50b45a9da8b4471f6fa1a45cf58424be5a84acecaa55ebd80797210edcf997efccd253 DIST roccat-tools-3.9.0.tar.bz2 3508796 SHA256 ea90b53cf4707c76a41d0f67711eca91e21ef41be253ab45b113a55ac1f278c1 SHA512 28c7b8c835a92f9fc741e393373388995f7da95971b6eb2432598a17ddd2887505d38a834e3a155331fa4a67e3dc6a559050c9ea69b2729c26648a2ab76266cb WHIRLPOOL 13f08b01ca83d2b5bc035580a87d62264cb9b0644839793049638d2880c34e96941ea55cd923a21ecd3cbe077b4654901dc93046e8f6371bef1a4adf6cbf0977 +DIST roccat-tools-5.1.0.tar.bz2 3563523 SHA256 af37e1997ed9cc698ee836b742d0a6118513d6a4bcb7e89be824780916719ae2 SHA512 efd0445a3a4c81de1c0fe888930d079df0de2616e4884815cd4f3af28ae6f35946f73022ee5d965713fffa3ebccaf1955397b02e2d568823f710d59b5e8ae659 WHIRLPOOL 980cb615981cec4277c551e3ac4ada3ecd767ccd2bdb44d2753f46a18c07c922ec16eecf00c4de6e1877cb22e067cf485edf880c1926c14ed1b663789db1694b +DIST roccat-tools-5.1.1.tar.bz2 3564442 SHA256 fe62bd1242a6343a01687740eb2c6750bb1987fcc6642b7984a6ae5375f6d8fd SHA512 c98469201be55ab7b534dc2b5ae43cd55c7a013e4bf0fd93f23c646f14de78daa2df3277d5f29b72076729b5c9ee07541ee22f0d51c2e5d9bd5c9f05da94fb4d WHIRLPOOL 025097627386897487c040f530812b85f736e7e18f39b03a4e4468e6fffe98b45996ae82673362d18ae30a2e5ae874585b15fcfe50106ff3a80ad3351114929d diff --git a/sys-apps/roccat-tools/roccat-tools-5.1.0.ebuild b/sys-apps/roccat-tools/roccat-tools-5.1.0.ebuild new file mode 100644 index 000000000000..9e4b2c55d766 --- /dev/null +++ b/sys-apps/roccat-tools/roccat-tools-5.1.0.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit readme.gentoo cmake-utils gnome2-utils udev user + +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_kiro + input_devices_roccat_kone + input_devices_roccat_koneplus + input_devices_roccat_konepure + input_devices_roccat_konepuremilitary + input_devices_roccat_konepureoptical + input_devices_roccat_konextd + input_devices_roccat_konextdoptical + input_devices_roccat_kovaplus + input_devices_roccat_kova2016 + input_devices_roccat_lua + input_devices_roccat_nyth + input_devices_roccat_pyra + input_devices_roccat_ryosmk + input_devices_roccat_ryostkl + input_devices_roccat_savu + input_devices_roccat_tyon +" +IUSE="${IUSE_INPUT_DEVICES}" + +RDEPEND=" + =dev-libs/libgaminggear-0.13* + x11-libs/gtk+:2 + x11-libs/libnotify + media-libs/libcanberra + virtual/libusb:1 + dev-libs/dbus-glib + virtual/libgudev:= + || ( dev-lang/lua:5.1 dev-lang/lua:0 ) +" + +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup roccat +} + +src_configure() { + local UDEVDIR="$(get_udevdir)"/rules.d + local MODELS=${INPUT_DEVICES//roccat_/} + mycmakeargs=( + -DDEVICES=${MODELS// /;} \ + -DUDEVDIR="${UDEVDIR/"//"//}" + -DWITH_LUA=5.1 + ) + cmake-utils_src_configure +} +src_install() { + cmake-utils_src_install + local stat_dir=/var/lib/roccat + keepdir $stat_dir + fowners root:roccat $stat_dir + fperms 2770 $stat_dir + readme.gentoo_src_install +} +pkg_preinst() { + gnome2_icon_savelist +} +pkg_postinst() { + gnome2_icon_cache_update + readme.gentoo_print_elog + ewarn + ewarn "This version breaks stored data for some devices. Before reporting bugs please delete" + ewarn "affected folder(s) in /var/lib/roccat" + ewarn +} + +pkg_postrm() { + gnome2_icon_cache_update +} diff --git a/sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild b/sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild new file mode 100644 index 000000000000..9e4b2c55d766 --- /dev/null +++ b/sys-apps/roccat-tools/roccat-tools-5.1.1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit readme.gentoo cmake-utils gnome2-utils udev user + +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_kiro + input_devices_roccat_kone + input_devices_roccat_koneplus + input_devices_roccat_konepure + input_devices_roccat_konepuremilitary + input_devices_roccat_konepureoptical + input_devices_roccat_konextd + input_devices_roccat_konextdoptical + input_devices_roccat_kovaplus + input_devices_roccat_kova2016 + input_devices_roccat_lua + input_devices_roccat_nyth + input_devices_roccat_pyra + input_devices_roccat_ryosmk + input_devices_roccat_ryostkl + input_devices_roccat_savu + input_devices_roccat_tyon +" +IUSE="${IUSE_INPUT_DEVICES}" + +RDEPEND=" + =dev-libs/libgaminggear-0.13* + x11-libs/gtk+:2 + x11-libs/libnotify + media-libs/libcanberra + virtual/libusb:1 + dev-libs/dbus-glib + virtual/libgudev:= + || ( dev-lang/lua:5.1 dev-lang/lua:0 ) +" + +DEPEND="${RDEPEND}" + +pkg_setup() { + enewgroup roccat +} + +src_configure() { + local UDEVDIR="$(get_udevdir)"/rules.d + local MODELS=${INPUT_DEVICES//roccat_/} + mycmakeargs=( + -DDEVICES=${MODELS// /;} \ + -DUDEVDIR="${UDEVDIR/"//"//}" + -DWITH_LUA=5.1 + ) + cmake-utils_src_configure +} +src_install() { + cmake-utils_src_install + local stat_dir=/var/lib/roccat + keepdir $stat_dir + fowners root:roccat $stat_dir + fperms 2770 $stat_dir + readme.gentoo_src_install +} +pkg_preinst() { + gnome2_icon_savelist +} +pkg_postinst() { + gnome2_icon_cache_update + readme.gentoo_print_elog + ewarn + ewarn "This version breaks stored data for some devices. Before reporting bugs please delete" + ewarn "affected folder(s) in /var/lib/roccat" + ewarn +} + +pkg_postrm() { + gnome2_icon_cache_update +} -- cgit v1.2.3-65-gdbad