aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorTBK <tbk@jjtc.eu>2020-04-25 16:28:03 +0200
committerFrancesco Colista <fcolista@alpinelinux.org>2020-04-25 14:57:06 +0000
commit006df6831b25f3f7cb288ac43ad1df8ea09a78c8 (patch)
tree928cdaf2683c4cc17555fb2762f02db569f61bcd /testing
parentbeece7d04e4b34a25c5a76da6e8d8ba91a680f09 (diff)
downloadaports-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')
-rw-r--r--testing/w_scan/APKBUILD39
-rw-r--r--testing/w_scan2/APKBUILD34
-rw-r--r--testing/w_scan2/musl-build-time-h-fix.patch (renamed from testing/w_scan/musl-build-time-h-fix.patch)10
3 files changed, 39 insertions, 44 deletions
diff --git a/testing/w_scan/APKBUILD b/testing/w_scan/APKBUILD
deleted file mode 100644
index b31529b7da..0000000000
--- a/testing/w_scan/APKBUILD
+++ /dev/null
@@ -1,39 +0,0 @@
-# Contributor: Francesco Colista <fcolista@alpinelinux.org>
-# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
-pkgname=w_scan
-pkgver=20170107
-pkgrel=0
-pkgdesc="Universal ATSC and DVB blind scanner"
-url="http://wirbel.htpc-forum.de/w_scan/index_en.html"
-arch=""
-license="GPL"
-makedepends="linux-headers"
-subpackages="$pkgname-doc"
-source="http://wirbel.htpc-forum.de/$pkgname/$pkgname-$pkgver.tar.bz2
- musl-build-time-h-fix.patch"
-builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- default_prepare
- sed 's/uint/unsigned int/' -i "$builddir"/version.h
-}
-
-build() {
- cd "$builddir"
- ./configure \
- --build=$CBUILD \
- --host=$CHOST \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --localstatedir=/var
- make
-}
-
-package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
-}
-
-sha512sums="c8e163b5e4897e2bc48596a1104974c79807432c423a3dd172e85c6ed6d4f9a4a471150ae7fe1b78fe570987e9fdee666a491700368c8499b03e9b13aa5cde6a w_scan-20170107.tar.bz2
-5514dd105c51b23728ea4d5d0e04604b2674e0686645b1434197a9cdaa98bf7cac3946baad6357478160ce1feb5d1a3a74b8c1897f846cfb04c0bb58d9ac8b1b musl-build-time-h-fix.patch"
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_scan/musl-build-time-h-fix.patch b/testing/w_scan2/musl-build-time-h-fix.patch
index d07b026ca4..467897c72c 100644
--- a/testing/w_scan/musl-build-time-h-fix.patch
+++ b/testing/w_scan2/musl-build-time-h-fix.patch
@@ -1,8 +1,8 @@
-diff --git a/descriptors.h b/descriptors.h
-index bb45e6e..3ee0b8b 100644
---- a/descriptors.h
-+++ b/descriptors.h
-@@ -29,6 +29,7 @@
+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"