Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-grdwine
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-grdwine
Commits
79deba5d
Commit
79deba5d
authored
Jun 09, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.5.5.1-alt3
- add udev rules to get correct permissions - build 32 bit package as wine32-grdwine
parent
0d8f6370
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
5 deletions
+61
-5
rules
.gear/rules
+1
-0
90-grdnt.rules
90-grdnt.rules
+26
-0
wine-grdwine.spec
wine-grdwine.spec
+34
-5
No files found.
.gear/rules
View file @
79deba5d
tar: @name@
copy?: *.rules
90-grdnt.rules
0 → 100644
View file @
79deba5d
# Guardant ID
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="0a89", ATTRS{idProduct}=="0002", MODE="0666"
# Guardant Sign/Time
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="0a89", ATTRS{idProduct}=="0008", MODE="0666"
# Guardant Code
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="0a89", ATTRS{idProduct}=="0009", MODE="0666"
# Guardant Code Pro
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="0a89", ATTRS{idProduct}=="00c0", MODE="0666"
# HID
SUBSYSTEM=="usb", GOTO="grd_hid_rules_end_check_subsystem"
SUBSYSTEM!="usbmisc" GOTO="grd_hid_rules_end"
LABEL="grd_hid_rules_end_check_subsystem"
ACTION!="add", GOTO="grd_hid_rules_end"
KERNEL!="hiddev*", GOTO="grd_hid_rules_end"
# Guardant Sign/Time HID
ATTRS{idVendor}=="0a89", ATTRS{idProduct}=="000c", MODE="0666", SYMLINK+="grdhid%n", NAME="grdhid%n"
# Guardant Code HID
ATTRS{idVendor}=="0a89", ATTRS{idProduct}=="000d", MODE="0666", SYMLINK+="grdhid%n", NAME="grdhid%n"
# Guardant Code Pro HID
ATTRS{idVendor}=="0a89", ATTRS{idProduct}=="00c1", MODE="0666", SYMLINK+="grdhid%n", NAME="grdhid%n"
LABEL="grd_hid_rules_end"
wine-grdwine.spec
View file @
79deba5d
...
...
@@ -3,27 +3,32 @@
Name: wine-grdwine
Version: 0.5.5.1
Release: alt
2
Release: alt
3
Summary: Guardant usb dongle helper library for Wine
License: LGPLv2
Group: Emulators
Url: https://guardant.com
Packager: Konstantin Kondratyuk <kondratyuk@altlinux.org>
#Source-url: ftp://ftp.guardant.ru/support/linux/grdwine-%version.tar.gz
# Source-url: https://github.com/Etersoft/grdwine/archive/refs/tags/v%version.tar.gz
Source: %name-%version.tar
Source1: 90-grdnt.rules
BuildRequires: libwine-devel >= 6.23
ExclusiveArch: %ix86 x86_64
%ifarch x86_64 aarch64
%def_with build64
%define winepkgname wine-grdwine
%else
%def_without build64
%define winepkgname wine32-grdwine
%endif
...
...
@@ -48,7 +53,6 @@ ExclusiveArch: %ix86 x86_64
%define winesodir aarch64-unix
%endif
%add_verify_elf_skiplist %libwinedir/%winesodir/grdwine.dll.so
%description
...
...
@@ -58,7 +62,22 @@ Filesystem and Linux USB HID Device Interface.
Supports Guardant Sign/Time and Guardant Code dongles.
Old keys Stealth II and Stealth III are not supported here
(check WINE@Etersoft to get support).
(check WINE@Etersoft 2.x to get support).
%if_without build64
%package -n %winepkgname
Group: Development/C
Summary: Guardant usb dongle helper library for Wine
%description -n %winepkgname
Guardant usb dongle helper library for Wine.
Implementation of the GrdWine is based on Linux USB Device
Filesystem and Linux USB HID Device Interface.
Supports Guardant Sign/Time and Guardant Code dongles.
Old keys Stealth II and Stealth III are not supported here
(check WINE@Etersoft 2.x to get support).
%endif
%prep
%setup
...
...
@@ -81,12 +100,22 @@ Old keys Stealth II and Stealth III are not supported here
%install
%makeinstall_std
%if_with build64
install -D -m0644 %SOURCE1 %buildroot%_udevrulesdir/90-grdnt.rules
%endif
%files
%files
-n %winepkgname
%libwinedir/%winesodir/grdwine.dll.so
%libwinedir/%winepedir/grdwine.dll
%if_with build64
%_udevrulesdir/*.rules
%endif
%changelog
* Thu Jun 09 2022 Vitaly Lipatov <lav@altlinux.ru> 0.5.5.1-alt3
- add udev rules to get correct permissions
- build 32 bit package as wine32-grdwine
* Sat Apr 09 2022 Vitaly Lipatov <lav@altlinux.ru> 0.5.5.1-alt2
- build and pack wine stub
- disable LTO (for a time)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment