aboutsummaryrefslogtreecommitdiffstats
path: root/testing/blind
diff options
context:
space:
mode:
authorJean-Louis Fuchs <ganwell@fangorn.ch>2017-03-23 13:52:55 +0100
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-23 15:51:28 +0000
commit380b69513d5b9829dacbc0c3d5cc0f188e1d3645 (patch)
tree337eb6134dc49daf9b47ef6f1731712b8de9449d /testing/blind
parentada5d0026668339a4c85fed583087f2b8286e774 (diff)
downloadaports-380b69513d5b9829dacbc0c3d5cc0f188e1d3645.tar.bz2
aports-380b69513d5b9829dacbc0c3d5cc0f188e1d3645.tar.xz
testing/blind: remove return, fix dependencies
imagemagick and ffmpeg tools are only recommended dependencies: remove
Diffstat (limited to 'testing/blind')
-rw-r--r--testing/blind/APKBUILD12
1 files 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/"
}