summaryrefslogtreecommitdiff
path: root/user/ffmpegthumbnailer
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 09:48:05 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-09 09:48:19 +0000
commit0f4ea66b0e8ced4fc6ded80b19f6391a72410a86 (patch)
tree97796c0370a65b76fcf5bfd635fdc2bb08f1bc32 /user/ffmpegthumbnailer
parent9c64ffb185a7eabf2c51490a59088d112a158784 (diff)
downloadpackages-0f4ea66b0e8ced4fc6ded80b19f6391a72410a86.tar.gz
packages-0f4ea66b0e8ced4fc6ded80b19f6391a72410a86.tar.bz2
packages-0f4ea66b0e8ced4fc6ded80b19f6391a72410a86.tar.xz
packages-0f4ea66b0e8ced4fc6ded80b19f6391a72410a86.zip
user/*: Modernise / fix syntax / deps
Diffstat (limited to 'user/ffmpegthumbnailer')
-rw-r--r--user/ffmpegthumbnailer/APKBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/user/ffmpegthumbnailer/APKBUILD b/user/ffmpegthumbnailer/APKBUILD
index 1eca89231..d3abd0db6 100644
--- a/user/ffmpegthumbnailer/APKBUILD
+++ b/user/ffmpegthumbnailer/APKBUILD
@@ -7,12 +7,12 @@ pkgdesc="Thumbnail generator based on FFMPEG"
url="https://github.com/dirkvdb/ffmpegthumbnailer"
arch="all"
license="GPL-2.0+"
+depends=""
makedepends="ffmpeg-dev libjpeg-turbo-dev libpng-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/dirkvdb/ffmpegthumbnailer/releases/download/$pkgver/ffmpegthumbnailer-$pkgver.tar.bz2"
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -25,17 +25,15 @@ build() {
-DCMAKE_C_FLAGS="$CFLAGS" \
-DENABLE_GIO=True \
-DENABLE_THUMBNAILER=True \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}