[arch-commits] Commit in brltty/repos (6 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Apr 27 12:45:04 UTC 2020
Date: Monday, April 27, 2020 @ 12:45:03
Author: foutrelis
Revision: 381720
archrelease: copy trunk to staging-x86_64
Added:
brltty/repos/staging-x86_64/
brltty/repos/staging-x86_64/PKGBUILD
(from rev 381719, brltty/trunk/PKGBUILD)
brltty/repos/staging-x86_64/brltty.install
(from rev 381719, brltty/trunk/brltty.install)
brltty/repos/staging-x86_64/brltty.service
(from rev 381719, brltty/trunk/brltty.service)
brltty/repos/staging-x86_64/brltty.sysusers
(from rev 381719, brltty/trunk/brltty.sysusers)
brltty/repos/staging-x86_64/brltty.tmpfiles
(from rev 381719, brltty/trunk/brltty.tmpfiles)
-----------------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
brltty.install | 12 ++++++++++
brltty.service | 12 ++++++++++
brltty.sysusers | 1
brltty.tmpfiles | 1
5 files changed, 86 insertions(+)
Copied: brltty/repos/staging-x86_64/PKGBUILD (from rev 381719, brltty/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-04-27 12:45:03 UTC (rev 381720)
@@ -0,0 +1,60 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# 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.0
+pkgrel=9
+pkgdesc="Braille display driver for Linux/Unix"
+arch=('x86_64')
+url="https://brltty.app"
+license=('LGPL2.1')
+depends=('gpm' 'icu' 'liblouis' 'tcl')
+makedepends=('at-spi2-core' 'bluez-libs' 'cython' 'espeak' 'java-environment'
+'libxaw' 'ocaml-ctypes' 'ocaml-findlib' 'polkit' 'speech-dispatcher')
+optdepends=('at-spi2-core: X11/GNOME Apps accessibility'
+ 'atk: ATK bridge for X11/GNOME accessibility'
+ 'bluez-libs: bluetooth support'
+ 'espeak: espeak driver'
+ 'java-runtime: Java support'
+ 'libxaw: X11 support'
+ 'ocaml: OCaml support'
+ 'polkit: PolicyKit support'
+ 'python: Python support'
+ 'speech-dispatcher: speech-dispatcher driver')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
+install=brltty.install
+source=("https://brltty.app/archive/${pkgname}-${pkgver}.tar.bz2"
+ "${pkgname}.service"
+ "${pkgname}.tmpfiles"
+ "${pkgname}.sysusers")
+sha512sums=('b114cb55916109ddeb472df1e5d206c27e93cab64c4b51f82cf0887f63f6fa90064230f769302b1ba9ba7259079026a83e7b7ed46ba20a40676a487df317902e'
+ '5da854db7612b7fcc1f1a8da0825e19509158041ceedbefc7649d220fd94a17c11044985abfc435b65a8b795c19dd2d16ff05f59641e57805f710b76570a5af4'
+ 'a530fe66983768f9dc544af01c586abc101dfa2ed76885b4f1fd78c483b59e8445f2c0dbbfb865dd1cf2874342c346bd35ce978ab246e9cdd31d2d489a14e770'
+ 'cc2e2d5f33d4e11d6ff828aefc0773ccdc02127ce2f00649c1e3f8d4b39b90789f4a0e41385b344f850c38bd4a1df36d3d9d413a59144d431defdd343633f800')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/share/man \
+ --with-tables-directory=/usr/share/brltty \
+ --with-screen-driver=lx \
+ --enable-gpm
+ make -j1
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}" install
+ install -vDm 644 "Documents/${pkgname}.conf" -t "${pkgdir}/etc/"
+ install -vDm 644 "../${pkgname}.service" \
+ -t "${pkgdir}/usr/lib/systemd/system/"
+ 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/staging-x86_64/brltty.install (from rev 381719, brltty/trunk/brltty.install)
===================================================================
--- staging-x86_64/brltty.install (rev 0)
+++ staging-x86_64/brltty.install 2020-04-27 12:45:03 UTC (rev 381720)
@@ -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/staging-x86_64/brltty.service (from rev 381719, brltty/trunk/brltty.service)
===================================================================
--- staging-x86_64/brltty.service (rev 0)
+++ staging-x86_64/brltty.service 2020-04-27 12:45:03 UTC (rev 381720)
@@ -0,0 +1,12 @@
+[Unit]
+Description=Braille Console Driver
+DefaultDependencies=no
+Before=sysinit.target
+
+[Service]
+ExecStart=/usr/bin/brltty --pid-file=/run/brltty.pid
+Type=forking
+PIDFile=/run/brltty.pid
+
+[Install]
+WantedBy=sysinit.target
Copied: brltty/repos/staging-x86_64/brltty.sysusers (from rev 381719, brltty/trunk/brltty.sysusers)
===================================================================
--- staging-x86_64/brltty.sysusers (rev 0)
+++ staging-x86_64/brltty.sysusers 2020-04-27 12:45:03 UTC (rev 381720)
@@ -0,0 +1 @@
+g brlapi -
Copied: brltty/repos/staging-x86_64/brltty.tmpfiles (from rev 381719, brltty/trunk/brltty.tmpfiles)
===================================================================
--- staging-x86_64/brltty.tmpfiles (rev 0)
+++ staging-x86_64/brltty.tmpfiles 2020-04-27 12:45:03 UTC (rev 381720)
@@ -0,0 +1 @@
+z /etc/brlapi.key 0640 root brlapi -
More information about the arch-commits
mailing list