mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
antimicrox: update to 3.3.2
This commit is contained in:
parent
87e077ffdc
commit
317a246ec2
2 changed files with 3 additions and 23 deletions
|
@ -1,20 +0,0 @@
|
||||||
--- a/src/haptictriggerps5.cpp
|
|
||||||
+++ b/src/haptictriggerps5.cpp
|
|
||||||
@@ -27,7 +27,7 @@ constexpr u16 u16tole(u16 x)
|
|
||||||
{
|
|
||||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
|
||||||
return x;
|
|
||||||
-#elif __BYTE_ORDER == _BIG_ENDIAN
|
|
||||||
+#elif __BYTE_ORDER == __BIG_ENDIAN
|
|
||||||
return ((x << 8) & 0xFF00) | ((x >> 8) & 0x00FF);
|
|
||||||
#else
|
|
||||||
#error "Target machine has unknown endianness!"
|
|
||||||
@@ -38,7 +38,7 @@ constexpr u32 u32tole(u32 x)
|
|
||||||
{
|
|
||||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
|
||||||
return x;
|
|
||||||
-#elif __BYTE_ORDER == _BIG_ENDIAN
|
|
||||||
+#elif __BYTE_ORDER == __BIG_ENDIAN
|
|
||||||
return ((x << 24) & 0xFF000000) | ((x << 8) & 0x00FF0000) | ((x >> 8) & 0x0000FF00) | ((x >> 24) & 0x000000FF);
|
|
||||||
#else
|
|
||||||
#error "Target machine has unknown endianness!"
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'antimicrox'
|
# Template file for 'antimicrox'
|
||||||
pkgname=antimicrox
|
pkgname=antimicrox
|
||||||
version=3.3.1
|
version=3.3.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config extra-cmake-modules itstool gettext qt5-qmake
|
hostmakedepends="pkg-config extra-cmake-modules itstool gettext qt5-qmake
|
||||||
|
@ -12,8 +12,8 @@ maintainer="fosslinux <fosslinux@aussies.space>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/AntiMicroX/antimicrox"
|
homepage="https://github.com/AntiMicroX/antimicrox"
|
||||||
changelog="https://raw.githubusercontent.com/AntiMicroX/antimicrox/master/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/AntiMicroX/antimicrox/master/CHANGELOG.md"
|
||||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
distfiles="https://github.com/AntiMicroX/antimicrox/archive/${version}.tar.gz"
|
||||||
checksum=df1df587691568190a1cfa024f85e842c3883f9c58e6a7e883d42976584f728d
|
checksum=9f5b51655fb5bac9259e553bc3f001f4d31088f83ee0f90f0c136e58c10e9724
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
makedepends+=" libexecinfo-devel"
|
makedepends+=" libexecinfo-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue