diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-09 02:53:31 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-09-09 02:53:31 +0000 |
commit | 4e61295ff26501e80db2de6f770ee14db5f031be (patch) | |
tree | ba2581c40ad94e6abe1d6523789c641ed66142e6 /user/ffmpegthumbnailer/APKBUILD | |
parent | eb5d8657735fbc915cba5ae1ef29303e07432b60 (diff) | |
parent | 4a0822e2bef80e8bf5e22084b4e52c42cfcbe848 (diff) | |
download | packages-4e61295ff26501e80db2de6f770ee14db5f031be.tar.gz packages-4e61295ff26501e80db2de6f770ee14db5f031be.tar.bz2 packages-4e61295ff26501e80db2de6f770ee14db5f031be.tar.xz packages-4e61295ff26501e80db2de6f770ee14db5f031be.zip |
Merge XFCE 4 from @Aerdan1.0-beta1
Diffstat (limited to 'user/ffmpegthumbnailer/APKBUILD')
-rw-r--r-- | user/ffmpegthumbnailer/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/user/ffmpegthumbnailer/APKBUILD b/user/ffmpegthumbnailer/APKBUILD new file mode 100644 index 000000000..ae8a1c7e0 --- /dev/null +++ b/user/ffmpegthumbnailer/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=ffmpegthumbnailer +pkgver=2.2.0 +pkgrel=0 +pkgdesc="Thumbnail generator based on FFMPEG" +url="https://github.com/dirkvdb/ffmpegthumbnailer" +arch="all" +license="GPL-2.0+" +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" +sha512sums="526d15b2c754fcb1415e69fb54cb6e7d0102b6d73a32a7e8528df81e32633dfe3786898984fdb988c93daee7218956c75c096ef657c9b3a42399d2d1d27c7bbf ffmpegthumbnailer-2.2.0.tar.bz2" + +build() { + cd "$builddir" + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + -DENABLE_GIO=True \ + -DENABLE_THUMBNAILER=True \ + ${CMAKE_CROSSOPTS} + make +} + +check() { + cd "$builddir" + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + |