[arch-commits] Commit in libwebp/repos (4 files)

Jan Steffens heftig at archlinux.org
Thu Mar 30 20:37:50 UTC 2017


    Date: Thursday, March 30, 2017 @ 20:37:49
  Author: heftig
Revision: 291898

archrelease: copy trunk to staging-x86_64, staging-i686

Added:
  libwebp/repos/staging-i686/
  libwebp/repos/staging-i686/PKGBUILD
    (from rev 291897, libwebp/trunk/PKGBUILD)
  libwebp/repos/staging-x86_64/
  libwebp/repos/staging-x86_64/PKGBUILD
    (from rev 291897, libwebp/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   54 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   54 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

Copied: libwebp/repos/staging-i686/PKGBUILD (from rev 291897, libwebp/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2017-03-30 20:37:49 UTC (rev 291898)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jon Nordby <jononor at gmail.com>
+
+pkgname=libwebp
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="WebP library and conversion tools"
+arch=(x86_64 i686)
+url="https://developers.google.com/speed/webp/"
+license=(BSD)
+depends=(libpng libjpeg libtiff giflib)
+makedepends=(freeglut mesa glu git)
+optdepends=('freeglut: vwebp viewer')
+_commit=50d1a848bc56554af8413cfe681f94286a6371b3  # tags/v0.6.0^0
+source=("git+https://chromium.googlesource.com/webm/libwebp#commit=$_commit")
+sha256sums=('SKIP')
+validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+
+  ./configure --prefix=/usr \
+     --enable-swap-16bit-csp \
+     --enable-experimental \
+     --enable-libwebp{mux,demux,decoder,extras} \
+     --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: libwebp/repos/staging-x86_64/PKGBUILD (from rev 291897, libwebp/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2017-03-30 20:37:49 UTC (rev 291898)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jon Nordby <jononor at gmail.com>
+
+pkgname=libwebp
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="WebP library and conversion tools"
+arch=(x86_64 i686)
+url="https://developers.google.com/speed/webp/"
+license=(BSD)
+depends=(libpng libjpeg libtiff giflib)
+makedepends=(freeglut mesa glu git)
+optdepends=('freeglut: vwebp viewer')
+_commit=50d1a848bc56554af8413cfe681f94286a6371b3  # tags/v0.6.0^0
+source=("git+https://chromium.googlesource.com/webm/libwebp#commit=$_commit")
+sha256sums=('SKIP')
+validpgpkeys=('6B0E6B70976DE303EDF2F601F9C3D6BDB8232B5D')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+
+  ./configure --prefix=/usr \
+     --enable-swap-16bit-csp \
+     --enable-experimental \
+     --enable-libwebp{mux,demux,decoder,extras} \
+     --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+check() {
+  cd $pkgname
+  make check
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list