mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 12:45:18 +03:00
testing/spnavcfg: upgrade to 1.1
This commit is contained in:
parent
6d3849a2f7
commit
f738e5b51d
2 changed files with 22 additions and 5 deletions
|
@ -1,20 +1,22 @@
|
||||||
# Contributor: guddaff <guddaff@protonmail.com>
|
# Contributor: guddaff <guddaff@protonmail.com>
|
||||||
# Maintainer: guddaff <guddaff@protonmail.com>
|
# Maintainer: guddaff <guddaff@protonmail.com>
|
||||||
pkgname=spnavcfg
|
pkgname=spnavcfg
|
||||||
pkgver=1.0
|
pkgver=1.1
|
||||||
pkgrel=1
|
pkgrel=0
|
||||||
pkgdesc="spacenav interactive configuration GUI"
|
pkgdesc="spacenav interactive configuration GUI"
|
||||||
url="https://spacenav.sourceforge.net/"
|
url="https://spacenav.sourceforge.net/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
makedepends="qt5-qtbase-dev libspnav-dev"
|
makedepends="qt5-qtbase-dev libspnav-dev"
|
||||||
options="!check" # no checks
|
options="!check" # no checks
|
||||||
source="$pkgname-$pkgver.tar.gz::https://github.com/FreeSpacenav/spnavcfg/archive/refs/tags/v$pkgver.tar.gz"
|
source="$pkgname-$pkgver.tar.gz::https://github.com/FreeSpacenav/spnavcfg/archive/refs/tags/v$pkgver.tar.gz
|
||||||
|
makefile.patch
|
||||||
|
"
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
# not automake
|
# not automake
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make UIC=uic-qt5 MOC=moc-qt5 RCC=rcc-qt5
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
@ -22,5 +24,6 @@ package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="
|
sha512sums="
|
||||||
36db54c47db14a684bf8ba78342d5070b94e8969db7d542626c5a225180f9858bfecb8f46fd11d1bb5364b315599fd173edd5db241f93d304236a271ed49aec3 spnavcfg-1.0.tar.gz
|
00166b2cf507a449df4cdf2e7865ec002a3b8d193e961c87569b944e1a81bbc4104dd16335c4bf7628a2477cbec2ab07e4f88e6e60792e0156002b52152d3fb7 spnavcfg-1.1.tar.gz
|
||||||
|
8391b27c94e83157294d84b32164e2fb82a7998d2df4c07da478eb7294b7c2b49b2b371dbed7bbd2e0ac3264973a97e7a455cf227bb2ac196b7232fe816cd829 makefile.patch
|
||||||
"
|
"
|
||||||
|
|
14
testing/spnavcfg/makefile.patch
Normal file
14
testing/spnavcfg/makefile.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
Patch-Source: https://aur.archlinux.org/cgit/aur.git/tree/Makefile.in.diff?h=spnavcfg
|
||||||
|
diff --git a/Makefile.in b/Makefile.in
|
||||||
|
index b760f4d..f66ba22 100644
|
||||||
|
--- a/Makefile.in
|
||||||
|
+++ b/Makefile.in
|
||||||
|
@@ -2,7 +2,7 @@ csrc = $(wildcard src/*.c)
|
||||||
|
ccsrc = $(wildcard src/*.cc)
|
||||||
|
mochdr = src/ui.h
|
||||||
|
mocsrc = $(mochdr:.h=.moc.cc)
|
||||||
|
-obj = $(csrc:.c=.o) $(ccsrc:.cc=.o) $(mocsrc:.cc=.o) res.cc
|
||||||
|
+obj = $(sort $(csrc:.c=.o) $(ccsrc:.cc=.o) $(mocsrc:.cc=.o)) res.cc
|
||||||
|
dep = $(csrc:.c=.d) $(ccsrc:.cc=.d)
|
||||||
|
bin = spnavcfg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue