[arch-commits] Commit in brltty (10 files)

Antonio Rojas arojas at archlinux.org
Wed Jan 18 07:25:04 UTC 2017


    Date: Wednesday, January 18, 2017 @ 07:25:04
  Author: arojas
Revision: 286907

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  brltty/repos/
  brltty/repos/extra-i686/
  brltty/repos/extra-i686/PKGBUILD
    (from rev 286906, brltty/trunk/PKGBUILD)
  brltty/repos/extra-i686/brltty.install
    (from rev 286906, brltty/trunk/brltty.install)
  brltty/repos/extra-i686/brltty.service
    (from rev 286906, brltty/trunk/brltty.service)
  brltty/repos/extra-x86_64/
  brltty/repos/extra-x86_64/PKGBUILD
    (from rev 286906, brltty/trunk/PKGBUILD)
  brltty/repos/extra-x86_64/brltty.install
    (from rev 286906, brltty/trunk/brltty.install)
  brltty/repos/extra-x86_64/brltty.service
    (from rev 286906, brltty/trunk/brltty.service)
Deleted:
  brltty/repos/

-----------------------------+
 extra-i686/PKGBUILD         |   42 ++++++++++++++++++++++++++++++++++++++++++
 extra-i686/brltty.install   |   13 +++++++++++++
 extra-i686/brltty.service   |   12 ++++++++++++
 extra-x86_64/PKGBUILD       |   42 ++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/brltty.install |   13 +++++++++++++
 extra-x86_64/brltty.service |   12 ++++++++++++
 6 files changed, 134 insertions(+)

Copied: brltty/repos/extra-i686/PKGBUILD (from rev 286906, brltty/trunk/PKGBUILD)
===================================================================
--- repos/extra-i686/PKGBUILD	                        (rev 0)
+++ repos/extra-i686/PKGBUILD	2017-01-18 07:25:04 UTC (rev 286907)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=brltty
+pkgver=5.4
+pkgrel=5
+pkgdesc="Braille display driver for Linux/Unix"
+arch=(i686 x86_64)
+url="http://mielke.cc/brltty"
+license=(GPL LGPL)
+depends=(libxaw gpm icu tcl bluez-libs espeak)
+makedepends=(at-spi2-core tcl speech-dispatcher cython)
+optdepends=('at-spi2-core: X11/GNOME Apps accessibility'
+            'atk: ATK bridge for X11/GNOME accessibility')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
+install=brltty.install
+source=(http://mielke.cc/brltty/archive/brltty-$pkgver.tar.xz
+        brltty.service)
+sha256sums=('5d071bd6be9e7f3f85745088e00471c8dec6ebb77fd5b5c89e8f4cbc2d2c5d4f'
+            'a342a5e9d36f00a320e1d23d91c482bd5445af52588334307b7e9c09a8cc38ec')
+
+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 \
+    --disable-java-bindings \
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+  install -Dm644 Documents/brltty.conf "$pkgdir/etc/brltty.conf"
+  install -Dm644 ../brltty.service "$pkgdir/usr/lib/systemd/system/brltty.service"
+}

Copied: brltty/repos/extra-i686/brltty.install (from rev 286906, brltty/trunk/brltty.install)
===================================================================
--- repos/extra-i686/brltty.install	                        (rev 0)
+++ repos/extra-i686/brltty.install	2017-01-18 07:25:04 UTC (rev 286907)
@@ -0,0 +1,13 @@
+post_install () {
+     getent group brlapi  &>/dev/null || groupadd -r brlapi
+     if [ ! -e /etc/brlapi.key ]; then
+         mcookie >/etc/brlapi.key
+         chmod 0640 /etc/brlapi.key
+         chgrp brlapi /etc/brlapi.key
+         echo "Please add your user to the brlapi group."
+     fi
+}
+
+post_upgrade () {
+    post_install
+}

Copied: brltty/repos/extra-i686/brltty.service (from rev 286906, brltty/trunk/brltty.service)
===================================================================
--- repos/extra-i686/brltty.service	                        (rev 0)
+++ repos/extra-i686/brltty.service	2017-01-18 07:25:04 UTC (rev 286907)
@@ -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/extra-x86_64/PKGBUILD (from rev 286906, brltty/trunk/PKGBUILD)
===================================================================
--- repos/extra-x86_64/PKGBUILD	                        (rev 0)
+++ repos/extra-x86_64/PKGBUILD	2017-01-18 07:25:04 UTC (rev 286907)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=brltty
+pkgver=5.4
+pkgrel=5
+pkgdesc="Braille display driver for Linux/Unix"
+arch=(i686 x86_64)
+url="http://mielke.cc/brltty"
+license=(GPL LGPL)
+depends=(libxaw gpm icu tcl bluez-libs espeak)
+makedepends=(at-spi2-core tcl speech-dispatcher cython)
+optdepends=('at-spi2-core: X11/GNOME Apps accessibility'
+            'atk: ATK bridge for X11/GNOME accessibility')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
+install=brltty.install
+source=(http://mielke.cc/brltty/archive/brltty-$pkgver.tar.xz
+        brltty.service)
+sha256sums=('5d071bd6be9e7f3f85745088e00471c8dec6ebb77fd5b5c89e8f4cbc2d2c5d4f'
+            'a342a5e9d36f00a320e1d23d91c482bd5445af52588334307b7e9c09a8cc38ec')
+
+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 \
+    --disable-java-bindings \
+
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+  install -Dm644 Documents/brltty.conf "$pkgdir/etc/brltty.conf"
+  install -Dm644 ../brltty.service "$pkgdir/usr/lib/systemd/system/brltty.service"
+}

Copied: brltty/repos/extra-x86_64/brltty.install (from rev 286906, brltty/trunk/brltty.install)
===================================================================
--- repos/extra-x86_64/brltty.install	                        (rev 0)
+++ repos/extra-x86_64/brltty.install	2017-01-18 07:25:04 UTC (rev 286907)
@@ -0,0 +1,13 @@
+post_install () {
+     getent group brlapi  &>/dev/null || groupadd -r brlapi
+     if [ ! -e /etc/brlapi.key ]; then
+         mcookie >/etc/brlapi.key
+         chmod 0640 /etc/brlapi.key
+         chgrp brlapi /etc/brlapi.key
+         echo "Please add your user to the brlapi group."
+     fi
+}
+
+post_upgrade () {
+    post_install
+}

Copied: brltty/repos/extra-x86_64/brltty.service (from rev 286906, brltty/trunk/brltty.service)
===================================================================
--- repos/extra-x86_64/brltty.service	                        (rev 0)
+++ repos/extra-x86_64/brltty.service	2017-01-18 07:25:04 UTC (rev 286907)
@@ -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



More information about the arch-commits mailing list