mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-16 21:32:22 +01:00
testing/w_scan2: rename from w_scan
Original src is gone, so switching to active fork.
This commit is contained in:
parent
beece7d04e
commit
006df6831b
@ -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"
|
||||
34
testing/w_scan2/APKBUILD
Normal file
34
testing/w_scan2/APKBUILD
Normal file
@ -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"
|
||||
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user