mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/libjpeg-turbo to 1.5.2-2
This commit is contained in:
parent
b2046a99b6
commit
4f416e999d
1 changed files with 8 additions and 9 deletions
|
@ -9,14 +9,14 @@
|
||||||
|
|
||||||
pkgname=libjpeg-turbo
|
pkgname=libjpeg-turbo
|
||||||
pkgver=1.5.2
|
pkgver=1.5.2
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
|
pkgdesc='JPEG image codec with accelerated baseline compression and decompression'
|
||||||
url='http://libjpeg-turbo.virtualgl.org/'
|
url='https://libjpeg-turbo.org/'
|
||||||
arch=('i686' 'x86_64')
|
arch=('x86_64')
|
||||||
license=('custom')
|
license=('custom')
|
||||||
#makedepends=('nasm' 'jdk8-openjdk')
|
#makedepends=('nasm' 'jdk8-openjdk')
|
||||||
validpgpkeys=('7D6293CC6378786E1B5C496885C7044E033FDE16')
|
validpgpkeys=('7D6293CC6378786E1B5C496885C7044E033FDE16')
|
||||||
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
source=("https://downloads.sourceforge.net/project/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.sig})
|
||||||
sha256sums=('9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528'
|
sha256sums=('9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
|
|
||||||
|
@ -24,8 +24,6 @@ provides=('libjpeg=8.1.2' 'turbojpeg')
|
||||||
conflicts=('libjpeg' 'turbojpeg')
|
conflicts=('libjpeg' 'turbojpeg')
|
||||||
replaces=('libjpeg' 'turbojpeg')
|
replaces=('libjpeg' 'turbojpeg')
|
||||||
|
|
||||||
options=('!makeflags')
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
sed 's/Szathmáry/Szathmary/g' -i java/org/libjpegturbo/turbojpeg/*.java
|
sed 's/Szathmáry/Szathmary/g' -i java/org/libjpegturbo/turbojpeg/*.java
|
||||||
|
@ -39,6 +37,7 @@ build() {
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--mandir=/usr/share/man \
|
--mandir=/usr/share/man \
|
||||||
--with-jpeg8 \
|
--with-jpeg8 \
|
||||||
|
--with-build-date="$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d)" \
|
||||||
$CONFIG
|
$CONFIG
|
||||||
|
|
||||||
make
|
make
|
||||||
|
@ -56,9 +55,9 @@ package() {
|
||||||
docdir="/usr/share/doc/${pkgname}" \
|
docdir="/usr/share/doc/${pkgname}" \
|
||||||
exampledir="/usr/share/doc/${pkgname}" \
|
exampledir="/usr/share/doc/${pkgname}" \
|
||||||
install
|
install
|
||||||
|
|
||||||
install -m644 jpegint.h "${pkgdir}/usr/include" # required by other software
|
|
||||||
|
|
||||||
|
install -Dm 644 jpegint.h "${pkgdir}/usr/include" # required by other software
|
||||||
install -d "${pkgdir}/usr/share/licenses/libjpeg-turbo"
|
install -d "${pkgdir}/usr/share/licenses/libjpeg-turbo"
|
||||||
ln -s ../../doc/libjpeg-turbo/README.md "${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}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue