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

Allan McRae allan at archlinux.org
Sat Feb 11 21:54:27 EST 2012


    Date: Saturday, February 11, 2012 @ 21:54:27
  Author: allan
Revision: 149986

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

Added:
  libjpeg-turbo/repos/extra-i686/PKGBUILD
    (from rev 149985, libjpeg-turbo/trunk/PKGBUILD)
  libjpeg-turbo/repos/extra-x86_64/PKGBUILD
    (from rev 149985, libjpeg-turbo/trunk/PKGBUILD)
Deleted:
  libjpeg-turbo/repos/extra-i686/PKGBUILD
  libjpeg-turbo/repos/extra-x86_64/PKGBUILD

-----------------------+
 extra-i686/PKGBUILD   |  103 +++++++++++++++++++++++++-----------------------
 extra-x86_64/PKGBUILD |  103 +++++++++++++++++++++++++-----------------------
 2 files changed, 110 insertions(+), 96 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2012-02-12 02:53:28 UTC (rev 149985)
+++ extra-i686/PKGBUILD	2012-02-12 02:54:27 UTC (rev 149986)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
-
-pkgname=libjpeg-turbo
-pkgver=1.1.1
-pkgrel=4
-pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression"
-arch=('i686' 'x86_64')
-url="http://libjpeg-turbo.virtualgl.org/"
-license=('GPL' 'custom')
-depends=('glibc')
-makedepends=('nasm')
-provides=('libjpeg=8.0.2')
-conflicts=('libjpeg')
-replaces=('libjpeg')
-options=('!libtool')
-source=(http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('03b9c1406c7bfdc204313c2917ce6962')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  ./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man
-  make
-}
-
-check() {
-  cd $srcdir/$pkgname-$pkgver
-  
-  make test
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make DESTDIR=$pkgdir/ install
-  
-  # provide jpegint.h as it is required by various software
-  install -m644 jpegint.h $pkgdir/usr/include/
-  
-  # do not distributre libturbojpeg as it is unversioned
-  rm $pkgdir/usr/lib/libturbojpeg.{so,a}
-  rm $pkgdir/usr/include/turbojpeg.h
-  rm $pkgdir/usr/bin/jpgtest
-  
-  install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/libjpeg-turbo/LICENSE
-}

Copied: libjpeg-turbo/repos/extra-i686/PKGBUILD (from rev 149985, libjpeg-turbo/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2012-02-12 02:54:27 UTC (rev 149986)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
+
+pkgname=libjpeg-turbo
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression"
+arch=('i686' 'x86_64')
+url="http://libjpeg-turbo.virtualgl.org/"
+license=('GPL' 'custom')
+depends=('glibc')
+makedepends=('nasm')
+provides=('libjpeg=8.0.2')
+conflicts=('libjpeg')
+replaces=('libjpeg')
+options=('!libtool')
+source=(http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz)
+md5sums=('5329fa80953938cb4f097afae55059e2')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # put documentation in a reasonable directory...
+  sed -i "/docdir = /s#/doc#/doc/libjpeg-turbo#" Makefile.in
+  sed -i "/exampledir = /s#/doc#/doc/libjpeg-turbo#" Makefile.in
+
+  ./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  
+  make test
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir/ install
+  
+  # provide jpegint.h as it is required by various software
+  install -m644 jpegint.h $pkgdir/usr/include/
+  
+  # do not distributre libturbojpeg as it is unversioned
+  rm $pkgdir/usr/lib/libturbojpeg.{so,a}
+  rm $pkgdir/usr/include/turbojpeg.h
+  
+  install -dm755 $pkgdir/usr/share/licenses/libjpeg-turbo/
+  ln -s ../../doc/libjpeg-turbo/README \
+    $pkgdir/usr/share/licenses/libjpeg-turbo/README
+  ln -s ../../doc/libjpeg-turbo/README-turbo.txt \
+    $pkgdir/usr/share/licenses/libjpeg-turbo/README-turbo.txt
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2012-02-12 02:53:28 UTC (rev 149985)
+++ extra-x86_64/PKGBUILD	2012-02-12 02:54:27 UTC (rev 149986)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
-
-pkgname=libjpeg-turbo
-pkgver=1.1.1
-pkgrel=4
-pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression"
-arch=('i686' 'x86_64')
-url="http://libjpeg-turbo.virtualgl.org/"
-license=('GPL' 'custom')
-depends=('glibc')
-makedepends=('nasm')
-provides=('libjpeg=8.0.2')
-conflicts=('libjpeg')
-replaces=('libjpeg')
-options=('!libtool')
-source=(http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz)
-md5sums=('03b9c1406c7bfdc204313c2917ce6962')
-
-build() {
-  cd $srcdir/$pkgname-$pkgver
-
-  ./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man
-  make
-}
-
-check() {
-  cd $srcdir/$pkgname-$pkgver
-  
-  make test
-}
-
-package() {
-  cd $srcdir/$pkgname-$pkgver
-
-  make DESTDIR=$pkgdir/ install
-  
-  # provide jpegint.h as it is required by various software
-  install -m644 jpegint.h $pkgdir/usr/include/
-  
-  # do not distributre libturbojpeg as it is unversioned
-  rm $pkgdir/usr/lib/libturbojpeg.{so,a}
-  rm $pkgdir/usr/include/turbojpeg.h
-  rm $pkgdir/usr/bin/jpgtest
-  
-  install -Dm644 LICENSE.txt $pkgdir/usr/share/licenses/libjpeg-turbo/LICENSE
-}

Copied: libjpeg-turbo/repos/extra-x86_64/PKGBUILD (from rev 149985, libjpeg-turbo/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2012-02-12 02:54:27 UTC (rev 149986)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
+
+pkgname=libjpeg-turbo
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="libjpeg derivative with accelerated baseline JPEG compression and decompression"
+arch=('i686' 'x86_64')
+url="http://libjpeg-turbo.virtualgl.org/"
+license=('GPL' 'custom')
+depends=('glibc')
+makedepends=('nasm')
+provides=('libjpeg=8.0.2')
+conflicts=('libjpeg')
+replaces=('libjpeg')
+options=('!libtool')
+source=(http://sourceforge.net/projects/$pkgname/files/$pkgver/$pkgname-$pkgver.tar.gz)
+md5sums=('5329fa80953938cb4f097afae55059e2')
+
+build() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # put documentation in a reasonable directory...
+  sed -i "/docdir = /s#/doc#/doc/libjpeg-turbo#" Makefile.in
+  sed -i "/exampledir = /s#/doc#/doc/libjpeg-turbo#" Makefile.in
+
+  ./configure --prefix=/usr --with-jpeg8 --mandir=/usr/share/man
+  make
+}
+
+check() {
+  cd $srcdir/$pkgname-$pkgver
+  
+  make test
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  make DESTDIR=$pkgdir/ install
+  
+  # provide jpegint.h as it is required by various software
+  install -m644 jpegint.h $pkgdir/usr/include/
+  
+  # do not distributre libturbojpeg as it is unversioned
+  rm $pkgdir/usr/lib/libturbojpeg.{so,a}
+  rm $pkgdir/usr/include/turbojpeg.h
+  
+  install -dm755 $pkgdir/usr/share/licenses/libjpeg-turbo/
+  ln -s ../../doc/libjpeg-turbo/README \
+    $pkgdir/usr/share/licenses/libjpeg-turbo/README
+  ln -s ../../doc/libjpeg-turbo/README-turbo.txt \
+    $pkgdir/usr/share/licenses/libjpeg-turbo/README-turbo.txt
+}



More information about the arch-commits mailing list