diff options
| author | TBK <tbk@jjtc.eu> | 2020-04-25 16:28:03 +0200 |
|---|---|---|
| committer | Francesco Colista <fcolista@alpinelinux.org> | 2020-04-25 14:57:06 +0000 |
| commit | 006df6831b25f3f7cb288ac43ad1df8ea09a78c8 (patch) | |
| tree | 928cdaf2683c4cc17555fb2762f02db569f61bcd /testing/w_scan2 | |
| parent | beece7d04e4b34a25c5a76da6e8d8ba91a680f09 (diff) | |
| download | aports-006df6831b25f3f7cb288ac43ad1df8ea09a78c8.tar.bz2 aports-006df6831b25f3f7cb288ac43ad1df8ea09a78c8.tar.xz | |
testing/w_scan2: rename from w_scan
Original src is gone, so switching to active fork.
Diffstat (limited to 'testing/w_scan2')
| -rw-r--r-- | testing/w_scan2/APKBUILD | 34 | ||||
| -rw-r--r-- | testing/w_scan2/musl-build-time-h-fix.patch | 12 |
2 files changed, 46 insertions, 0 deletions
diff --git a/testing/w_scan2/APKBUILD b/testing/w_scan2/APKBUILD new file mode 100644 index 0000000000..12f9802e29 --- /dev/null +++ b/testing/w_scan2/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=w_scan2 +pkgver=1.0.8 +pkgrel=0 +pkgdesc="Universal ATSC and DVB blind scanner" +url="https://github.com/stefantalpalaru/w_scan2" +arch="all" +license="GPL-2.0-or-later" +options="!check" # No test suite +replaces="w_scan" +makedepends="autoconf automake libtool linux-headers" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://github.com/stefantalpalaru/w_scan2/archive/$pkgver.tar.gz + musl-build-time-h-fix.patch + " + +prepare() { + default_prepare + autoreconf -vif +} + +build() { + ./configure \ + --prefix=/usr + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="65b17e44699b5e2cd92bacb577f46de373b322ceffb53560750218fa7e80199e0b242d58586276cb8cbce86addfac25c12fd5455823fa52da0f7f98cd4f2efc4 w_scan2-1.0.8.tar.gz +ac4b08e7fcc6c9264a2b4acc5b0510ca0aeae760c676fc4e73a6d20cc009bdb29903d3cf967efb13a2e1d76f4aba2324bd6c3eca0b7495b3ab2a43ce6bf49ec9 musl-build-time-h-fix.patch" diff --git a/testing/w_scan2/musl-build-time-h-fix.patch b/testing/w_scan2/musl-build-time-h-fix.patch new file mode 100644 index 0000000000..467897c72c --- /dev/null +++ b/testing/w_scan2/musl-build-time-h-fix.patch @@ -0,0 +1,12 @@ +Upstreamed: yes. Already merged into master. + +--- a/src/descriptors.h ++++ b/src/descriptors.h +@@ -23,6 +23,7 @@ + #define __DESCRIPTORS_H__ + + #include "extended_frontend.h" ++#include "time.h" + + /****************************************************************************** + * descriptor ids as defined by standards. |
