libratbag: fix armv56
This commit is contained in:
parent
104fd3d012
commit
461c5b5b23
2 changed files with 16 additions and 0 deletions
14
srcpkgs/libratbag/patches/fix-armv56.patch
Normal file
14
srcpkgs/libratbag/patches/fix-armv56.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
diff --git meson.build meson.build
|
||||||
|
index 14b3962..ea9fc3c 100644
|
||||||
|
--- meson.build
|
||||||
|
+++ meson.build
|
||||||
|
@@ -70,7 +70,7 @@ pkgconfig = import('pkgconfig')
|
||||||
|
dep_udev = dependency('libudev')
|
||||||
|
dep_libevdev = dependency('libevdev')
|
||||||
|
dep_glib = dependency('glib-2.0')
|
||||||
|
-dep_lm = cc.find_library('m')
|
||||||
|
+dep_lm = cc.find_library('m', required : false)
|
||||||
|
|
||||||
|
if get_option('logind-provider') == 'elogind'
|
||||||
|
logind_dep = dependency('libelogind', version : '>=227')
|
||||||
|
|
|
@ -16,6 +16,8 @@ homepage="https://github.com/libratbag/libratbag"
|
||||||
distfiles="https://github.com/libratbag/libratbag/archive/v${version}.tar.gz"
|
distfiles="https://github.com/libratbag/libratbag/archive/v${version}.tar.gz"
|
||||||
checksum=d8a9a4b90025456700336c4e84a06edfce8deffeb71779ea22e00c27b0fda244
|
checksum=d8a9a4b90025456700336c4e84a06edfce8deffeb71779ea22e00c27b0fda244
|
||||||
|
|
||||||
|
LDFLAGS="-lm"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
x86_64*|i686*) ;;
|
x86_64*|i686*) ;;
|
||||||
*-musl) broken="Requires gobject introspection" ;;
|
*-musl) broken="Requires gobject introspection" ;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue