[arch-commits] Commit in brltty/repos (5 files)
David Runge
dvzrv at archlinux.org
Thu Jan 7 14:50:55 UTC 2021
Date: Thursday, January 7, 2021 @ 14:50:55
Author: dvzrv
Revision: 405627
archrelease: copy trunk to testing-x86_64
Added:
brltty/repos/testing-x86_64/
brltty/repos/testing-x86_64/PKGBUILD
(from rev 405625, brltty/trunk/PKGBUILD)
brltty/repos/testing-x86_64/brltty.install
(from rev 405625, brltty/trunk/brltty.install)
brltty/repos/testing-x86_64/brltty.sysusers
(from rev 405625, brltty/trunk/brltty.sysusers)
brltty/repos/testing-x86_64/brltty.tmpfiles
(from rev 405625, brltty/trunk/brltty.tmpfiles)
-----------------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
brltty.install | 12 ++++++++
brltty.sysusers | 1
brltty.tmpfiles | 1
4 files changed, 90 insertions(+)
Copied: brltty/repos/testing-x86_64/PKGBUILD (from rev 405625, brltty/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-01-07 14:50:55 UTC (rev 405627)
@@ -0,0 +1,76 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Alexander Epaneshnikov <aarnaarn2 at gmail.com>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=brltty
+pkgver=6.2
+pkgrel=1
+pkgdesc="Braille display driver for Linux/Unix"
+arch=('x86_64')
+url="https://brltty.app"
+license=('LGPL2.1')
+depends=('bluez-libs' 'gcc-libs' 'glibc' 'liblouis' 'libspeechd' 'pcre'
+'polkit' 'tcl')
+makedepends=('alsa-lib' 'at-spi2-atk' 'at-spi2-core' 'atk' 'cython' 'dbus'
+'espeak-ng' 'expat' 'festival' 'glib2' 'gpm' 'icu' 'java-environment' 'libxaw'
+'ncurses' 'ocaml-ctypes' 'ocaml-findlib' 'speech-dispatcher' 'systemd-libs')
+optdepends=('at-spi2-core: X11/GNOME Apps accessibility'
+ 'atk: ATK bridge for X11/GNOME accessibility'
+ 'espeak-ng: espeak-ng driver'
+ 'java-runtime: Java support'
+ 'libxaw: X11 support'
+ 'libxt: X11 support'
+ 'libx11: for xbrlapi'
+ 'libxfixes: for xbrlapi'
+ 'libxtst: for xbrlapi'
+ 'ocaml: OCaml support'
+ 'python: Python support'
+ 'speech-dispatcher: speech-dispatcher driver')
+provides=('libbrlapi.so')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
+install=brltty.install
+source=("https://brltty.app/archive/${pkgname}-${pkgver}.tar.bz2"
+ "${pkgname}.tmpfiles"
+ "${pkgname}.sysusers")
+sha512sums=('9cf102e87c082ed4e8a88b08fe4c2c40fde7bf566ba64ba39fbc4e392d639816b4dc176c20713a6ab6aa244de1aecdb80533b21331f01726b86d85d100090a55'
+ 'a530fe66983768f9dc544af01c586abc101dfa2ed76885b4f1fd78c483b59e8445f2c0dbbfb865dd1cf2874342c346bd35ce978ab246e9cdd31d2d489a14e770'
+ 'cc2e2d5f33d4e11d6ff828aefc0773ccdc02127ce2f00649c1e3f8d4b39b90789f4a0e41385b344f850c38bd4a1df36d3d9d413a59144d431defdd343633f800')
+b2sums=('6aeeeeea27f5069944bc1822087f3b58948192951d33790d61085917d875bc4041d04f5993171a7559154a5b6eee0633fce510fef040ed5b6f4b00fc9298dfd5'
+ '59f50e367d2e6c6704902ebbd254232aa17c741c9a43ba27d0ebaa5fd4a86f62bc8bdd08e8e4562437dea0efa9d49845e40c022b8c4d7110675d81bf63ac4df4'
+ 'e6b7453360ef92254ff1049b387c9ee45f3be0e0259c9c3670154938f61ec4142b2de330401d09e1290ed9ffe8e390ede3472dab0e2f4c69b497f9ac19795aad')
+
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ ./autogen
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --with-tables-directory=/usr/share/brltty \
+ --with-writable-directory=/run/brltty \
+ --enable-gpm \
+ --disable-stripping
+ make
+}
+
+package() {
+ depends+=('libasound.so' 'libdbus-1.so' 'libexpat.so' 'libgio-2.0.so'
+ 'libglib-2.0.so' 'libgobject-2.0.so' 'libicuuc.so' 'libgpm.so'
+ 'libncursesw.so' 'libsystemd.so')
+ cd "${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}" install
+ make INSTALL_ROOT="${pkgdir}" install -C Autostart/Systemd
+ make INSTALL_ROOT="${pkgdir}" install -C Autostart/Udev
+ install -vDm 644 "Documents/${pkgname}.conf" -t "${pkgdir}/etc/"
+ install -vDm 644 "../${pkgname}.sysusers" \
+ "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"
+ install -vDm 644 "../${pkgname}.tmpfiles" \
+ "${pkgdir}/usr/lib/tmpfiles.d/${pkgname}.conf"
+}
Copied: brltty/repos/testing-x86_64/brltty.install (from rev 405625, brltty/trunk/brltty.install)
===================================================================
--- testing-x86_64/brltty.install (rev 0)
+++ testing-x86_64/brltty.install 2021-01-07 14:50:55 UTC (rev 405627)
@@ -0,0 +1,12 @@
+post_install () {
+ [ ! -e /etc/brlapi.key ] && mcookie -v > /etc/brlapi.key
+ echo "Please add your user to the brlapi group."
+}
+
+post_upgrade () {
+ post_install
+}
+
+post_remove() {
+ [ -e /etc/brlapi.key ] && rm -v /etc/brlapi.key
+}
Copied: brltty/repos/testing-x86_64/brltty.sysusers (from rev 405625, brltty/trunk/brltty.sysusers)
===================================================================
--- testing-x86_64/brltty.sysusers (rev 0)
+++ testing-x86_64/brltty.sysusers 2021-01-07 14:50:55 UTC (rev 405627)
@@ -0,0 +1 @@
+g brlapi -
Copied: brltty/repos/testing-x86_64/brltty.tmpfiles (from rev 405625, brltty/trunk/brltty.tmpfiles)
===================================================================
--- testing-x86_64/brltty.tmpfiles (rev 0)
+++ testing-x86_64/brltty.tmpfiles 2021-01-07 14:50:55 UTC (rev 405627)
@@ -0,0 +1 @@
+z /etc/brlapi.key 0640 root brlapi -
More information about the arch-commits
mailing list