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
3bd76d53
You need to sign in or sign up before continuing.
Commit
3bd76d53
authored
Jun 09, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
0.5.5.2-alt1
- add udev rules to get correct permissions - add support for arch dependent package name
parent
0d8f6370
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
6 deletions
+62
-6
rules
.gear/rules
+1
-0
90-grdnt.rules
90-grdnt.rules
+26
-0
wine-grdwine.spec
wine-grdwine.spec
+35
-6
No files found.
.gear/rules
View file @
3bd76d53
tar: @name@
tar: @name@
copy?: *.rules
90-grdnt.rules
0 → 100644
View file @
3bd76d53
# 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 @
3bd76d53
...
@@ -2,28 +2,33 @@
...
@@ -2,28 +2,33 @@
%define optflags_lto %nil
%define optflags_lto %nil
Name: wine-grdwine
Name: wine-grdwine
Version: 0.5.5.
1
Version: 0.5.5.
2
Release: alt
2
Release: alt
1
Summary: Guardant usb dongle helper library for Wine
Summary: Guardant usb dongle helper library for Wine
License: LGPLv2
License: LGPLv2
Group: Emulators
Group: Emulators
Url: https://guardant.com
Url: https://guardant.com
Packager: Konstantin Kondratyuk <kondratyuk@altlinux.org>
Packager: Konstantin Kondratyuk <kondratyuk@altlinux.org>
#Source-url: ftp://ftp.guardant.ru/support/linux/grdwine-%version.tar.gz
#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-url: https://github.com/Etersoft/grdwine/archive/refs/tags/v%version.tar.gz
Source: %name-%version.tar
Source: %name-%version.tar
Source1: 90-grdnt.rules
BuildRequires: libwine-devel >= 6.23
BuildRequires: libwine-devel >= 6.23
ExclusiveArch: %ix86 x86_64
ExclusiveArch: %ix86 x86_64
%ifarch x86_64 aarch64
%ifarch x86_64 aarch64
%def_with build64
%def_with build64
%define winepkgname wine-grdwine
%else
%else
%def_without build64
%def_without build64
%define winepkgname wine-grdwine
%endif
%endif
...
@@ -48,7 +53,6 @@ ExclusiveArch: %ix86 x86_64
...
@@ -48,7 +53,6 @@ ExclusiveArch: %ix86 x86_64
%define winesodir aarch64-unix
%define winesodir aarch64-unix
%endif
%endif
%add_verify_elf_skiplist %libwinedir/%winesodir/grdwine.dll.so
%add_verify_elf_skiplist %libwinedir/%winesodir/grdwine.dll.so
%description
%description
...
@@ -58,7 +62,22 @@ Filesystem and Linux USB HID Device Interface.
...
@@ -58,7 +62,22 @@ Filesystem and Linux USB HID Device Interface.
Supports Guardant Sign/Time and Guardant Code dongles.
Supports Guardant Sign/Time and Guardant Code dongles.
Old keys Stealth II and Stealth III are not supported here
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 "%winepkgname" != "%name"
%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
%prep
%setup
%setup
...
@@ -81,12 +100,22 @@ Old keys Stealth II and Stealth III are not supported here
...
@@ -81,12 +100,22 @@ Old keys Stealth II and Stealth III are not supported here
%install
%install
%makeinstall_std
%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/%winesodir/grdwine.dll.so
%libwinedir/%winepedir/grdwine.dll
%libwinedir/%winepedir/grdwine.dll
%if_with build64
%_udevrulesdir/*.rules
%endif
%changelog
%changelog
* Thu Jun 09 2022 Vitaly Lipatov <lav@altlinux.ru> 0.5.5.2-alt1
- add udev rules to get correct permissions
- add support for arch dependent package name
* Sat Apr 09 2022 Vitaly Lipatov <lav@altlinux.ru> 0.5.5.1-alt2
* Sat Apr 09 2022 Vitaly Lipatov <lav@altlinux.ru> 0.5.5.1-alt2
- build and pack wine stub
- build and pack wine stub
- disable LTO (for a time)
- 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