mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 16:02:39 +01:00
dev-libs/libratbag: bump to 0.9.901, fix G502 leds position
This commit is contained in:
4
dev-libs/libratbag/Manifest
Normal file
4
dev-libs/libratbag/Manifest
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
AUX libratbag-0.9.901-data-gnome-g502-fix-leds-position.patch 2988 BLAKE2B 577aef973be8af990b494e80ba90d9e1237f0c10b08cb7be292a399ab1c793ded89c1791b22367b974962d011d44d5745d2571b0a52c323daf7d1eeb6fb78c92 SHA512 ae7640568a7096a99f7a561fc0ef2eca6ab72b498011ed2abccb7839ffac9f9e002e0cf5b5c637c8267c30013e969d2a00a5a8798f445342cd7822fc87d52c96
|
||||||
|
DIST libratbag-0.9.901.tar.gz 901070 BLAKE2B c3181593348ca0a65c441e432123cbeed44d20c0babe0208300d24c556b2710e46fbf733f809b53ecde419273b700abd038e38c2502b723cc3685aae7561fab3 SHA512 9f10f0296381e066b53f6f049ebe5906402aa0acc7784e9e7876857b201325156f8cb71b04292ad0251cdc37209634640c66dd324894f85a3439f8691b634f32
|
||||||
|
EBUILD libratbag-0.9.901.ebuild 873 BLAKE2B 81ad6807cc87d324eb690a6f93e5e3375b9d3fbd4d54c9d9591410d41a7d46883b134b7183a6ba93d2f3359e2b8012dcab6b854af4b2796b8abc6277a66a91a2 SHA512 9b0b30ce926630954393138f65562fd632102dfbd59a5c42dc36bf8b91680c96abc4766d3e99275a0ecc7b3d80953807306f7b28fc9858fac53e87fa9403f99e
|
||||||
|
MISC metadata.xml 227 BLAKE2B 28d940b98f9936bf19ab9451e948f62f1c6152380f70767ab8c3438a46a7ca6d6533fdbf050e5badb95d2c15fd503dd9874bb9e0505ce42e088d3575e713ba76 SHA512 3b08938ed5b0a9e61990c6fec8ffa9f288f0021f78fb3c59f298f3894edb1197524c263f363a3a18828de2b21d133d18d104d805e520d437a278a8c0d0eef0ca
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
From 447c69f034cf497cce4131ad4502425108f00850 Mon Sep 17 00:00:00 2001
|
||||||
|
From: David Guglielmi <david.guglielmi@gmail.com>
|
||||||
|
Date: Thu, 17 May 2018 17:02:24 +0200
|
||||||
|
Subject: [PATCH] data/gnome: G502: fix leds position
|
||||||
|
|
||||||
|
In Piper utility, leds configuration is inverted for g502 proteus spectrum
|
||||||
|
---
|
||||||
|
data/gnome/logitech-g502.svg | 12 ++++++------
|
||||||
|
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/data/gnome/logitech-g502.svg b/data/gnome/logitech-g502.svg
|
||||||
|
index 52084fd..ee32bde 100644
|
||||||
|
--- a/data/gnome/logitech-g502.svg
|
||||||
|
+++ b/data/gnome/logitech-g502.svg
|
||||||
|
@@ -97,7 +97,7 @@
|
||||||
|
style="color:#000000;overflow:visible;opacity:1;vector-effect:none;fill:none;fill-opacity:1;stroke:#babdb6;stroke-width:1;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" />
|
||||||
|
<path
|
||||||
|
style="color:#000000;display:inline;overflow:visible;vector-effect:none;fill:none;fill-opacity:1;stroke:#babdb6;stroke-width:8;stroke-linecap:square;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
- id="led1"
|
||||||
|
+ id="led0"
|
||||||
|
sodipodi:type="arc"
|
||||||
|
sodipodi:cx="-664.05457"
|
||||||
|
sodipodi:cy="598.10364"
|
||||||
|
@@ -185,7 +185,7 @@
|
||||||
|
inkscape:label="#path1120" />
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
- id="led0"
|
||||||
|
+ id="led1"
|
||||||
|
d="m 554.07316,558.40614 18.36886,76.63506 -10.78213,5.31523 z"
|
||||||
|
style="color:#000000;overflow:visible;opacity:1;vector-effect:none;fill:#eeeeec;fill-opacity:1;stroke:#babdb6;stroke-width:2;stroke-linecap:butt;stroke-linejoin:bevel;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
|
||||||
|
inkscape:label="#path1122" />
|
||||||
|
@@ -517,7 +517,7 @@
|
||||||
|
style="display:inline"
|
||||||
|
transform="translate(-16.168953)">
|
||||||
|
<g
|
||||||
|
- id="led0-path"
|
||||||
|
+ id="led1-path"
|
||||||
|
inkscape:label="#g417">
|
||||||
|
<path
|
||||||
|
sodipodi:nodetypes="cc"
|
||||||
|
@@ -535,14 +535,14 @@
|
||||||
|
<rect
|
||||||
|
inkscape:label="#rect875"
|
||||||
|
style="color:#000000;text-align:start;display:inline;overflow:visible;vector-effect:none;fill:#888a85;fill-opacity:1;stroke:none;stroke-linecap:round"
|
||||||
|
- id="led0-leader"
|
||||||
|
+ id="led1-leader"
|
||||||
|
width="1"
|
||||||
|
height="1"
|
||||||
|
x="483"
|
||||||
|
y="220" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
- id="led1-path"
|
||||||
|
+ id="led0-path"
|
||||||
|
inkscape:label="#g412">
|
||||||
|
<path
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
@@ -563,7 +563,7 @@
|
||||||
|
x="483"
|
||||||
|
height="1"
|
||||||
|
width="1"
|
||||||
|
- id="led1-leader"
|
||||||
|
+ id="led0-leader"
|
||||||
|
style="color:#000000;text-align:start;display:inline;overflow:visible;vector-effect:none;fill:#888a85;fill-opacity:1;stroke:none;stroke-linecap:round" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
--
|
||||||
|
2.16.1
|
||||||
|
|
||||||
45
dev-libs/libratbag/libratbag-0.9.901.ebuild
Normal file
45
dev-libs/libratbag/libratbag-0.9.901.ebuild
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
PYTHON_COMPAT=( python{3_4,3_5,3_6} )
|
||||||
|
|
||||||
|
inherit meson udev python-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Library to configure gaming mice"
|
||||||
|
HOMEPAGE="https://github.com/libratbag/libratbag"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="doc test"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
virtual/pkgconfig
|
||||||
|
doc? ( app-doc/doxygen )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/libevdev
|
||||||
|
virtual/libudev
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
${FILESDIR}/${P}-data-gnome-g502-fix-leds-position.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
python_setup
|
||||||
|
default
|
||||||
|
|
||||||
|
sed '/default:/d' -i meson_options.txt || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Denable-documentation=$(usex doc true false)
|
||||||
|
-Denable-tests=$(usex test true false)
|
||||||
|
-Dudev-dir=$(get_udevdir)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
7
dev-libs/libratbag/metadata.xml
Normal file
7
dev-libs/libratbag/metadata.xml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">libratbag/libratbag</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user