diff options
author | Alexander Epaneshnikov | 2021-07-18 19:16:42 +0300 |
---|---|---|
committer | Alexander Epaneshnikov | 2021-07-18 19:16:42 +0300 |
commit | 11a48b2c8c7a602724b14ef487e5b893cfb6d570 (patch) | |
tree | 7d092a5a76b51046a3bb8b519f4e89496b00b35b | |
parent | 9b8fccc54b64bbe0fa4668623fcef8d0b8fcc753 (diff) | |
download | aur-11a48b2c8c7a602724b14ef487e5b893cfb6d570.tar.gz |
upgpkg: emacspeak 54.0-3
build pickup programme
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 16 | ||||
-rw-r--r-- | emacspeak-54.0-directorys.patch (renamed from 54.0-directorys.patch) | 0 | ||||
-rw-r--r-- | emacspeak-54.0-flags.patch | 13 |
4 files changed, 31 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = emacspeak pkgdesc = Emacs extension that provides spoken output pkgver = 54.0 - pkgrel = 2 + pkgrel = 3 url = http://emacspeak.sf.net/ arch = x86_64 arch = aarch64 @@ -12,11 +12,15 @@ pkgbase = emacspeak depends = tcl depends = tclx depends = espeak-ng + optdepends = python: for Stream The World + optdepends = perl source = https://github.com/tvraman/emacspeak/releases/download/54.0/emacspeak-54.0.tar.bz2 - source = 54.0-directorys.patch + source = emacspeak-54.0-directorys.patch + source = emacspeak-54.0-flags.patch source = emacspeak.sh sha512sums = 088b8d08258202e5cc12ad1e2a56eabe27e626157201f4b665da78f7f4f03ea858746131d5c27a261049283a35eeb0fd5bb47aa054acac8a9b65a32da39a2f35 sha512sums = f2471451f097be389f1a041ea139f441c1d68ed529c8bf7ec4a511358b975272cd78f3a1e13cd66c1dbf724cc82feb3780bd4d425f8cb1540740d4a8c6f2e637 + sha512sums = b287dbe2cc07c29c6d14b79d2984106d5dfc6bebc7636ed0bb937a9c02db926c6ed1cb0b1aa3026ca6b7700514ae5f94c2c39907b42e0594eff82c4ad20ac02f sha512sums = 3624a1205e70cceb43953d39925e1c9a351635a909100a050b036640df65cc104546939eb3be017b116dbc4f910a018b6a5e2eb39c66c9e01e9c91dde6fdf5d9 pkgname = emacspeak @@ -4,22 +4,29 @@ pkgname=emacspeak pkgver=54.0 -pkgrel=2 +pkgrel=3 pkgdesc="Emacs extension that provides spoken output" arch=('x86_64' 'aarch64') url="http://emacspeak.sf.net/" license=('GPL' 'LGPL' 'APACHE') depends=('emacs' 'tcl' 'tclx' 'espeak-ng') +optdepends=('python: for Stream The World' + 'perl') source=("https://github.com/tvraman/emacspeak/releases/download/${pkgver}/emacspeak-${pkgver}.tar.bz2" - "54.0-directorys.patch" - "emacspeak.sh") + "${pkgname}-54.0-directorys.patch" + "${pkgname}-54.0-flags.patch" + "${pkgname}.sh") sha512sums=('088b8d08258202e5cc12ad1e2a56eabe27e626157201f4b665da78f7f4f03ea858746131d5c27a261049283a35eeb0fd5bb47aa054acac8a9b65a32da39a2f35' 'f2471451f097be389f1a041ea139f441c1d68ed529c8bf7ec4a511358b975272cd78f3a1e13cd66c1dbf724cc82feb3780bd4d425f8cb1540740d4a8c6f2e637' + 'b287dbe2cc07c29c6d14b79d2984106d5dfc6bebc7636ed0bb937a9c02db926c6ed1cb0b1aa3026ca6b7700514ae5f94c2c39907b42e0594eff82c4ad20ac02f' '3624a1205e70cceb43953d39925e1c9a351635a909100a050b036640df65cc104546939eb3be017b116dbc4f910a018b6a5e2eb39c66c9e01e9c91dde6fdf5d9') prepare() { cd "$pkgname-$pkgver" - patch --forward --strip=1 --input="${srcdir}/54.0-directorys.patch" + patch --forward --strip=1 --input="${srcdir}/${pkgname}-54.0-directorys.patch" + patch --forward --strip=1 --input="${srcdir}/${pkgname}-54.0-flags.patch" + # prebuilt binary + rm -v etc/pickup-c/pickup } build() { @@ -27,6 +34,7 @@ build() { export DTK_PROGRAM="espeak" make config make + make -C etc/pickup-c # Espeak isn't compiled by default, but lots of folks use it. make espeak } diff --git a/54.0-directorys.patch b/emacspeak-54.0-directorys.patch index 2fcd7438b272..2fcd7438b272 100644 --- a/54.0-directorys.patch +++ b/emacspeak-54.0-directorys.patch diff --git a/emacspeak-54.0-flags.patch b/emacspeak-54.0-flags.patch new file mode 100644 index 000000000000..96c8661b1e8c --- /dev/null +++ b/emacspeak-54.0-flags.patch @@ -0,0 +1,13 @@ +diff --no-dereference --ignore-all-space --unified --recursive --text emacspeak-54.0.orig/etc/pickup-c/Makefile emacspeak-54.0.new/etc/pickup-c/Makefile +--- emacspeak-54.0.orig/etc/pickup-c/Makefile 2020-06-21 17:18:58.000000000 +0300 ++++ emacspeak-54.0.new/etc/pickup-c/Makefile 2021-07-18 18:56:20.202233465 +0300 +@@ -1,3 +1,8 @@ +-pickup: pickup.c ++CFLAGS +="-std=c11" ++pickup : pickup.o ++ gcc $(LDFLAGS) -o pickup pickup.o ++pickup.o : pickup.c ++ gcc $(CFLAGS) -c pickup.c ++ + tidy: pickup.c + clang-tidy -header-filter=.*-checks='*' -fix-errors pickup.c -- -std=c11 |