X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C9B63DC00C9 for ; Thu, 27 Nov 2014 06:33:25 +0000 (UTC) Received: by mail-pd0-f171.google.com with SMTP id y13so4316183pdi.16 for ; Wed, 26 Nov 2014 22:33:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=rSMk+62M3ZPWNma2eihsJ3/JGFcuXTi19H+yEvYSQLQ=; b=qDTtM5uz2c79aEPNmAAMTMJ01J0YnCcrIDbydQ+PVCCFX87fc4B0k3pBzu0k8EyxGe G3HZ8WAqIuTZ/1ImpSadx8x1ZZhTVriaKj47JYG9E2n878qZ5U29jUSwzN1BRxr6w14g VzaSayRDdHm2c3IOsy875U7qAOEjdt1U0oqGXVW1MBEjWdlcszEBEJMQF6xi20dNEjbZ tOPvhxAoHrSaWEqNLST+eNhVRqnWKqxSOV0G2FEUQjYNV6D2iaMeapPa1R1Kg10Cj9Mx HuoO/5ppfPXOQsV759rXcSaZ3g13wgAwphFitZNzD75g+b+/zr4Cx+CLePtTI4jMv5oF kLig== X-Received: by 10.66.150.164 with SMTP id uj4mr60518312pab.14.1417070004694; Wed, 26 Nov 2014 22:33:24 -0800 (PST) Received: from localhost.localdomain ([50.0.224.95]) by mx.google.com with ESMTPSA id dk5sm6067178pbc.9.2014.11.26.22.33.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Nov 2014 22:33:23 -0800 (PST) From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Cc: Isaac Dunham Subject: [alpine-devel] [PATCH] testing/gifsicle: new aport Date: Wed, 26 Nov 2014 22:33:16 -0800 Message-Id: <1417069996-11800-1-git-send-email-ibid.ag@gmail.com> X-Mailer: git-send-email 2.1.3 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: gifsicle provides three tools: gifsicle, which can animate/split/optimize/unoptimize GIF images; gifdiff, which determines whether two GIFs appear identical; and gifview, a simple viewer for animated GIFs. gifview is the only one that uses X11, so it may be worthwhile to split it out. --- testing/gifsicle/APKBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 testing/gifsicle/APKBUILD diff --git a/testing/gifsicle/APKBUILD b/testing/gifsicle/APKBUILD new file mode 100644 index 0000000..8f3fe41 --- /dev/null +++ b/testing/gifsicle/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: Isaac Dunham +# Maintainer: Isaac Dunham +pkgname=gifsicle +pkgver=1.86 +pkgrel=0 +pkgdesc="Command-line tool for making, editing, and getting information about GIF animations" +url="http://www.lcdf.org/gifsicle/" +arch="all" +license="GPL2" +depends="" +makedepends="libx11-dev libice-dev" +install="" +subpackages="$pkgname-doc" +source="http://www.lcdf.org/gifsicle/gifsicle-$pkgver.tar.gz" + +_builddir="$srcdir"/gifsicle-$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="5eadf90cf7a6f22447b0f146e146d092 gifsicle-1.86.tar.gz" +sha256sums="b0046d5e619240de00a6401e0056843cd57006f674e2babe0e9013e0dcb47394 gifsicle-1.86.tar.gz" +sha512sums="d55609e5d71f63ec13c1eed6a9071d756f07c765d2496d468cc7291e3b9e29304be1c3a5b0e822d9dc2df29ac489bafca2650d226d5b3c51dad74dd22c725a13 gifsicle-1.86.tar.gz" -- 2.1.3 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---