Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/blind: remove return, fix dependencies

From: Jean-Louis Fuchs <ganwell_at_fangorn.ch>
Date: Thu, 23 Mar 2017 13:52:55 +0100

imagemagick and ffmpeg tools are only recommended dependencies: remove
---
 testing/blind/APKBUILD | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/testing/blind/APKBUILD b/testing/blind/APKBUILD
index d983def65e..b3d444c739 100644
--- a/testing/blind/APKBUILD
+++ b/testing/blind/APKBUILD
_at_@ -2,12 +2,12 @@
 # Maintainer: Jean-Louis Fuchs <ganwell_at_fangorn.ch>
 pkgname=blind
 pkgver=1.0
-pkgrel=0
+pkgrel=1
 pkgdesc="blind is a collection of command line video editing utilities"
 url="http://tools.suckless.org/blind/"
 arch="all"
 license="ISC"
-makedepends="ffmpeg ffmpeg-dev imagemagick-dev"
+makedepends="ffmpeg"
 subpackages="$pkgname-doc"
 source="http://dl.suckless.org/tools/blind-$pkgver.tar.gz
 	fix-readall.patch
_at_@ -17,22 +17,22 @@ builddir="$srcdir/blind-$pkgver"
 
 build() {
 	cd "$builddir"
-	make || return 1
+	make
 }
 
 check() {
 	cd "$builddir"
 	# Check if blind is operational
-	bunzip2 < "$srcdir/test.ff.bz2" | ./blind-from-image -f > test.bl || return 1
+	bunzip2 < "$srcdir/test.ff.bz2" | ./blind-from-image -f > test.bl
 	./blind-repeat 15 test.bl | ./blind-flop | ./blind-flip \
 		| ./blind-dissolve | ./blind-to-video 50 -c:v libx264 -preset fast -crf 0 \
-		-pix_fmt yuv444p out.mp4 || return 1
+		-pix_fmt yuv444p out.mp4
 	rm test.bl out.mp4
 }
 
 package() {
 	cd "$builddir"
-	make PREFIX="/usr" DESTDIR="$pkgdir" install || return 1
+	make PREFIX="/usr" DESTDIR="$pkgdir" install
 	cp blind-rotate-* "$pkgdir/usr/bin/"
 }
 
-- 
2.11.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Thu Mar 23 2017 - 13:52:55 GMT