[arch-commits] Commit in libjpeg-turbo/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Gaëtan Bisson
bisson at archlinux.org
Wed Dec 20 23:16:01 UTC 2017
Date: Wednesday, December 20, 2017 @ 23:15:58
Author: bisson
Revision: 313456
archrelease: copy trunk to extra-x86_64
Added:
libjpeg-turbo/repos/extra-x86_64/PKGBUILD
(from rev 313455, libjpeg-turbo/trunk/PKGBUILD)
Deleted:
libjpeg-turbo/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 119 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 61 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-20 23:14:45 UTC (rev 313455)
+++ PKGBUILD 2017-12-20 23:15:58 UTC (rev 313456)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Allan McRae <allan at archlinux.org>
-# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
-
-pkgname=libjpeg-turbo
-pkgver=1.5.2
-pkgrel=2
-pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
-url='https://libjpeg-turbo.org/'
-arch=('x86_64')
-license=('custom')
-makedepends=('nasm' 'jdk8-openjdk')
-validpgpkeys=('7D6293CC6378786E1B5C496885C7044E033FDE16')
-source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
-sha256sums=('9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528'
- 'SKIP')
-
-provides=('libjpeg=8.1.2' 'turbojpeg')
-conflicts=('libjpeg' 'turbojpeg')
-replaces=('libjpeg' 'turbojpeg')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- sed 's/Szathmáry/Szathmary/g' -i java/org/libjpegturbo/turbojpeg/*.java
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- export JNI_CFLAGS='-I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux'
- ./configure \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --with-jpeg8 \
- --with-java \
- --with-build-date="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d)" \
-
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make test
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make \
- DESTDIR="${pkgdir}" \
- docdir="/usr/share/doc/${pkgname}" \
- exampledir="/usr/share/doc/${pkgname}" \
- install
-
- install -Dm 644 jpegint.h "${pkgdir}/usr/include" # required by other software
- install -d "${pkgdir}/usr/share/licenses/libjpeg-turbo"
- ln -s ../../doc/libjpeg-turbo/LICENSE.md "${pkgdir}"/usr/share/licenses/libjpeg-turbo
- install -Dm 644 ChangeLog.md -t"${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: libjpeg-turbo/repos/extra-x86_64/PKGBUILD (from rev 313455, libjpeg-turbo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-20 23:15:58 UTC (rev 313456)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Simone Sclavi 'Ito' <darkhado at gmail.com>
+
+pkgname=libjpeg-turbo
+pkgver=1.5.3
+pkgrel=1
+pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
+url='https://libjpeg-turbo.org/'
+arch=('x86_64')
+license=('custom')
+makedepends=('nasm' 'jdk8-openjdk')
+validpgpkeys=('7D6293CC6378786E1B5C496885C7044E033FDE16')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+sha256sums=('b24890e2bb46e12e72a79f7e965f409f4e16466d00e1dd15d93d73ee6b592523'
+ 'SKIP')
+
+provides=('libjpeg=8.1.2' 'turbojpeg')
+conflicts=('libjpeg' 'turbojpeg')
+replaces=('libjpeg' 'turbojpeg')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed 's/Szathmáry/Szathmary/g' -i java/org/libjpegturbo/turbojpeg/*.java
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # make the build reproducible
+ _build=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d)
+
+ export JNI_CFLAGS='-I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux'
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --with-jpeg8 \
+ --with-java \
+ --with-build-date=$_build \
+
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make \
+ DESTDIR="${pkgdir}" \
+ docdir="/usr/share/doc/${pkgname}" \
+ exampledir="/usr/share/doc/${pkgname}" \
+ install
+
+ install -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ ln -s ../../doc/libjpeg-turbo/LICENSE.md "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 644 jpegint.h "${pkgdir}/usr/include" # required by other software
+}
More information about the arch-commits
mailing list