brltty: update to 5.5.

This commit is contained in:
Christopher Brannon 2017-04-23 14:13:18 -07:00
parent 047524211f
commit 43fda27b82
2 changed files with 25 additions and 4 deletions

View file

@ -0,0 +1,10 @@
diff -Naur brltty-5.5/Bindings/Python/Makefile.in brltty-5.5.new/Bindings/Python/Makefile.in
--- Bindings/Python/Makefile.in 2017-04-18 15:35:13.000000000 -0700
+++ Bindings/Python/Makefile.in 2017-04-23 17:36:27.797793633 -0700
@@ -1,3 +1,6 @@
+export LDFLAGS= @LDFLAGS@ @PYTHON_LIBS@
+export CFLAGS= @CFLAGS@ @PYTHON_CPPFLAGS@
+export LDSHARED= @CC@ -shared @LDFLAGS@
###############################################################################
# libbrlapi - A library providing access to braille terminals for applications.
#

View file

@ -1,22 +1,33 @@
# Template file for 'brltty' # Template file for 'brltty'
pkgname=brltty pkgname=brltty
version=5.4 version=5.5
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
makedepends="ncurses-devel alsa-lib-devel gpm-devel at-spi2-core-devel" hostmakedepends="pkg-config python3-Cython python3 xproto"
configure_args="--enable-gpm --with-screen-driver=lx --with-tables-directory=/usr/share/brltty" makedepends="ncurses-devel alsa-lib-devel gpm-devel at-spi2-core-devel dbus-devel glib-devel xproto icu-devel python3-devel libbluetooth-devel"
depends="python3"
configure_args="--enable-gpm --with-screen-driver=lx,a2,sc --with-tables-directory=/usr/share/brltty PYTHON=/usr/bin/python3"
short_desc="Braille display driver for Linux/Unix" short_desc="Braille display driver for Linux/Unix"
maintainer="Juan RP <xtraeme@voidlinux.eu>" 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=5d071bd6be9e7f3f85745088e00471c8dec6ebb77fd5b5c89e8f4cbc2d2c5d4f checksum=4ebf1df5922df0efccac4795f5bd1c514fc850348c34d9ec0868e2798b565a36
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) configure_args="${configure_args} --with-ports-package=glibc";;
*) configure_args="${configure_args} --with-ports-package=none";;
esac
# glibc is a misnomer here, it's just ioperm inb outp and friends, works
# fine with musl.
pre_configure() { pre_configure() {
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in
*-musl) # There is no ldconfig in musl libc *-musl) # There is no ldconfig in musl libc
sed -e "s;/sbin/ldconfig -n;echo;" -i configure sed -e "s;/sbin/ldconfig -n;echo;" -i configure
esac esac
export PYTHON_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython3.5m"
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python3.5m"
} }
post_configure() { post_configure() {
case "$XBPS_TARGET_MACHINE" in case "$XBPS_TARGET_MACHINE" in