mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
brltty: update to 6.0.
This commit is contained in:
parent
e6dddc679d
commit
82de1fc8f7
2 changed files with 12 additions and 8 deletions
|
@ -2125,7 +2125,7 @@ libp8-platform.so.2 p8-platform-2.1.0.1_1
|
||||||
libOIS.so.1.5.0 ois-1.5_1
|
libOIS.so.1.5.0 ois-1.5_1
|
||||||
libSILLY.so.1 silly-0.1.0_1
|
libSILLY.so.1 silly-0.1.0_1
|
||||||
libkeybinder-3.0.so.0 libkeybinder3-0.3.0_1
|
libkeybinder-3.0.so.0 libkeybinder3-0.3.0_1
|
||||||
libbrlapi.so.0.6 brltty-5.2_1
|
libbrlapi.so.0.7 brltty-6.0_1
|
||||||
liblouis.so.17 liblouis-3.8.0_1
|
liblouis.so.17 liblouis-3.8.0_1
|
||||||
libCEGUIBase-0.7.9.so cegui07-0.7.9_1
|
libCEGUIBase-0.7.9.so cegui07-0.7.9_1
|
||||||
libCEGUIFalagardWRBase-0.7.9.so cegui07-0.7.9_1
|
libCEGUIFalagardWRBase-0.7.9.so cegui07-0.7.9_1
|
||||||
|
|
|
@ -1,22 +1,24 @@
|
||||||
# Template file for 'brltty'
|
# Template file for 'brltty'
|
||||||
pkgname=brltty
|
pkgname=brltty
|
||||||
version=5.6
|
version=6.0
|
||||||
revision=4
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
configure_args="--enable-gpm --with-screen-driver=lx,sc
|
||||||
|
--with-tables-directory=/usr/share/brltty PYTHON=/usr/bin/python3"
|
||||||
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"
|
||||||
configure_args="--enable-gpm --with-screen-driver=lx,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.org>"
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
||||||
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=6171258aca833bb2012afd9c63928573a48c3daab7b149a3e90001ba53beb80f
|
checksum=cfa80c2d171a4d92d7a327b1942e6fc463669b1c3bb658bfb3323b723f9096f7
|
||||||
|
|
||||||
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";;
|
||||||
*) configure_args="${configure_args} --with-ports-package=none";;
|
*) configure_args="${configure_args} --with-ports-package=none";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# glibc is a misnomer here, it's just ioperm inb outp and friends, works
|
# glibc is a misnomer here, it's just ioperm inb outp and friends, works
|
||||||
# fine with musl.
|
# fine with musl.
|
||||||
|
|
||||||
|
@ -28,12 +30,14 @@ pre_configure() {
|
||||||
export PYTHON_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}${py3_abiver}"
|
export PYTHON_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}${py3_abiver}"
|
||||||
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
|
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
|
||||||
}
|
}
|
||||||
|
|
||||||
post_configure() {
|
post_configure() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
arm*-musl) # Fix erroneously detected "#define HAVE_SYS_IO_H 1"
|
arm*-musl) # Fix erroneously detected "#define HAVE_SYS_IO_H 1"
|
||||||
sed -i config.h -e"s;#define HAVE_SYS_IO_H 1;#undef HAVE_SYS_IO_H;"
|
sed -i config.h -e"s;#define HAVE_SYS_IO_H 1;#undef HAVE_SYS_IO_H;"
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make INSTALL_ROOT=${DESTDIR} install
|
make INSTALL_ROOT=${DESTDIR} install
|
||||||
vsv $pkgname
|
vsv $pkgname
|
||||||
|
@ -48,8 +52,8 @@ brltty-devel_package() {
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/brltty-config
|
vmove usr/bin/brltty-config
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/*.a
|
vmove "usr/lib/*.a"
|
||||||
vmove usr/lib/*.so
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share/man/man3
|
vmove usr/share/man/man3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue