X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 98E52DC02F6 for ; Mon, 20 Apr 2015 11:21:40 +0000 (UTC) Received: from apollo.thewebhostserver.com (apollomail.thewebhostserver.com [46.23.65.248]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 65474DC02A3 for ; Mon, 20 Apr 2015 11:21:35 +0000 (UTC) Received: from [81.4.121.188] (port=55547 helo=localhost.localdomain) by apollo.thewebhostserver.com with esmtpsa (TLSv1.2:AES128-SHA256:128) (Exim 4.85) (envelope-from ) id 1Yk9lb-004Esv-Do; Mon, 20 Apr 2015 12:21:31 +0100 From: Stuart Cardall To: alpine-aports@lists.alpinelinux.org Cc: Stuart Cardall Subject: [alpine-aports] [PATCH] testing/ffmpegthumbnailer: new aport Date: Mon, 20 Apr 2015 11:21:27 +0000 Message-Id: <1429528887-99056-1-git-send-email-developer@it-offshore.co.uk> X-Mailer: git-send-email 2.3.5 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - apollo.thewebhostserver.com X-AntiAbuse: Original Domain - lists.alpinelinux.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - it-offshore.co.uk X-Get-Message-Sender-Via: apollo.thewebhostserver.com: authenticated_id: developer@it-offshore.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: ClamAV using ClamSMTP X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: ffmpegthumnailer is required for the new spacefm 1.0 patch to follow. --- testing/ffmpegthumbnailer/APKBUILD | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 testing/ffmpegthumbnailer/APKBUILD diff --git a/testing/ffmpegthumbnailer/APKBUILD b/testing/ffmpegthumbnailer/APKBUILD new file mode 100644 index 0000000..6eaca54 --- /dev/null +++ b/testing/ffmpegthumbnailer/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: Stuart Cardall +# Maintainer: Stuart Cardall +pkgname=ffmpegthumbnailer +pkgver=2.0.9 +pkgrel=0 +pkgdesc="Lightweight video thumbnailer that can be used by file managers" +url="https://code.google.com/p/ffmpegthumbnailer" +arch="all" +license="GPLv2" +depends_dev="" +makedepends="$depends_dev ffmpeg-dev libpng-dev" +subpackages="$pkgname-dev $pkgname-doc" +source="saveas-https://github.com/itoffshore/$pkgname/archive/$pkgver.tar.gz/${pkgname}-${pkgver}.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="fd5a096a51d0d6d00d15baa6027e8932 ffmpegthumbnailer-2.0.9.tar.gz" +sha256sums="f5d4ef034c98d1279c01b811460f0f6394f5f3ee5afe4c674ea14f3196b87348 ffmpegthumbnailer-2.0.9.tar.gz" +sha512sums="fdfb42b30cf980592a7d4b617f9983d265553ed9217151920953901830d816a04eca5f3c6c776697fab67953095600a2d1e0b690c337a200dad8966b0f82df09 ffmpegthumbnailer-2.0.9.tar.gz" -- 2.3.5 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---