diff options
author | TBK <tbk@jjtc.eu> | 2019-05-20 15:58:13 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-06-02 21:30:11 +0000 |
commit | 5512dd89abed1d4ad8a9603644e330362643ddd3 (patch) | |
tree | a8a2d75068dd7976724b61679c3cc591be8975ba /community/brlaser | |
parent | 2b67f024c1277a32eabfa5832cd73cb073778507 (diff) | |
download | aports-5512dd89abed1d4ad8a9603644e330362643ddd3.tar.bz2 aports-5512dd89abed1d4ad8a9603644e330362643ddd3.tar.xz |
community/brlaser: upgrade to 5
Closes GH-7945
Diffstat (limited to 'community/brlaser')
-rw-r--r-- | community/brlaser/9.patch | 21 | ||||
-rw-r--r-- | community/brlaser/APKBUILD | 46 |
2 files changed, 10 insertions, 57 deletions
diff --git a/community/brlaser/9.patch b/community/brlaser/9.patch deleted file mode 100644 index a4cdc88df3..0000000000 --- a/community/brlaser/9.patch +++ /dev/null @@ -1,21 +0,0 @@ -From 93138fec87290ffbdd4919f313ea513eadca749c Mon Sep 17 00:00:00 2001 -From: Peter Spiess-Knafl <dev@spiessknafl.at> -Date: Mon, 25 Apr 2016 15:02:37 +0200 -Subject: [PATCH] Add missing #include <string> - ---- - src/brdecode.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/brdecode.cc b/src/brdecode.cc -index d5c4c0d..bcd3ec7 100644 ---- a/src/brdecode.cc -+++ b/src/brdecode.cc -@@ -21,6 +21,7 @@ - #include <algorithm> - #include <exception> - #include <vector> -+#include <string> - - namespace { - diff --git a/community/brlaser/APKBUILD b/community/brlaser/APKBUILD index e64c279aac..f44bf4f8c7 100644 --- a/community/brlaser/APKBUILD +++ b/community/brlaser/APKBUILD @@ -1,53 +1,27 @@ # Contributor: Isaac Dunham <ibid.ag@gmail.com> # Maintainer: Isaac Dunham <ibid.ag@gmail.com> pkgname=brlaser -pkgver=3 +pkgver=5 pkgrel=0 pkgdesc="Driver for Brother printers like the DCP 7030 and DCP 7065" url="https://github.com/pdewacht/brlaser" arch="all" license="GPL-2.0-or-later" depends="cups-filters" -depends_dev="" -makedepends="$depends_dev cups-dev automake autoconf" -install="" -subpackages="$pkgname-doc" -source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz - 9.patch" +makedepends="cmake cups-dev" +source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz" -_builddir="$srcdir"/brlaser-$pkgver -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done +build() { + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make } -build() { - cd "$_builddir" - ./autogen.sh \ - --build=$CBUILD \ - --host=$CHOST \ - --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 +check() { + make test } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } -md5sums="89bc6a86770baa06aa96f21e588819ee brlaser-3.tar.gz -ecce9fbc01c2667c1a8cee7cc0eab54a 9.patch" -sha256sums="495059a3b93c9c7106f2f72b2d646b0ee794a6527120a8936cd493752250b2ee brlaser-3.tar.gz -d58a70ea5427200510ef6da85d2e77e093fd9b535d9e504a48032659828286c8 9.patch" -sha512sums="79c4709e0db48fc4b359297f44c2ad35633e65210fdb941aea7a9a613de4d341319aaa7e72748f7ed821400c564b9a5c63677692103130e3a6ec5ff938e0cccf brlaser-3.tar.gz -f1c75804c37fb2b4ad200aea185a96f780245da9a858e2afaf435fbe8e8a57a4cc2d2665b8d07ab12e13fa66943f446dd1a2409f2e6e0ebc591a4ca15f331a98 9.patch" +sha512sums="eeb3b37beb5f9a1b6bea456fd9b5e6fc346a7d2dcf9800fa03dfae85f929de46975e4c69a24c9771049ed18847307418fd04d3fe3078b01c60ff19d12ce85058 brlaser-5.tar.gz" |