~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

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

Jean-Louis Fuchs <ganwell@fangorn.ch>
Details
Message ID
<20170323125255.20026-1-ganwell@fangorn.ch>
Sender timestamp
1490273575
DKIM signature
missing
Download raw message
Patch: +6 -6
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
@@ -2,12 +2,12 @@
# Maintainer: Jean-Louis Fuchs <ganwell@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
@@ -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@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)