From 5e5fb5c6d1e0af4b12dbee7de7d095df902ce2b6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 26 Aug 2023 03:56:03 +0100 Subject: gentoo auto-resync : 26:08:2023 - 03:56:02 --- app-accessibility/brltty/Manifest | 4 +- app-accessibility/brltty/brltty-6.5-r1.ebuild | 224 ------------------------- app-accessibility/brltty/brltty-6.5-r2.ebuild | 223 +++++++++++++++++++++++++ app-accessibility/brltty/brltty-6.5-r3.ebuild | 227 ++++++++++++++++++++++++++ app-accessibility/brltty/brltty-6.5.ebuild | 223 ------------------------- 5 files changed, 452 insertions(+), 449 deletions(-) delete mode 100644 app-accessibility/brltty/brltty-6.5-r1.ebuild create mode 100644 app-accessibility/brltty/brltty-6.5-r2.ebuild create mode 100644 app-accessibility/brltty/brltty-6.5-r3.ebuild delete mode 100644 app-accessibility/brltty/brltty-6.5.ebuild (limited to 'app-accessibility/brltty') diff --git a/app-accessibility/brltty/Manifest b/app-accessibility/brltty/Manifest index f4d7a665a6c1..7bc6dd18212a 100644 --- a/app-accessibility/brltty/Manifest +++ b/app-accessibility/brltty/Manifest @@ -2,6 +2,6 @@ AUX brltty-6.4-respect-AR.patch 385 BLAKE2B 0029b98054c21b86bb3d03ff52a358fd0858 AUX brltty-6.5-gettext-0.22.patch 1831 BLAKE2B 922617f90a62701f64b06fad466e9695ac8f4c6c37742dae319b7169c7104e3650b2a56080ed43da9297e5b7dd97fdc0ddfa71fe8a5dff45d7cf20e310cb93f9 SHA512 9bf509c100c2f2851590284c23ea1ff4db57ef4a2cd04ab5749cb2268a5e8f5885c535d93b744874ee58552dd52cc23e323698d8f5833567f601c5cac5d8f6de AUX brltty.initd 241 BLAKE2B 80969e4840d2d38af6bc310ecf18e0253ef01667517135bc5a2f92e50882c2b72e8a4763b215c62ccbfd8d2250067b44ce9a4cb5d318dd6eb48b298826d8d5de SHA512 55ea97a546a2335ee1148396df71363442b66ed4526f8adb93e88c2cf489f10a21b5361658f590b3f64eec24844235491b15349bd0e1c4533fef7b1390fc3a6e DIST brltty-6.5.tar.xz 3631628 BLAKE2B b2e5f82f15dff9a99bf3d75523f6ec48d531d413d860079af0023b9efdc07a93563226c6388cc89ce025f8d13b1635e883680f0ddb8a688ffcc4cd9c335d7aee SHA512 bbfbb89b1c3ba5063ad3bc0aa97b859dd23acea1feb79dab20c57dc74ff2f26649942fcecc7030a3f70555596f4d9d35cd05616af2a8e101d4d56b4c471a6ad3 -EBUILD brltty-6.5-r1.ebuild 5735 BLAKE2B 89de3e76375a69c7c8d204b4646a8cb3300dc0deee9faea4d230fd3f433f11fabc8adc69ffc03eb8130358847e4642ffbe0860dd632624067ff3bb18a213da79 SHA512 7b31be2ab2723ad4452e586f4c66cddbde24044d58d22a31baf66a25e121db9c5eea90b3bdac5802724b90ca318beeeb03354eb2bb740284c4ba885844e4e0ea -EBUILD brltty-6.5.ebuild 5683 BLAKE2B 4edd212a53bef39aec72393cffbb3c23af1302a25d4faf3ed0d4c515bdae0c3423b4ce37f5bac6cfa49aa25cca8db08d5a9c12ebe02e263b2f2dfe8ebcda945a SHA512 b689f849ac6b6cd1c60dc10ae8bdc07065771db7c6baf9f10086d18b02417a060e5ecedc1421a52dd7017d54d0de9e09fd0fb6f4f618aef1be6990ff6d12e837 +EBUILD brltty-6.5-r2.ebuild 5679 BLAKE2B 67d58f16d14d2cdf55bb440622c55126c7b2dd5c77dbe4616a7ac864e862751e9a8748010283398725d1849ed0c2fb791abc6a56925e45450a2648ff4cdec93e SHA512 0afc4bc7eb38f32b4379f4a88c97ebce54a58781301f7bd460a7beedc7971a7e98c5a9b2f50e9c479276cfe61e6be3c571dd13ffb537e0340d495e6f06946ae5 +EBUILD brltty-6.5-r3.ebuild 5924 BLAKE2B b3cc183855f4ee657e4d815f4c546e13d90b3868aa20db720ec891a1d7d88386e718cc99f3c4b3eb207372795ca6009bf810c75a8e649d05002b9bb0d656ffc5 SHA512 d8204da48fcb41b54ede5f573e8c15cb379e7c96226ff2b15db7433682c1177c5fe2ecaf40657e645fe1f2fa2ac5d5c2ce40405cd2446a0273c35582cc9be7f7 MISC metadata.xml 1640 BLAKE2B eb6127143a054eda7263e2a3bf27555ac6193c2d9363476be6e6cb4e9269f454a808890ff8587189784a51877f44ed8ff5b9231aeea8d4c3172c98f66481c856 SHA512 74017c3f562c638fe1f547ed3e23c303d2248cbcc602404a4e394439ed4ad314ca359a9dccd181ba264a19b822fc46c7c961f992ad2bce95f6c3bfb3436d461f diff --git a/app-accessibility/brltty/brltty-6.5-r1.ebuild b/app-accessibility/brltty/brltty-6.5-r1.ebuild deleted file mode 100644 index 99fb58bf9796..000000000000 --- a/app-accessibility/brltty/brltty-6.5-r1.ebuild +++ /dev/null @@ -1,224 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..11} ) -FINDLIB_USE="ocaml" -JAVA_PKG_WANT_SOURCE="1.8" -JAVA_PKG_WANT_TARGET="1.8" - -inherit findlib toolchain-funcs java-pkg-opt-2 autotools 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.6.13-r1:= ) - usb? ( virtual/libusb:1 ) - 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}"/${PN}-6.4-respect-AR.patch - "${FILESDIR}"/${PN}-6.5-gettext-0.22.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 - --runstatedir="${EPREFIX}"/run - # the next two lines should be removed once support is added. - --disable-emacs-bindings - --disable-lua-bindings - --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_enable emacs emacs-bindings) - $(use_with fm fm-package) - $(use_enable gpm) - $(use_enable iconv) - $(use_enable icu) - $(use_enable java java-bindings) - $(use_enable louis liblouis) -# $(use_enable lua lua-bindings) - $(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 || die - pushd Autostart/Udev 1> /dev/null || die - emake -j1 INSTALL_ROOT="${ED}" install - popd || die - - 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" -} diff --git a/app-accessibility/brltty/brltty-6.5-r2.ebuild b/app-accessibility/brltty/brltty-6.5-r2.ebuild new file mode 100644 index 000000000000..3ba415f349b0 --- /dev/null +++ b/app-accessibility/brltty/brltty-6.5-r2.ebuild @@ -0,0 +1,223 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +FINDLIB_USE="ocaml" +JAVA_PKG_WANT_SOURCE="1.8" +JAVA_PKG_WANT_TARGET="1.8" + +inherit findlib toolchain-funcs java-pkg-opt-2 autotools 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:1 ) + 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/null || die + emake -j1 INSTALL_ROOT="${ED}" install + popd || die + pushd Autostart/Udev 1> /dev/null || die + emake -j1 INSTALL_ROOT="${ED}" install + popd || die + + 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" +} diff --git a/app-accessibility/brltty/brltty-6.5-r3.ebuild b/app-accessibility/brltty/brltty-6.5-r3.ebuild new file mode 100644 index 000000000000..333191b77052 --- /dev/null +++ b/app-accessibility/brltty/brltty-6.5-r3.ebuild @@ -0,0 +1,227 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +FINDLIB_USE="ocaml" +JAVA_PKG_WANT_SOURCE="1.8" +JAVA_PKG_WANT_TARGET="1.8" + +inherit findlib toolchain-funcs java-pkg-opt-2 autotools 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.6.13-r1:= ) + usb? ( virtual/libusb:1 ) + 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:* ) +" +# /dev/null || die + emake -j1 INSTALL_ROOT="${ED}" install + popd || die + pushd Autostart/Udev 1> /dev/null || die + emake -j1 INSTALL_ROOT="${ED}" install + popd || die + + 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" +} diff --git a/app-accessibility/brltty/brltty-6.5.ebuild b/app-accessibility/brltty/brltty-6.5.ebuild deleted file mode 100644 index 211efd5c394f..000000000000 --- a/app-accessibility/brltty/brltty-6.5.ebuild +++ /dev/null @@ -1,223 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) -FINDLIB_USE="ocaml" -JAVA_PKG_WANT_SOURCE="1.8" -JAVA_PKG_WANT_TARGET="1.8" - -inherit findlib toolchain-funcs java-pkg-opt-2 autotools 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:1 ) - 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}"/${PN}-6.4-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 - --runstatedir="${EPREFIX}"/run - # the next two lines should be removed once support is added. - --disable-emacs-bindings - --disable-lua-bindings - --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_enable emacs emacs-bindings) - $(use_with fm fm-package) - $(use_enable gpm) - $(use_enable iconv) - $(use_enable icu) - $(use_enable java java-bindings) - $(use_enable louis liblouis) -# $(use_enable lua lua-bindings) - $(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 || die - pushd Autostart/Udev 1> /dev/null || die - emake -j1 INSTALL_ROOT="${ED}" install - popd || die - - 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" -} -- cgit v1.2.3