New package: libjpeg-turbo-1.1.1.
This commit is contained in:
parent
bfb5191231
commit
a50099e263
1
srcpkgs/libjpeg-turbo-devel
Symbolic link
1
srcpkgs/libjpeg-turbo-devel
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libjpeg-turbo
|
1
srcpkgs/libjpeg-turbo-tools
Symbolic link
1
srcpkgs/libjpeg-turbo-tools
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
libjpeg-turbo
|
2
srcpkgs/libjpeg-turbo/depends
Normal file
2
srcpkgs/libjpeg-turbo/depends
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
abi_depends=">=1.1.1"
|
||||||
|
api_depends="${abi_depends}"
|
19
srcpkgs/libjpeg-turbo/libjpeg-turbo-devel.template
Normal file
19
srcpkgs/libjpeg-turbo/libjpeg-turbo-devel.template
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
# Template file for 'libjpeg-turbo-devel'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} development files"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
Add_dependency run glibc-devel
|
||||||
|
Add_dependency run libjpeg-turbo
|
||||||
|
|
||||||
|
provides="jpeg-devel-8"
|
||||||
|
replaces="jpeg-devel>=0"
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr/lib
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
|
||||||
|
}
|
18
srcpkgs/libjpeg-turbo/libjpeg-turbo-tools.template
Normal file
18
srcpkgs/libjpeg-turbo/libjpeg-turbo-tools.template
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# Template file for 'libjpeg-turbo-tools'.
|
||||||
|
#
|
||||||
|
short_desc="${sourcepkg} - bundled tools"
|
||||||
|
long_desc="${long_desc}
|
||||||
|
|
||||||
|
This package contains tools to manipulate JPG files."
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency run libjpeg-turbo ">=${version}"
|
||||||
|
|
||||||
|
provides="jpeg-tools-8"
|
||||||
|
replaces="jpeg-tools>=0"
|
||||||
|
|
||||||
|
do_install()
|
||||||
|
{
|
||||||
|
mkdir -p ${DESTDIR}/usr
|
||||||
|
mv ${SRCPKGDESTDIR}/usr/{bin,share} ${DESTDIR}/usr
|
||||||
|
}
|
34
srcpkgs/libjpeg-turbo/template
Normal file
34
srcpkgs/libjpeg-turbo/template
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
# Template build file for 'libjpeg-turbo'.
|
||||||
|
pkgname=libjpeg-turbo
|
||||||
|
version=1.1.1
|
||||||
|
homepage="http://libjpeg-turbo.virtualgl.org/"
|
||||||
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
|
build_style=gnu_configure
|
||||||
|
configure_args="--with-jpeg8"
|
||||||
|
short_desc="Derivative of libjpeg which uses SIMD instructions"
|
||||||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="LGPL-2.1, ${pkgname}"
|
||||||
|
checksum=553b1f5a968fb9efc089623ed99be2aa6bc21586be92eb04848489c91a63f1e2
|
||||||
|
long_desc="
|
||||||
|
$pkgname is a derivative of libjpeg which uses SIMD instructions
|
||||||
|
MMX, SSE2, etc. to accelerate baseline JPEG compression and decompression
|
||||||
|
on x86, x86-64, and other supported systems. On such systems, $pkgname is
|
||||||
|
generally 2-4x as fast as the unmodified version of libjpeg, all else being
|
||||||
|
equal."
|
||||||
|
|
||||||
|
provides="jpeg-8"
|
||||||
|
replaces="jpeg>=0"
|
||||||
|
subpackages="${pkgname}-devel ${pkgname}-tools"
|
||||||
|
|
||||||
|
Add_dependency run glibc
|
||||||
|
Add_dependency build nasm
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vinstall jpegint.h 644 usr/include
|
||||||
|
vinstall LICENSE.txt 644 usr/share/licenses/${pkgname}
|
||||||
|
|
||||||
|
rm -f ${DESTDIR}/usr/bin/jpegut
|
||||||
|
rm -f ${DESTDIR}/usr/bin/jpgtest
|
||||||
|
rm -f ${DESTDIR}/usr/lib/libturbojpeg*
|
||||||
|
rm -f ${DESTDIR}/usr/include/turbojpeg.h
|
||||||
|
}
|
@ -94,6 +94,7 @@ libX11-xcb.so.1 libX11 libX11-devel
|
|||||||
libX11.so.6 libX11 libX11-devel
|
libX11.so.6 libX11 libX11-devel
|
||||||
libexpat.so.1 expat expat-devel
|
libexpat.so.1 expat expat-devel
|
||||||
libjpeg.so.8 jpeg jpeg-devel
|
libjpeg.so.8 jpeg jpeg-devel
|
||||||
|
libjpeg.so.8 libturbojpeg libturbojpeg-devel
|
||||||
libpng14.so.14 libpng libpng-devel
|
libpng14.so.14 libpng libpng-devel
|
||||||
libXrender.so.1 libXrender libXrender-devel
|
libXrender.so.1 libXrender libXrender-devel
|
||||||
libXrandr.so.2 libXrandr libXrandr-devel
|
libXrandr.so.2 libXrandr libXrandr-devel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user