libjpeg-turbo: update to 2.0.0.
This commit is contained in:
parent
de7e418fcd
commit
58f8061a9e
1 changed files with 13 additions and 19 deletions
|
@ -1,31 +1,24 @@
|
||||||
# Template build file for 'libjpeg-turbo'.
|
# Template file for 'libjpeg-turbo'
|
||||||
pkgname=libjpeg-turbo
|
pkgname=libjpeg-turbo
|
||||||
version=1.5.3
|
version=2.0.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=cmake
|
||||||
|
configure_args="-DWITH_JPEG8=1 -DCMAKE_INSTALL_LIBDIR=/usr/lib"
|
||||||
hostmakedepends="yasm"
|
hostmakedepends="yasm"
|
||||||
configure_args="--with-jpeg8"
|
|
||||||
provides="jpeg-8_1"
|
|
||||||
replaces="jpeg>=0"
|
|
||||||
short_desc="Derivative of libjpeg which uses SIMD instructions"
|
short_desc="Derivative of libjpeg which uses SIMD instructions"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="BSD"
|
license="IJG, BSD-3-Clause, Zlib"
|
||||||
homepage="http://libjpeg-turbo.virtualgl.org/"
|
homepage="http://libjpeg-turbo.virtualgl.org/"
|
||||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=b24890e2bb46e12e72a79f7e965f409f4e16466d00e1dd15d93d73ee6b592523
|
checksum=778876105d0d316203c928fd2a0374c8c01f755d0a00b12a1c8934aeccff8868
|
||||||
|
|
||||||
# SIMD uses FP instructions, disable on soft-float MIPS
|
provides="jpeg-8_1"
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
replaces="jpeg>=0"
|
||||||
mips*hf) ;;
|
|
||||||
mips*) configure_args+=" --without-simd" ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
do_install() {
|
post_install() {
|
||||||
make DESTDIR=${DESTDIR} docdir=/usr/share/doc/${pkgname} \
|
vlicense LICENSE.md
|
||||||
exampledir=/usr/share/doc/${pkgname} install
|
|
||||||
|
|
||||||
vinstall jpegint.h 644 usr/include
|
vinstall jpegint.h 644 usr/include
|
||||||
vlicense LICENSE.md
|
|
||||||
|
|
||||||
rm -r ${DESTDIR}/usr/share/doc
|
rm -r ${DESTDIR}/usr/share/doc
|
||||||
rm -f ${DESTDIR}/usr/bin/tjbench
|
rm -f ${DESTDIR}/usr/bin/tjbench
|
||||||
|
@ -40,11 +33,12 @@ libjpeg-turbo-devel_package() {
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/*.a
|
vmove "usr/lib/*.a"
|
||||||
vmove usr/lib/*.so
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libjpeg-turbo-tools_package() {
|
libjpeg-turbo-tools_package() {
|
||||||
provides="jpeg-tools-8_1"
|
provides="jpeg-tools-8_1"
|
||||||
replaces="jpeg-tools>=0"
|
replaces="jpeg-tools>=0"
|
||||||
|
|
Loading…
Reference in a new issue