parent
5450512117
commit
2dec5928a7
2 changed files with 3 additions and 26 deletions
|
@ -1,23 +0,0 @@
|
||||||
commit 7b688681f5868416d0b6b9899fbd0d2ba213477d from upstream git
|
|
||||||
diff Programs/brlapi.h.in Programs/brlapi.h.in
|
|
||||||
--- Programs/brlapi.h.in
|
|
||||||
+++ Programs/brlapi.h.in
|
|
||||||
@@ -137,8 +137,16 @@ size_t BRLAPI_STDCALL brlapi_getHandleSize(void);
|
|
||||||
#ifdef BRLAPI_WIN32
|
|
||||||
/* No authentication by default on Windows */
|
|
||||||
#define BRLAPI_DEFAUTH "none"
|
|
||||||
-#else
|
|
||||||
-#define BRLAPI_DEFAUTH "polkit+keyfile:" BRLAPI_ETCDIR "/" BRLAPI_AUTHKEYFILE
|
|
||||||
+#else /* BRLAPI_WIN32 */
|
|
||||||
+#define BRLAPI_DEFAUTH_KEYFILE "keyfile:" BRLAPI_ETCDIR "/" BRLAPI_AUTHKEYFILE
|
|
||||||
+
|
|
||||||
+#ifdef USE_POLKIT
|
|
||||||
+#define BRLAPI_DEFAUTH_POLKIT "+polkit"
|
|
||||||
+#else /* USE_POLKIT */
|
|
||||||
+#define BRLAPI_DEFAUTH_POLKIT ""
|
|
||||||
+#endif /* USE_POLKIT */
|
|
||||||
+
|
|
||||||
+#define BRLAPI_DEFAUTH BRLAPI_DEFAUTH_KEYFILE BRLAPI_DEFAUTH_POLKIT
|
|
||||||
#endif /* BRLAPI_WIN32 */
|
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'brltty'
|
# Template file for 'brltty'
|
||||||
pkgname=brltty
|
pkgname=brltty
|
||||||
version=5.5
|
version=5.6
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config python3-Cython"
|
hostmakedepends="pkg-config python3-Cython"
|
||||||
makedepends="ncurses-devel alsa-lib-devel gpm-devel icu-devel python3-devel libbluetooth-devel"
|
makedepends="ncurses-devel alsa-lib-devel gpm-devel icu-devel python3-devel libbluetooth-devel"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2, LGPL-2.1"
|
||||||
homepage="http://mielke.cc/brltty/"
|
homepage="http://mielke.cc/brltty/"
|
||||||
distfiles="http://mielke.cc/brltty/archive/brltty-${version}.tar.xz"
|
distfiles="http://mielke.cc/brltty/archive/brltty-${version}.tar.xz"
|
||||||
checksum=4ebf1df5922df0efccac4795f5bd1c514fc850348c34d9ec0868e2798b565a36
|
checksum=6171258aca833bb2012afd9c63928573a48c3daab7b149a3e90001ba53beb80f
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686*|x86_64*) configure_args="${configure_args} --with-ports-package=glibc";;
|
i686*|x86_64*) configure_args="${configure_args} --with-ports-package=glibc";;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue