parent
ea2c1110fd
commit
a088127b32
Binary file not shown.
Binary file not shown.
@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>hlein@korelogic.com</email>
|
||||||
|
<name>Hank Leininger</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person">
|
||||||
|
<email>nex+b-g-o@nexadn.de</email>
|
||||||
|
<name>Adrian Schollmeyer</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,5 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>hlein@korelogic.com</email>
|
||||||
|
<name>Hank Leininger</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST brltty-6.1.tar.xz 3394852 BLAKE2B 03e6358721dcd5c3bdee3301a1ed827a690128ec339669543279c7e9a115bef6c5d8630e4af2d0b214b9c7c3eaa9001ab4c54ae7fb899cb3bc675985f51d6933 SHA512 030ef60ef7a9a60dc2fba2a64ea0a0868395eee6f2f86876b4e4111e804a05b44f798a154a69a8f5e0f6358130993c360a550f7decac0535450f9cf939231eaf
|
|
||||||
DIST brltty-6.4.tar.xz 3669296 BLAKE2B 2824b212c7e4fea0f65c7ae111432071805aa63117a7e9a9932d7720ef2157f1e6fd33e3e91e4515c7131bd066db8f910969fb186d2007b63bc83efcbe2332b1 SHA512 384848d05f78732952079d6f5170046927fcb35f400ece71ca897415a793c0aa1047934f8cd5e9e781536fb0b7cb71273283f3bba21e59f082ba8f6f2416352e
|
|
||||||
DIST brltty-6.5.tar.xz 3631628 BLAKE2B b2e5f82f15dff9a99bf3d75523f6ec48d531d413d860079af0023b9efdc07a93563226c6388cc89ce025f8d13b1635e883680f0ddb8a688ffcc4cd9c335d7aee SHA512 bbfbb89b1c3ba5063ad3bc0aa97b859dd23acea1feb79dab20c57dc74ff2f26649942fcecc7030a3f70555596f4d9d35cd05616af2a8e101d4d56b4c471a6ad3
|
DIST brltty-6.5.tar.xz 3631628 BLAKE2B b2e5f82f15dff9a99bf3d75523f6ec48d531d413d860079af0023b9efdc07a93563226c6388cc89ce025f8d13b1635e883680f0ddb8a688ffcc4cd9c335d7aee SHA512 bbfbb89b1c3ba5063ad3bc0aa97b859dd23acea1feb79dab20c57dc74ff2f26649942fcecc7030a3f70555596f4d9d35cd05616af2a8e101d4d56b4c471a6ad3
|
||||||
|
@ -1,218 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
FINDLIB_USE="ocaml"
|
|
||||||
JAVA_PKG_WANT_SOURCE="1.8"
|
|
||||||
JAVA_PKG_WANT_TARGET="1.8"
|
|
||||||
|
|
||||||
inherit findlib multilib toolchain-funcs java-pkg-opt-2 flag-o-matic usr-ldscript \
|
|
||||||
autotools udev systemd python-r1 tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
|
|
||||||
HOMEPAGE="https://brltty.app/"
|
|
||||||
SRC_URI="https://brltty.app/archive/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2 LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv x86"
|
|
||||||
IUSE="+api +beeper bluetooth +contracted-braille doc +fm gpm iconv icu
|
|
||||||
java louis +midi ncurses nls ocaml +pcm policykit python
|
|
||||||
usb systemd +speech tcl xml X"
|
|
||||||
REQUIRED_USE="doc? ( api )
|
|
||||||
java? ( api )
|
|
||||||
ocaml? ( api )
|
|
||||||
python? ( api ${PYTHON_REQUIRED_USE} )
|
|
||||||
tcl? ( api )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
app-accessibility/at-spi2-core:2
|
|
||||||
dev-libs/libpcre2[pcre32]
|
|
||||||
sys-apps/dbus
|
|
||||||
bluetooth? ( net-wireless/bluez )
|
|
||||||
gpm? ( >=sys-libs/gpm-1.20 )
|
|
||||||
iconv? ( virtual/libiconv )
|
|
||||||
icu? ( dev-libs/icu:= )
|
|
||||||
louis? ( dev-libs/liblouis:= )
|
|
||||||
midi? ( media-libs/alsa-lib )
|
|
||||||
ncurses? ( sys-libs/ncurses:0= )
|
|
||||||
pcm? ( media-libs/alsa-lib )
|
|
||||||
policykit? ( sys-auth/polkit )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
speech? (
|
|
||||||
app-accessibility/espeak
|
|
||||||
app-accessibility/flite
|
|
||||||
app-accessibility/speech-dispatcher
|
|
||||||
)
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
tcl? ( >=dev-lang/tcl-8.4.15:0= )
|
|
||||||
usb? ( virtual/libusb:0 )
|
|
||||||
xml? ( dev-libs/expat )
|
|
||||||
X? (
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXaw
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXt
|
|
||||||
x11-libs/libXtst
|
|
||||||
)"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
java? ( >=virtual/jre-1.8:* )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
java? ( >=virtual/jdk-1.8:* )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
python? ( >=dev-python/cython-0.16[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-6.0-udev.patch
|
|
||||||
"${FILESDIR}"/${PN}-5.2-respect-AR.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
java-pkg-opt-2_src_prepare
|
|
||||||
|
|
||||||
# We run eautoconf instead of using eautoreconf because brltty uses
|
|
||||||
# a custom build system that uses autoconf without the rest of the
|
|
||||||
# autotools.
|
|
||||||
eautoconf
|
|
||||||
use python && python_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export AR LD PKG_CONFIG
|
|
||||||
|
|
||||||
export JAVAC=""
|
|
||||||
export JAVA_JNI_FLAGS=""
|
|
||||||
if use java; then
|
|
||||||
export JAVA_HOME="$(java-config -g JAVA_HOME)"
|
|
||||||
export JAVAC_HOME="${JAVA_HOME}/bin"
|
|
||||||
export JAVA_JNI_FLAGS="$(java-pkg_get-jni-cflags)"
|
|
||||||
export JAVAC="$(java-pkg_get-javac) -encoding UTF-8 $(java-pkg_javac-args)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# override prefix in order to install into /
|
|
||||||
# braille terminal needs to be available as soon in the boot process as
|
|
||||||
# possible
|
|
||||||
# Also override localstatedir so that the lib/brltty directory is installed
|
|
||||||
# correctly.
|
|
||||||
# Disable stripping since we do that ourselves.
|
|
||||||
local myconf=(
|
|
||||||
--prefix="${EPREFIX}"/
|
|
||||||
--localedir="${EPREFIX}"/usr/share/locale
|
|
||||||
--includedir="${EPREFIX}"/usr/include
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
--disable-stripping
|
|
||||||
--with-writable-directory="${EPREFIX}"/run/brltty
|
|
||||||
$(use_enable api)
|
|
||||||
$(use_with beeper beep-package)
|
|
||||||
$(use_enable contracted-braille)
|
|
||||||
$(use_with fm fm-package)
|
|
||||||
$(use_enable gpm)
|
|
||||||
$(use_enable iconv)
|
|
||||||
$(use_enable icu)
|
|
||||||
$(use_enable java java-bindings)
|
|
||||||
$(use_enable louis liblouis)
|
|
||||||
$(use_with midi midi-package)
|
|
||||||
$(use_enable nls i18n)
|
|
||||||
$(use_enable ocaml ocaml-bindings)
|
|
||||||
$(use_with pcm pcm-package)
|
|
||||||
$(use_enable policykit polkit)
|
|
||||||
$(use_enable python python-bindings)
|
|
||||||
$(use_enable speech speech-support)
|
|
||||||
$(use_with systemd service-package)
|
|
||||||
$(use_enable tcl tcl-bindings)
|
|
||||||
$(use_enable xml expat)
|
|
||||||
$(use_enable X x)
|
|
||||||
$(use_with bluetooth bluetooth-package)
|
|
||||||
$(use_with ncurses curses)
|
|
||||||
$(use_with usb usb-package) )
|
|
||||||
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_configure() {
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_configure
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}"
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_build() {
|
|
||||||
cd "Bindings/Python" || die
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_build
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use ocaml; then
|
|
||||||
findlib_src_preinst
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake INSTALL_ROOT="${D}" OCAML_LDCONF= install
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_install() {
|
|
||||||
cd "Bindings/Python" || die
|
|
||||||
emake INSTALL_ROOT="${D}" install
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_install
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use java; then
|
|
||||||
java-pkg_doso Bindings/Java/libbrlapi_java.so
|
|
||||||
java-pkg_dojar Bindings/Java/brlapi.jar
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins Documents/brltty.conf
|
|
||||||
udev_newrules Autostart/Udev/rules 70-brltty.rules
|
|
||||||
newinitd "${FILESDIR}"/brltty.rc brltty
|
|
||||||
systemd_dounit Autostart/Systemd/brltty@.service
|
|
||||||
dotmpfiles "${FILESDIR}/${PN}.tmpfiles.conf"
|
|
||||||
|
|
||||||
if use api ; then
|
|
||||||
local libdir="$(get_libdir)"
|
|
||||||
mkdir -p "${ED}"/usr/${libdir}/ || die
|
|
||||||
mv "${ED}"/${libdir}/*.a "${ED}"/usr/${libdir}/ || die
|
|
||||||
gen_usr_ldscript libbrlapi.so
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd Documents || die
|
|
||||||
mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt || die
|
|
||||||
mv Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt || die
|
|
||||||
mv Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt || die
|
|
||||||
dodoc CONTRIBUTORS ChangeLog HISTORY README* TODO BRLTTY-*.txt
|
|
||||||
if use doc; then
|
|
||||||
dodoc BrlAPI-*.txt
|
|
||||||
HTML_DOCS="Manual-BRLTTY" einstalldocs
|
|
||||||
fi
|
|
||||||
|
|
||||||
keepdir /var/lib/BrlAPI
|
|
||||||
rmdir "${ED}/run/brltty" || die
|
|
||||||
rmdir "${ED}/run" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
tmpfiles_process ${PN}.tmpfiles.conf
|
|
||||||
|
|
||||||
elog
|
|
||||||
elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system."
|
|
||||||
elog
|
|
||||||
elog "To make brltty start on boot, type this command as root:"
|
|
||||||
elog
|
|
||||||
elog "rc-update add brltty boot"
|
|
||||||
}
|
|
@ -1,218 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..9} )
|
|
||||||
FINDLIB_USE="ocaml"
|
|
||||||
JAVA_PKG_WANT_SOURCE="1.8"
|
|
||||||
JAVA_PKG_WANT_TARGET="1.8"
|
|
||||||
|
|
||||||
inherit findlib multilib toolchain-funcs java-pkg-opt-2 flag-o-matic usr-ldscript \
|
|
||||||
autotools udev systemd python-r1 tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
|
|
||||||
HOMEPAGE="https://brltty.app/"
|
|
||||||
SRC_URI="https://brltty.app/archive/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2 LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 x86"
|
|
||||||
IUSE="+api +beeper bluetooth +contracted-braille doc +fm gpm iconv icu
|
|
||||||
java louis +midi ncurses nls ocaml +pcm policykit python
|
|
||||||
usb systemd +speech tcl xml X"
|
|
||||||
REQUIRED_USE="doc? ( api )
|
|
||||||
java? ( api )
|
|
||||||
ocaml? ( api )
|
|
||||||
python? ( api ${PYTHON_REQUIRED_USE} )
|
|
||||||
tcl? ( api )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
app-accessibility/at-spi2-core:2
|
|
||||||
dev-libs/libpcre2[pcre32]
|
|
||||||
sys-apps/dbus
|
|
||||||
bluetooth? ( net-wireless/bluez )
|
|
||||||
gpm? ( >=sys-libs/gpm-1.20 )
|
|
||||||
iconv? ( virtual/libiconv )
|
|
||||||
icu? ( dev-libs/icu:= )
|
|
||||||
louis? ( dev-libs/liblouis:= )
|
|
||||||
midi? ( media-libs/alsa-lib )
|
|
||||||
ncurses? ( sys-libs/ncurses:0= )
|
|
||||||
pcm? ( media-libs/alsa-lib )
|
|
||||||
policykit? ( sys-auth/polkit )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
speech? (
|
|
||||||
app-accessibility/espeak
|
|
||||||
app-accessibility/flite
|
|
||||||
app-accessibility/speech-dispatcher
|
|
||||||
)
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
tcl? ( >=dev-lang/tcl-8.4.15:0= )
|
|
||||||
usb? ( virtual/libusb:0 )
|
|
||||||
xml? ( dev-libs/expat )
|
|
||||||
X? (
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXaw
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXt
|
|
||||||
x11-libs/libXtst
|
|
||||||
)"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
java? ( >=virtual/jre-1.4 )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
java? ( >=virtual/jdk-1.4 )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
python? ( >=dev-python/cython-0.16[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-6.0-udev.patch
|
|
||||||
"${FILESDIR}"/${PN}-5.2-respect-AR.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
java-pkg-opt-2_src_prepare
|
|
||||||
|
|
||||||
# We run eautoconf instead of using eautoreconf because brltty uses
|
|
||||||
# a custom build system that uses autoconf without the rest of the
|
|
||||||
# autotools.
|
|
||||||
eautoconf
|
|
||||||
use python && python_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export AR LD PKG_CONFIG
|
|
||||||
|
|
||||||
export JAVAC=""
|
|
||||||
export JAVA_JNI_FLAGS=""
|
|
||||||
if use java; then
|
|
||||||
export JAVA_HOME="$(java-config -g JAVA_HOME)"
|
|
||||||
export JAVAC_HOME="${JAVA_HOME}/bin"
|
|
||||||
export JAVA_JNI_FLAGS="$(java-pkg_get-jni-cflags)"
|
|
||||||
export JAVAC="$(java-pkg_get-javac) -encoding UTF-8 $(java-pkg_javac-args)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# override prefix in order to install into /
|
|
||||||
# braille terminal needs to be available as soon in the boot process as
|
|
||||||
# possible
|
|
||||||
# Also override localstatedir so that the lib/brltty directory is installed
|
|
||||||
# correctly.
|
|
||||||
# Disable stripping since we do that ourselves.
|
|
||||||
local myconf=(
|
|
||||||
--prefix="${EPREFIX}"/
|
|
||||||
--localedir="${EPREFIX}"/usr/share/locale
|
|
||||||
--includedir="${EPREFIX}"/usr/include
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
--disable-stripping
|
|
||||||
--with-writable-directory="${EPREFIX}"/run/brltty
|
|
||||||
$(use_enable api)
|
|
||||||
$(use_with beeper beep-package)
|
|
||||||
$(use_enable contracted-braille)
|
|
||||||
$(use_with fm fm-package)
|
|
||||||
$(use_enable gpm)
|
|
||||||
$(use_enable iconv)
|
|
||||||
$(use_enable icu)
|
|
||||||
$(use_enable java java-bindings)
|
|
||||||
$(use_enable louis liblouis)
|
|
||||||
$(use_with midi midi-package)
|
|
||||||
$(use_enable nls i18n)
|
|
||||||
$(use_enable ocaml ocaml-bindings)
|
|
||||||
$(use_with pcm pcm-package)
|
|
||||||
$(use_enable policykit polkit)
|
|
||||||
$(use_enable python python-bindings)
|
|
||||||
$(use_enable speech speech-support)
|
|
||||||
$(use_with systemd service-package)
|
|
||||||
$(use_enable tcl tcl-bindings)
|
|
||||||
$(use_enable xml expat)
|
|
||||||
$(use_enable X x)
|
|
||||||
$(use_with bluetooth bluetooth-package)
|
|
||||||
$(use_with ncurses curses)
|
|
||||||
$(use_with usb usb-package) )
|
|
||||||
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_configure() {
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_configure
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}"
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_build() {
|
|
||||||
cd "Bindings/Python" || die
|
|
||||||
emake
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_build
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use ocaml; then
|
|
||||||
findlib_src_preinst
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake INSTALL_ROOT="${D}" OCAML_LDCONF= install
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_install() {
|
|
||||||
cd "Bindings/Python" || die
|
|
||||||
emake INSTALL_ROOT="${D}" install
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_install
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use java; then
|
|
||||||
java-pkg_doso Bindings/Java/libbrlapi_java.so
|
|
||||||
java-pkg_dojar Bindings/Java/brlapi.jar
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins Documents/brltty.conf
|
|
||||||
udev_newrules Autostart/Udev/rules 70-brltty.rules
|
|
||||||
newinitd "${FILESDIR}"/brltty.rc brltty
|
|
||||||
systemd_dounit Autostart/Systemd/brltty@.service
|
|
||||||
dotmpfiles "${FILESDIR}/${PN}.tmpfiles.conf"
|
|
||||||
|
|
||||||
if use api ; then
|
|
||||||
local libdir="$(get_libdir)"
|
|
||||||
mkdir -p "${ED}"/usr/${libdir}/ || die
|
|
||||||
mv "${ED}"/${libdir}/*.a "${ED}"/usr/${libdir}/ || die
|
|
||||||
gen_usr_ldscript libbrlapi.so
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd Documents || die
|
|
||||||
mv Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt || die
|
|
||||||
mv Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt || die
|
|
||||||
mv Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt || die
|
|
||||||
dodoc CONTRIBUTORS ChangeLog HISTORY README* TODO BRLTTY-*.txt
|
|
||||||
if use doc; then
|
|
||||||
dodoc BrlAPI-*.txt
|
|
||||||
HTML_DOCS="Manual-BRLTTY" einstalldocs
|
|
||||||
fi
|
|
||||||
|
|
||||||
keepdir /var/lib/BrlAPI
|
|
||||||
rmdir "${ED}/run/brltty" || die
|
|
||||||
rmdir "${ED}/run" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
tmpfiles_process ${PN}.tmpfiles.conf
|
|
||||||
|
|
||||||
elog
|
|
||||||
elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system."
|
|
||||||
elog
|
|
||||||
elog "To make brltty start on boot, type this command as root:"
|
|
||||||
elog
|
|
||||||
elog "rc-update add brltty boot"
|
|
||||||
}
|
|
@ -1,221 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..10} )
|
|
||||||
FINDLIB_USE="ocaml"
|
|
||||||
JAVA_PKG_WANT_SOURCE="1.8"
|
|
||||||
JAVA_PKG_WANT_TARGET="1.8"
|
|
||||||
|
|
||||||
inherit findlib toolchain-funcs java-pkg-opt-2 autotools systemd \
|
|
||||||
python-r1 tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
|
|
||||||
HOMEPAGE="https://brltty.app/"
|
|
||||||
SRC_URI="https://brltty.app/archive/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2 LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ppc ppc64 ~riscv x86"
|
|
||||||
IUSE="+api +beeper bluetooth doc +fm gpm iconv icu
|
|
||||||
java louis +midi ncurses nls ocaml +pcm policykit python
|
|
||||||
usb systemd +speech tcl xml X"
|
|
||||||
REQUIRED_USE="doc? ( api )
|
|
||||||
java? ( api )
|
|
||||||
ocaml? ( api )
|
|
||||||
python? ( api ${PYTHON_REQUIRED_USE} )
|
|
||||||
tcl? ( api )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
acct-group/brltty
|
|
||||||
acct-user/brltty
|
|
||||||
dev-libs/libpcre2[pcre32]
|
|
||||||
bluetooth? (
|
|
||||||
sys-apps/dbus
|
|
||||||
net-wireless/bluez
|
|
||||||
)
|
|
||||||
gpm? ( >=sys-libs/gpm-1.20 )
|
|
||||||
iconv? ( virtual/libiconv )
|
|
||||||
icu? ( dev-libs/icu:= )
|
|
||||||
louis? ( dev-libs/liblouis:= )
|
|
||||||
midi? ( media-libs/alsa-lib )
|
|
||||||
ncurses? ( sys-libs/ncurses:0= )
|
|
||||||
pcm? ( media-libs/alsa-lib )
|
|
||||||
policykit? ( sys-auth/polkit )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
speech? (
|
|
||||||
app-accessibility/espeak-ng
|
|
||||||
app-accessibility/flite
|
|
||||||
app-accessibility/speech-dispatcher
|
|
||||||
)
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
tcl? ( >=dev-lang/tcl-8.4.15:0= )
|
|
||||||
usb? ( virtual/libusb:0 )
|
|
||||||
xml? ( dev-libs/expat )
|
|
||||||
X? (
|
|
||||||
app-accessibility/at-spi2-core:2
|
|
||||||
sys-apps/dbus
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXaw
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXt
|
|
||||||
x11-libs/libXtst
|
|
||||||
)"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
java? ( >=virtual/jre-1.8:* )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
java? ( >=virtual/jdk-1.8:* )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
python? ( >=dev-python/cython-0.16[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-respect-AR.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
java-pkg-opt-2_src_prepare
|
|
||||||
|
|
||||||
# We run eautoconf instead of using eautoreconf because brltty uses
|
|
||||||
# a custom build system that uses autoconf without the rest of the
|
|
||||||
# autotools.
|
|
||||||
eautoconf
|
|
||||||
use python && python_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export AR LD PKG_CONFIG
|
|
||||||
|
|
||||||
export JAVAC=""
|
|
||||||
export JAVA_JNI_FLAGS=""
|
|
||||||
if use java; then
|
|
||||||
export JAVA_HOME="$(java-config -g JAVA_HOME)"
|
|
||||||
export JAVAC_HOME="${JAVA_HOME}/bin"
|
|
||||||
export JAVA_JNI_FLAGS="$(java-pkg_get-jni-cflags)"
|
|
||||||
export JAVAC="$(java-pkg_get-javac) -encoding UTF-8 $(java-pkg_javac-args)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Override bindir for backward compatibility.
|
|
||||||
# Also override localstatedir so that the lib/brltty directory is installed
|
|
||||||
# correctly.
|
|
||||||
# Disable stripping since we do that ourselves.
|
|
||||||
local myconf=(
|
|
||||||
--bindir="${EPREFIX}"/bin
|
|
||||||
--htmldir="${EPREFIX}"/usr/share/doc/"${P}"/html
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
--disable-stripping
|
|
||||||
--with-updatable-directory="${EPREFIX}"/var/lib/brltty
|
|
||||||
--with-writable-directory="${EPREFIX}"/run/brltty
|
|
||||||
--with-privilege-parameters=lx:user=brltty
|
|
||||||
$(use_enable api)
|
|
||||||
$(use_with beeper beep-package)
|
|
||||||
$(use_with fm fm-package)
|
|
||||||
$(use_enable gpm)
|
|
||||||
$(use_enable iconv)
|
|
||||||
$(use_enable icu)
|
|
||||||
$(use_enable java java-bindings)
|
|
||||||
$(use_enable louis liblouis)
|
|
||||||
$(use_with midi midi-package)
|
|
||||||
$(use_enable nls i18n)
|
|
||||||
$(use_enable ocaml ocaml-bindings)
|
|
||||||
$(use_with pcm pcm-package)
|
|
||||||
$(use_enable policykit polkit)
|
|
||||||
$(use_enable python python-bindings)
|
|
||||||
$(use_enable speech speech-support)
|
|
||||||
$(use_with systemd service-package)
|
|
||||||
$(use_enable tcl tcl-bindings)
|
|
||||||
$(use_enable xml expat)
|
|
||||||
$(use_enable X x)
|
|
||||||
$(use_with bluetooth bluetooth-package)
|
|
||||||
$(use_with ncurses curses)
|
|
||||||
$(use_with usb usb-package)
|
|
||||||
)
|
|
||||||
# disable espeak since we use espeak-ng
|
|
||||||
use speech && myconf+=( --with-speech-driver=-es )
|
|
||||||
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_configure() {
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_configure
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -j1 JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}"
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_build() {
|
|
||||||
cd "Bindings/Python" || die
|
|
||||||
emake -j1
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_build
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use ocaml; then
|
|
||||||
findlib_src_preinst
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake -j1 INSTALL_ROOT="${D}" OCAML_LDCONF= install
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_install() {
|
|
||||||
cd "Bindings/Python" || die
|
|
||||||
emake -j1 INSTALL_ROOT="${D}" install
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_install
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use java; then
|
|
||||||
java-pkg_doso Bindings/Java/libbrlapi_java.so
|
|
||||||
java-pkg_dojar Bindings/Java/brlapi.jar
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins Documents/brltty.conf
|
|
||||||
newinitd "${FILESDIR}"/brltty.initd brltty
|
|
||||||
pushd Autostart/Systemd 1> /dev/null || die
|
|
||||||
emake -j1 INSTALL_ROOT="${ED}" install
|
|
||||||
popd
|
|
||||||
pushd Autostart/Udev 1> /dev/null || die
|
|
||||||
emake -j1 INSTALL_ROOT="${ED}" install
|
|
||||||
popd
|
|
||||||
|
|
||||||
newdoc doc/Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt
|
|
||||||
newdoc doc/Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt
|
|
||||||
newdoc doc/Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt
|
|
||||||
dodoc Documents/{CONTRIBUTORS,ChangeLog,HISTORY,README*,TODO}
|
|
||||||
if use doc; then
|
|
||||||
HTML_DOCS="doc/Manual-BRLTTY" einstalldocs
|
|
||||||
fi
|
|
||||||
|
|
||||||
keepdir /var/lib/BrlAPI
|
|
||||||
rm -fr "${ED}/run" || die
|
|
||||||
find "${ED}" -name '*.a' -delete || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
tmpfiles_process ${PN}.conf
|
|
||||||
|
|
||||||
elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system."
|
|
||||||
elog
|
|
||||||
elog "To make brltty start on boot on an OpenRC system, type this command:"
|
|
||||||
elog "# rc-update add brltty boot"
|
|
||||||
elog
|
|
||||||
elog "If you are using systemd, type this command:"
|
|
||||||
elog "# systemctl daemon-reload"
|
|
||||||
elog
|
|
||||||
elog "Please reload udev by typing:"
|
|
||||||
elog "# udevadm control --reload"
|
|
||||||
}
|
|
@ -1,210 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7..10} )
|
|
||||||
FINDLIB_USE="ocaml"
|
|
||||||
JAVA_PKG_WANT_SOURCE="1.8"
|
|
||||||
JAVA_PKG_WANT_TARGET="1.8"
|
|
||||||
|
|
||||||
inherit findlib toolchain-funcs java-pkg-opt-2 autotools systemd \
|
|
||||||
python-r1 tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="Daemon that provides access to the Linux/Unix console for a blind person"
|
|
||||||
HOMEPAGE="https://brltty.app/"
|
|
||||||
SRC_URI="https://brltty.app/archive/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2 LGPL-2.1"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~x86"
|
|
||||||
IUSE="+api +beeper bluetooth doc +fm gpm iconv icu
|
|
||||||
java louis +midi ncurses nls ocaml +pcm policykit python
|
|
||||||
usb systemd +speech tcl xml X"
|
|
||||||
REQUIRED_USE="doc? ( api )
|
|
||||||
java? ( api )
|
|
||||||
ocaml? ( api )
|
|
||||||
python? ( api ${PYTHON_REQUIRED_USE} )
|
|
||||||
tcl? ( api )"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
app-accessibility/at-spi2-core:2
|
|
||||||
dev-libs/libpcre2[pcre32]
|
|
||||||
sys-apps/dbus
|
|
||||||
bluetooth? ( net-wireless/bluez )
|
|
||||||
gpm? ( >=sys-libs/gpm-1.20 )
|
|
||||||
iconv? ( virtual/libiconv )
|
|
||||||
icu? ( dev-libs/icu:= )
|
|
||||||
louis? ( dev-libs/liblouis:= )
|
|
||||||
midi? ( media-libs/alsa-lib )
|
|
||||||
ncurses? ( sys-libs/ncurses:0= )
|
|
||||||
pcm? ( media-libs/alsa-lib )
|
|
||||||
policykit? ( sys-auth/polkit )
|
|
||||||
python? ( ${PYTHON_DEPS} )
|
|
||||||
speech? (
|
|
||||||
app-accessibility/espeak-ng
|
|
||||||
app-accessibility/flite
|
|
||||||
app-accessibility/speech-dispatcher
|
|
||||||
)
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
tcl? ( >=dev-lang/tcl-8.4.15:0= )
|
|
||||||
usb? ( virtual/libusb:0 )
|
|
||||||
xml? ( dev-libs/expat )
|
|
||||||
X? (
|
|
||||||
x11-libs/libX11
|
|
||||||
x11-libs/libXaw
|
|
||||||
x11-libs/libXfixes
|
|
||||||
x11-libs/libXt
|
|
||||||
x11-libs/libXtst
|
|
||||||
)"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
java? ( >=virtual/jre-1.8:* )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
virtual/pkgconfig
|
|
||||||
java? ( >=virtual/jdk-1.8:* )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
python? ( >=dev-python/cython-0.16[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
HTML_DOCS=( "${S}"/Documents/Manual-BrlAPI/. )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-5.2-respect-AR.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
java-pkg-opt-2_src_prepare
|
|
||||||
|
|
||||||
# We run eautoconf instead of using eautoreconf because brltty uses
|
|
||||||
# a custom build system that uses autoconf without the rest of the
|
|
||||||
# autotools.
|
|
||||||
eautoconf
|
|
||||||
use python && python_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export AR LD PKG_CONFIG
|
|
||||||
|
|
||||||
export JAVAC=""
|
|
||||||
export JAVA_JNI_FLAGS=""
|
|
||||||
if use java; then
|
|
||||||
export JAVA_HOME="$(java-config -g JAVA_HOME)"
|
|
||||||
export JAVAC_HOME="${JAVA_HOME}/bin"
|
|
||||||
export JAVA_JNI_FLAGS="$(java-pkg_get-jni-cflags)"
|
|
||||||
export JAVAC="$(java-pkg_get-javac) -encoding UTF-8 $(java-pkg_javac-args)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# override prefix in order to install into /
|
|
||||||
# braille terminal needs to be available as soon in the boot process as
|
|
||||||
# possible
|
|
||||||
# Also override localstatedir so that the lib/brltty directory is installed
|
|
||||||
# correctly.
|
|
||||||
# Disable stripping since we do that ourselves.
|
|
||||||
local myconf=(
|
|
||||||
--prefix="${EPREFIX}"/
|
|
||||||
--localedir="${EPREFIX}"/usr/share/locale
|
|
||||||
--includedir="${EPREFIX}"/usr/include
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
--disable-stripping
|
|
||||||
--with-writable-directory="${EPREFIX}"/run/brltty
|
|
||||||
$(use_enable api)
|
|
||||||
$(use_with beeper beep-package)
|
|
||||||
$(use_with fm fm-package)
|
|
||||||
$(use_enable gpm)
|
|
||||||
$(use_enable iconv)
|
|
||||||
$(use_enable icu)
|
|
||||||
$(use_enable java java-bindings)
|
|
||||||
$(use_enable louis liblouis)
|
|
||||||
$(use_with midi midi-package)
|
|
||||||
$(use_enable nls i18n)
|
|
||||||
$(use_enable ocaml ocaml-bindings)
|
|
||||||
$(use_with pcm pcm-package)
|
|
||||||
$(use_enable policykit polkit)
|
|
||||||
$(use_enable python python-bindings)
|
|
||||||
$(use_enable speech speech-support)
|
|
||||||
$(use_with systemd service-package)
|
|
||||||
$(use_enable tcl tcl-bindings)
|
|
||||||
$(use_enable xml expat)
|
|
||||||
$(use_enable X x)
|
|
||||||
$(use_with bluetooth bluetooth-package)
|
|
||||||
$(use_with ncurses curses)
|
|
||||||
$(use_with usb usb-package)
|
|
||||||
)
|
|
||||||
# disable espeak since we use espeak-ng
|
|
||||||
use speech && myconf+=( --with-speech-driver=-es )
|
|
||||||
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_configure() {
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_configure
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -j1 JAVA_JNI_FLAGS="${JAVA_JNI_FLAGS}" JAVAC="${JAVAC}"
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_build() {
|
|
||||||
cd "Bindings/Python" || die
|
|
||||||
emake -j1
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_build
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
if use ocaml; then
|
|
||||||
findlib_src_preinst
|
|
||||||
fi
|
|
||||||
|
|
||||||
emake -j1 INSTALL_ROOT="${D}" OCAML_LDCONF= install
|
|
||||||
|
|
||||||
if use python; then
|
|
||||||
python_install() {
|
|
||||||
cd "Bindings/Python" || die
|
|
||||||
emake -j1 INSTALL_ROOT="${D}" install
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir python_install
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use java; then
|
|
||||||
java-pkg_doso Bindings/Java/libbrlapi_java.so
|
|
||||||
java-pkg_dojar Bindings/Java/brlapi.jar
|
|
||||||
fi
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
doins Documents/brltty.conf
|
|
||||||
newinitd "${FILESDIR}"/brltty.rc brltty
|
|
||||||
systemd_dounit Autostart/Systemd/brltty@.service
|
|
||||||
dotmpfiles "${FILESDIR}/${PN}.tmpfiles.conf"
|
|
||||||
|
|
||||||
mv doc/Manual-BRLTTY/English/BRLTTY.txt BRLTTY-en.txt || die
|
|
||||||
mv doc/Manual-BRLTTY/French/BRLTTY.txt BRLTTY-fr.txt || die
|
|
||||||
mv doc/Manual-BrlAPI/English/BrlAPI.txt BrlAPI-en.txt || die
|
|
||||||
dodoc Documents/{CONTRIBUTORS,ChangeLog,HISTORY,README*,TODO} BRLTTY-*.txt
|
|
||||||
if use doc; then
|
|
||||||
dodoc BrlAPI-*.txt
|
|
||||||
HTML_DOCS="doc/Manual-BRLTTY" einstalldocs
|
|
||||||
fi
|
|
||||||
|
|
||||||
keepdir /var/lib/BrlAPI
|
|
||||||
rm -fr "${ED}/run" || die
|
|
||||||
find "${ED}" -name '*.a' -delete || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
tmpfiles_process ${PN}.tmpfiles.conf
|
|
||||||
|
|
||||||
elog
|
|
||||||
elog "please be sure ${EROOT}/etc/brltty.conf is correct for your system."
|
|
||||||
elog
|
|
||||||
elog "To make brltty start on boot, type this command as root:"
|
|
||||||
elog
|
|
||||||
elog "rc-update add brltty boot"
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
--- a/Programs/Makefile.in
|
|
||||||
+++ b/Programs/Makefile.in
|
|
||||||
@@ -434,7 +434,7 @@
|
|
||||||
[ ! -f lib.def ] || mv lib.def $(API_DEF)
|
|
||||||
|
|
||||||
$(API_ARC): $(API_CLIENT_OBJECTS)
|
|
||||||
- ar rc $@ $(API_CLIENT_OBJECTS)
|
|
||||||
+ $(AR) rc $@ $(API_CLIENT_OBJECTS)
|
|
||||||
$(RANLIB) $@
|
|
||||||
|
|
||||||
brlapi_client.$O:
|
|
@ -1,27 +0,0 @@
|
|||||||
--- brltty-6.0/Autostart/Udev/rules
|
|
||||||
+++ brltty-6.0/Autostart/Udev/rules
|
|
||||||
@@ -276,20 +276,22 @@
|
|
||||||
# FreedomScientific [Focus Blue]
|
|
||||||
ENV{PRODUCT}=="f4e/114/*", ENV{BRLTTY_BRAILLE_DRIVER}="fs", GOTO="brltty_usb_run"
|
|
||||||
|
|
||||||
+# Seika rules are commented out, because they conflict with USB-to-serial
|
|
||||||
+# converters.
|
|
||||||
# Device: 10C4:EA60
|
|
||||||
# Generic Identifier
|
|
||||||
# Vendor: Cygnal Integrated Products, Inc.
|
|
||||||
# Product: CP210x UART Bridge / myAVR mySmartUSB light
|
|
||||||
# BrailleMemo [Pocket]
|
|
||||||
# Seika [Braille Display]
|
|
||||||
-ENV{PRODUCT}=="10c4/ea60/*", ENV{BRLTTY_BRAILLE_DRIVER}="mm,sk", GOTO="brltty_usb_run"
|
|
||||||
+#ENV{PRODUCT}=="10c4/ea60/*", ENV{BRLTTY_BRAILLE_DRIVER}="mm,sk", GOTO="brltty_usb_run"
|
|
||||||
|
|
||||||
# Device: 10C4:EA80
|
|
||||||
# Generic Identifier
|
|
||||||
# Vendor: Cygnal Integrated Products, Inc.
|
|
||||||
# Product: CP210x UART Bridge
|
|
||||||
# Seika [Note Taker]
|
|
||||||
-ENV{PRODUCT}=="10c4/ea80/*", ENV{BRLTTY_BRAILLE_DRIVER}="sk", GOTO="brltty_usb_run"
|
|
||||||
+#ENV{PRODUCT}=="10c4/ea80/*", ENV{BRLTTY_BRAILLE_DRIVER}="sk", GOTO="brltty_usb_run"
|
|
||||||
|
|
||||||
# Device: 1148:0301
|
|
||||||
# BrailleMemo [Smart]
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,111 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
inherit autotools toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="Package maintenance system for Debian"
|
||||||
|
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
||||||
|
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="+bzip2 +lzma nls selinux static-libs test +update-alternatives +zlib +zstd"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=app-arch/gzip-1.7
|
||||||
|
>=app-arch/tar-1.34-r1
|
||||||
|
app-crypt/libmd
|
||||||
|
>=dev-lang/perl-5.14.2:=
|
||||||
|
sys-libs/ncurses:=[unicode(+)]
|
||||||
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
lzma? ( app-arch/xz-utils )
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
selinux? ( sys-libs/libselinux )
|
||||||
|
zlib? ( >=sys-libs/zlib-1.1.4 )
|
||||||
|
zstd? ( app-arch/zstd:= )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
app-arch/xz-utils
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? (
|
||||||
|
dev-perl/IO-String
|
||||||
|
dev-perl/Test-Pod
|
||||||
|
virtual/perl-Test-Harness
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
sys-devel/flex
|
||||||
|
nls? (
|
||||||
|
app-text/po4a
|
||||||
|
>=sys-devel/gettext-0.18.2
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
sed -i -e 's|\<ar\>|${AR}|g' src/at/deb-format.at src/at/testsuite || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
tc-export AR CC
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--disable-compiler-warnings
|
||||||
|
--disable-devel-docs
|
||||||
|
--disable-dselect
|
||||||
|
--disable-start-stop-daemon
|
||||||
|
--enable-unicode
|
||||||
|
--localstatedir="${EPREFIX}"/var
|
||||||
|
$(use_enable nls)
|
||||||
|
$(use_enable update-alternatives)
|
||||||
|
$(use_with bzip2 libbz2)
|
||||||
|
$(use_with lzma liblzma)
|
||||||
|
$(use_with selinux libselinux)
|
||||||
|
$(use_with zlib libz)
|
||||||
|
$(use_with zstd libzstd)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake AR="$(tc-getAR)"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local DOCS=( debian/changelog THANKS TODO )
|
||||||
|
default
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/835520
|
||||||
|
mv -v "${ED}"/usr/share/zsh/{vendor-completions,site-functions} || die
|
||||||
|
|
||||||
|
# https://bugs.gentoo.org/840320
|
||||||
|
insinto /etc/dpkg/origins
|
||||||
|
newins - gentoo <<-_EOF_
|
||||||
|
Vendor: Gentoo
|
||||||
|
Vendor-URL: https://www.gentoo.org/
|
||||||
|
Bugs: https://bugs.gentoo.org/
|
||||||
|
_EOF_
|
||||||
|
dosym gentoo /etc/dpkg/origins/default
|
||||||
|
|
||||||
|
keepdir \
|
||||||
|
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
||||||
|
/var/lib/dpkg/{alternatives,info,parts,updates}
|
||||||
|
|
||||||
|
find "${ED}" -name '*.la' -delete || die
|
||||||
|
|
||||||
|
if ! use static-libs; then
|
||||||
|
find "${ED}" -name '*.a' -delete || die
|
||||||
|
fi
|
||||||
|
}
|
@ -1,6 +1,4 @@
|
|||||||
DIST xz-5.2.10.tar.gz 2123206 BLAKE2B fdd9e77e21ee65482401e0e43e0b291093a227d452991a9182562989b7a4388ceed30d5d54cd7f86320dcc073eb792032a49741880338a29043a8380507c4215 SHA512 c3814680fcad421efa71cf977217a62c34e3223900302a6fd7d505f310a7b338815feee2c8225b1232bd22b9e29c7dda3664e54dae2d80f816daec6adf560ca1
|
DIST xz-5.2.10.tar.gz 2123206 BLAKE2B fdd9e77e21ee65482401e0e43e0b291093a227d452991a9182562989b7a4388ceed30d5d54cd7f86320dcc073eb792032a49741880338a29043a8380507c4215 SHA512 c3814680fcad421efa71cf977217a62c34e3223900302a6fd7d505f310a7b338815feee2c8225b1232bd22b9e29c7dda3664e54dae2d80f816daec6adf560ca1
|
||||||
DIST xz-5.2.10.tar.gz.sig 566 BLAKE2B ce72730816d03084dc0d1559d6f2890b3ebe25a5e6b0720d4775ba2364762b5d1934a3a53f2255f6e68a1cdf42778d85d8b02ab30396b2addab619e95855f733 SHA512 48a0864abee6639116678afab6e8319eb2de903b381362c611fb77f9b6fc21df5f7d9783a250810f7ecc08380fb371a3a791ab55f5a343b68b9d4f9e414da403
|
DIST xz-5.2.10.tar.gz.sig 566 BLAKE2B ce72730816d03084dc0d1559d6f2890b3ebe25a5e6b0720d4775ba2364762b5d1934a3a53f2255f6e68a1cdf42778d85d8b02ab30396b2addab619e95855f733 SHA512 48a0864abee6639116678afab6e8319eb2de903b381362c611fb77f9b6fc21df5f7d9783a250810f7ecc08380fb371a3a791ab55f5a343b68b9d4f9e414da403
|
||||||
DIST xz-5.4.0.tar.gz 2332619 BLAKE2B 7bcf2e48470b885ae48b1fd0d46ab504961e7c5b1358d8c57a6fe1ba32311f5ca837740cff7ba77767f0a25ef80ec68c3d43029f87af035131526cb71f961d0f SHA512 29b2cd25bb5b234b329ffe9547692d2c29be393db9d8d4ce70a66dfdaebd54433e79a89d80c57e58cd4559c3c68b9845507d5fedf3eec1c528a81e3d9ddbd811
|
|
||||||
DIST xz-5.4.0.tar.gz.sig 566 BLAKE2B 6f8a6c81c0d91cea08b218e8f8ed74cea3b471a0adb0b5aac114f85d103977052b735ce5582e4fe5354dde17a7072d776f2fd64844531c3f67e60c770ccdc10e SHA512 9bebc2ad25ff63036e6cb07e9ea6767441138fd91ef59e6f068c370296a594135479477a18f086dbf06b7dda5188fa0da09c24a6b7b3e7222e4bca70104d20d2
|
|
||||||
DIST xz-5.4.1.tar.gz 2528617 BLAKE2B f4dc8698fb97002aa0548107b448ab0dd8659cce506a83775930f95fd775601f7de1df44866310ac617853410a1915cd4e90ad4088b2fd56418e67b6f0fc4e98 SHA512 5cff8383a68fb88ecbb3770ec48af0ad5582e08de9dccd339e0b685aaa53447e59d6425caa3f63b54a674e5d78c20520876db547d156e6658ad4841660cba85b
|
DIST xz-5.4.1.tar.gz 2528617 BLAKE2B f4dc8698fb97002aa0548107b448ab0dd8659cce506a83775930f95fd775601f7de1df44866310ac617853410a1915cd4e90ad4088b2fd56418e67b6f0fc4e98 SHA512 5cff8383a68fb88ecbb3770ec48af0ad5582e08de9dccd339e0b685aaa53447e59d6425caa3f63b54a674e5d78c20520876db547d156e6658ad4841660cba85b
|
||||||
DIST xz-5.4.1.tar.gz.sig 566 BLAKE2B f384bcf7ea6bd7d3af65b6b17b379b48826257f403bca0bed1b42697f88edbc38f38eaac03c5564fc466df670f40e2e7ee49974232da4eb849718e89234c224b SHA512 2e6c3bf04ceb29c1bac8fdde7aa09c4d0f96442515d797e06ea860f365fd94777630b0034b98006cf844083efea8642a0bf87b1ff56de6a58446a644b1fd3c1c
|
DIST xz-5.4.1.tar.gz.sig 566 BLAKE2B f384bcf7ea6bd7d3af65b6b17b379b48826257f403bca0bed1b42697f88edbc38f38eaac03c5564fc466df670f40e2e7ee49974232da4eb849718e89234c224b SHA512 2e6c3bf04ceb29c1bac8fdde7aa09c4d0f96442515d797e06ea860f365fd94777630b0034b98006cf844083efea8642a0bf87b1ff56de6a58446a644b1fd3c1c
|
||||||
|
@ -1,115 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
# Remember: we cannot leverage autotools in this ebuild in order
|
|
||||||
# to avoid circular deps with autotools
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit libtool multilib multilib-minimal preserve-libs usr-ldscript
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
|
||||||
EGIT_REPO_URI="https://git.tukaani.org/xz.git"
|
|
||||||
inherit git-r3 autotools
|
|
||||||
|
|
||||||
# bug #272880 and bug #286068
|
|
||||||
BDEPEND="sys-devel/gettext >=sys-devel/libtool-2"
|
|
||||||
else
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/lassecollin.asc
|
|
||||||
inherit verify-sig
|
|
||||||
|
|
||||||
MY_P="${PN/-utils}-${PV/_}"
|
|
||||||
SRC_URI="
|
|
||||||
mirror://sourceforge/lzmautils/${MY_P}.tar.gz
|
|
||||||
https://tukaani.org/xz/${MY_P}.tar.gz
|
|
||||||
verify-sig? (
|
|
||||||
https://tukaani.org/xz/${MY_P}.tar.gz.sig
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
if [[ ${PV} != *_alpha* && ${PV} != *_beta* ]] ; then
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
fi
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Utils for managing LZMA compressed files"
|
|
||||||
HOMEPAGE="https://tukaani.org/xz/"
|
|
||||||
|
|
||||||
# See top-level COPYING file as it outlines the various pieces and their licenses.
|
|
||||||
LICENSE="public-domain LGPL-2.1+ GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="+extra-filters nls static-libs"
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]] ; then
|
|
||||||
BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-lassecollin )"
|
|
||||||
fi
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999 ]] ; then
|
|
||||||
eautopoint
|
|
||||||
eautoreconf
|
|
||||||
else
|
|
||||||
# Allow building shared libs on Solaris/x64
|
|
||||||
elibtoolize
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myconf=(
|
|
||||||
--enable-threads
|
|
||||||
$(use_enable nls)
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
)
|
|
||||||
|
|
||||||
if ! multilib_is_native_abi ; then
|
|
||||||
myconf+=(
|
|
||||||
--disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts}
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use extra-filters ; then
|
|
||||||
myconf+=(
|
|
||||||
# LZMA1 + LZMA2 for standard .lzma & .xz files
|
|
||||||
--enable-encoders=lzma1,lzma2
|
|
||||||
--enable-decoders=lzma1,lzma2
|
|
||||||
|
|
||||||
# those are used by default, depending on preset
|
|
||||||
--enable-match-finders=hc3,hc4,bt4
|
|
||||||
|
|
||||||
# CRC64 is used by default, though some (old?) files use CRC32
|
|
||||||
--enable-checks=crc32,crc64
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
|
||||||
export gl_cv_posix_shell="${EPREFIX}"/bin/sh
|
|
||||||
|
|
||||||
# Undo Solaris-based defaults pointing to /usr/xpg5/bin
|
|
||||||
myconf+=( --disable-path-for-script )
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
gen_usr_ldscript -a lzma
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
find "${ED}" -type f -name '*.la' -delete || die
|
|
||||||
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
|
|
||||||
}
|
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue