From b49088575eb777ced2551f484da86317332d6087 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 24 Jul 2021 02:11:45 +0100 Subject: gentoo resync : 24.07.2021 --- sys-apps/roccat-tools/Manifest | 2 +- .../roccat-tools/roccat-tools-5.9.0-r100.ebuild | 147 --------------------- .../roccat-tools/roccat-tools-5.9.0-r101.ebuild | 146 ++++++++++++++++++++ 3 files changed, 147 insertions(+), 148 deletions(-) delete mode 100644 sys-apps/roccat-tools/roccat-tools-5.9.0-r100.ebuild create mode 100644 sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild (limited to 'sys-apps/roccat-tools') diff --git a/sys-apps/roccat-tools/Manifest b/sys-apps/roccat-tools/Manifest index 081f12040a5d..77ed11729a16 100644 --- a/sys-apps/roccat-tools/Manifest +++ b/sys-apps/roccat-tools/Manifest @@ -1,5 +1,5 @@ AUX README.gentoo 858 BLAKE2B d3cdc925b286481491fdad08de6c2a61c811fecb1eb36fa1e0b2cedf98577f9f3c2deff4bb881c906bab3a799616b43601d2dae494674ae439f6bf561bd82417 SHA512 3f88197dc83d4bf7e3cb8fd71079754ffa355ddf5fcf151304ae439090da44b3bdef3ed9deab44b36ffffb4b28ded2a71b1abffe5d3e1aa87f56bfa264920a7b AUX roccat-tools-5.9.0-cmake_lua_impl.patch 236 BLAKE2B 833cb7662bdd1fc5942cfd3fd75fe3a7ce56616c8fb616403a056bbea6d0e5ecb8bd91b7ef39ecd12c30235172631eff839bc803910d1a8808c1d152db080bda SHA512 5bb4d236a053cbfed99f046d8cac4dcc1fb94535497e49f4be5338fc8c287623f4afeffa5164597d84aa16bca98b135d275f75e85df3e03bed95099caeb00d6c DIST roccat-tools-5.9.0.tar.bz2 3736671 BLAKE2B 4cdd0c6b50021cfae127a692d5a2a7fff5e7e1281da7add0cf9cd8f5fbfd8882186142d56982bf929867bde2950440f26ced167b52707c9d810ab53a62a4bded SHA512 d825fc372654257f330abbc7e611e87c4888924288ad56c8e57c9db5c8c25426d454ae1ab4dd591ef3b930bed410497c0aa88095d5319e2708f4b263d16eca00 -EBUILD roccat-tools-5.9.0-r100.ebuild 3365 BLAKE2B bba0eafc756a93e220e3d75006c0e3b34f23c5b736a93f95b809a710fa53170d0206abd22282473d74668dee066176beff592e55f1d9eb6c08e90100bb22e11e SHA512 81a7861b19199516542923dec906d7d1dcb1244fa26f1368c00b2ce6a527122e1a506321bb44fda4a7d85d98d08d96f5a4d76917ab03df5846cec12c88f813ea +EBUILD roccat-tools-5.9.0-r101.ebuild 3360 BLAKE2B c2a3f7f301e28cca3530c22a75aa932d0f729062e709cba5d4cd931fe07ccf87cc92becf5aaa2e6e3c51373735004d7062f5e4aa4502226250ab7c7145b45627 SHA512 0e4918c14cd7620d1a18820bd21d2b77b75fa8e2db91ec089525ce1d74c4ceaf96040329d349ecb0cccd6871f8897fe5d4323afed6b9a739e718a771c57c4cab MISC metadata.xml 327 BLAKE2B b3a42ce918857aaa3ebe1705560661d80d9dc1cce60b5d79bddc1ead356cced572fe18d8b8d18f6c8f2ebb80393cc02efc4df3ad711aca08a67a15a1abd93e60 SHA512 99ed72c1a2a183157d0aded6f95c41c81c9c3d97f81c7267743ad3431676e2af1d7e08e4904761583af17806f5befd7254ca9f2ad170266d038053c7076a630e diff --git a/sys-apps/roccat-tools/roccat-tools-5.9.0-r100.ebuild b/sys-apps/roccat-tools/roccat-tools-5.9.0-r100.ebuild deleted file mode 100644 index 1a5d2b88c0ab..000000000000 --- a/sys-apps/roccat-tools/roccat-tools-5.9.0-r100.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-1 luajit ) - -inherit readme.gentoo-r1 cmake flag-o-matic lua-single toolchain-funcs udev user xdg - -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_ryosmkfx - input_devices_roccat_ryostkl - input_devices_roccat_savu - input_devices_roccat_skeltr - input_devices_roccat_sova - input_devices_roccat_suora - input_devices_roccat_tyon -) - -IUSE="${IUSE_INPUT_DEVICES[@]}" - -REQUIRED_USE=" - input_devices_roccat_ryosmk? ( ${LUA_REQUIRED_USE} ) - input_devices_roccat_ryosmkfx? ( ${LUA_REQUIRED_USE} ) - input_devices_roccat_ryostkl? ( ${LUA_REQUIRED_USE} ) -" - -RDEPEND=" - dev-libs/dbus-glib - dev-libs/glib:2 - >=dev-libs/libgaminggear-0.15.1 - dev-libs/libgudev:= - sys-apps/dbus - x11-libs/cairo - x11-libs/gtk+:2 - x11-libs/libX11 - virtual/libusb:1 - input_devices_roccat_ryosmk? ( ${LUA_DEPS} ) - input_devices_roccat_ryosmkfx? ( ${LUA_DEPS} ) - input_devices_roccat_ryostkl? ( ${LUA_DEPS} ) -" - -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}"/${PN}-5.9.0-cmake_lua_impl.patch -) - -DOCS=( Changelog KNOWN_LIMITATIONS README ) - -pkg_setup() { - # Don't bother checking all the relevant USE flags, this is harmless - # to call even when no Lua implementations have been pulled in - # by dependencies. - lua-single_pkg_setup - - enewgroup roccat - - local model - for model in ${IUSE_INPUT_DEVICES[@]} ; do - use ${model} && USED_MODELS+="${model/input_devices_roccat_/;}" - done -} - -# Required because xdg.eclass overrides src_prepare() from cmake.eclass -src_prepare() { - cmake_src_prepare -} - -src_configure() { - if has_version \>=x11-libs/pango-1.44.0 ; then - # Fix build with pango-1.44 which depends on harfbuzz - local PKGCONF="$(tc-getPKG_CONFIG)" - append-cflags "$(${PKGCONF} --cflags harfbuzz)" - fi - - mycmakeargs=( - -DDEVICES="${USED_MODELS/;/}" - -DUDEVDIR="${EPREFIX}$(get_udevdir)/rules.d" - ) - - local lua_use=( - input_devices_roccat_ryosmk - input_devices_roccat_ryosmkfx - input_devices_roccat_ryostkl - ) - local luse - for luse in ${lua_use[@]} ; do - if use ${luse} ; then - mycmakeargs+=( - -DLUA_IMPL="${ELUA}" - -DWITH_LUA="$(ver_cut 1-2 $(lua_get_version))" - ) - break - fi - done - - cmake_src_configure -} - -src_install() { - cmake_src_install - local stat_dir=/var/lib/roccat - keepdir ${stat_dir} - fowners root:roccat ${stat_dir} - fperms 2770 ${stat_dir} - readme.gentoo_create_doc -} - -pkg_postinst() { - xdg_pkg_postinst - 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 -} diff --git a/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild b/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild new file mode 100644 index 000000000000..ee1371ca60cb --- /dev/null +++ b/sys-apps/roccat-tools/roccat-tools-5.9.0-r101.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-1 luajit ) + +inherit readme.gentoo-r1 cmake flag-o-matic lua-single toolchain-funcs udev xdg + +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_ryosmkfx + input_devices_roccat_ryostkl + input_devices_roccat_savu + input_devices_roccat_skeltr + input_devices_roccat_sova + input_devices_roccat_suora + input_devices_roccat_tyon +) + +IUSE="${IUSE_INPUT_DEVICES[@]}" + +REQUIRED_USE=" + input_devices_roccat_ryosmk? ( ${LUA_REQUIRED_USE} ) + input_devices_roccat_ryosmkfx? ( ${LUA_REQUIRED_USE} ) + input_devices_roccat_ryostkl? ( ${LUA_REQUIRED_USE} ) +" + +RDEPEND=" + acct-group/roccat + dev-libs/dbus-glib + dev-libs/glib:2 + >=dev-libs/libgaminggear-0.15.1 + dev-libs/libgudev:= + sys-apps/dbus + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/libX11 + virtual/libusb:1 + input_devices_roccat_ryosmk? ( ${LUA_DEPS} ) + input_devices_roccat_ryosmkfx? ( ${LUA_DEPS} ) + input_devices_roccat_ryostkl? ( ${LUA_DEPS} ) +" + +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${PN}-5.9.0-cmake_lua_impl.patch +) + +DOCS=( Changelog KNOWN_LIMITATIONS README ) + +pkg_setup() { + # Don't bother checking all the relevant USE flags, this is harmless + # to call even when no Lua implementations have been pulled in + # by dependencies. + lua-single_pkg_setup + + local model + for model in ${IUSE_INPUT_DEVICES[@]} ; do + use ${model} && USED_MODELS+="${model/input_devices_roccat_/;}" + done +} + +# Required because xdg.eclass overrides src_prepare() from cmake.eclass +src_prepare() { + cmake_src_prepare +} + +src_configure() { + if has_version \>=x11-libs/pango-1.44.0 ; then + # Fix build with pango-1.44 which depends on harfbuzz + local PKGCONF="$(tc-getPKG_CONFIG)" + append-cflags "$(${PKGCONF} --cflags harfbuzz)" + fi + + mycmakeargs=( + -DDEVICES="${USED_MODELS/;/}" + -DUDEVDIR="${EPREFIX}$(get_udevdir)/rules.d" + ) + + local lua_use=( + input_devices_roccat_ryosmk + input_devices_roccat_ryosmkfx + input_devices_roccat_ryostkl + ) + local luse + for luse in ${lua_use[@]} ; do + if use ${luse} ; then + mycmakeargs+=( + -DLUA_IMPL="${ELUA}" + -DWITH_LUA="$(ver_cut 1-2 $(lua_get_version))" + ) + break + fi + done + + cmake_src_configure +} + +src_install() { + cmake_src_install + local stat_dir=/var/lib/roccat + keepdir ${stat_dir} + fowners root:roccat ${stat_dir} + fperms 2770 ${stat_dir} + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + 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 +} -- cgit v1.2.3