moved into main repo for pisi 2.0
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
autotools.autoreconf("-fi")
|
||||
if not get.buildTYPE() == "emul32":
|
||||
autotools.configure("--with-jpeg8")
|
||||
else:
|
||||
pisitools.dosed("configure", "(NAFLAGS='-fel)f64( -DELF -D__x86_64__)", "\\1f32\\2")
|
||||
autotools.configure("--with-jpeg8 --without-simd")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
if get.buildTYPE() == "emul32": return
|
||||
|
||||
# provide jpegint.h as it is required by various software
|
||||
pisitools.insinto("/usr/lib/include", "jpegint.h")
|
||||
@@ -0,0 +1,18 @@
|
||||
--- Makefile.am~ 2013-05-15 20:34:26.015505251 +0200
|
||||
+++ Makefile.am 2013-05-15 20:34:45.183504551 +0200
|
||||
@@ -123,14 +123,10 @@
|
||||
DOCS= install.txt coderules.txt filelist.txt jconfig.txt change.log \
|
||||
rdrle.c wrrle.c BUILDING.txt ChangeLog.txt
|
||||
|
||||
-docdir = $(datadir)/doc
|
||||
+docdir = $(datadir)/doc/libjpeg-turbo
|
||||
dist_doc_DATA = README README-turbo.txt libjpeg.txt structure.txt usage.txt \
|
||||
wizard.txt
|
||||
|
||||
-exampledir = $(datadir)/doc
|
||||
-dist_example_DATA = example.c
|
||||
-
|
||||
-
|
||||
EXTRA_DIST = win release $(DOCS) testimages CMakeLists.txt \
|
||||
sharedlib/CMakeLists.txt cmakescripts libjpeg.map.in doc doxygen.config \
|
||||
jccolext.c jdcolext.c jdmrgext.c
|
||||
@@ -0,0 +1,102 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libjpeg-turbo</Name>
|
||||
<Homepage>http://www.libjpeg-turbo.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv3</License>
|
||||
<PartOf>multimedia.graphics</PartOf>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>MMX, SSE, and SSE2 SIMD accelerated JPEG library</Summary>
|
||||
<Description>libjpeg-turbo is a derivative of libjpeg for x86 and x86-64 processors which uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression. libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg v6b, all else being equal.</Description>
|
||||
<Archive sha1sum="5fa19252e5ca992cfa40446a0210ceff55fbe468" type="targz">mirrors://sourceforge/libjpeg-turbo/1.3.1/libjpeg-turbo-1.3.1.tar.gz</Archive>
|
||||
<Patches>
|
||||
<Patch>fix_doc.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libjpeg-turbo</Name>
|
||||
<Replaces>
|
||||
<Package>jpeg</Package>
|
||||
</Replaces>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libjpeg-turbo-devel</Name>
|
||||
<Summary>Development files for libjpeg-turbo</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency releaseFrom="current">libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Replaces>
|
||||
<Package>jpeg-devel</Package>
|
||||
</Replaces>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/include/</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libjpeg-turbo-32bit</Name>
|
||||
<PartOf>emul32</PartOf>
|
||||
<Summary>32-bit shared libraries for jpeg</Summary>
|
||||
<BuildType>emul32</BuildType>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Replaces>
|
||||
<Package>jpeg-32bit</Package>
|
||||
</Replaces>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib32</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2014-05-15</Date>
|
||||
<Version>1.3.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2013-05-15</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Switching from jpeg to libjpeg-turbo</Comment>
|
||||
<Name>Marcin Bojara</Name>
|
||||
<Email>marcin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-05-12</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Source url write mirrors</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-04-21</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Fixed</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2012-07-31</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>First Release</Comment>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libjpeg-turbo</Name>
|
||||
<Summary xml:lang="en">MMX, SSE, and SSE2 SIMD accelerated JPEG library</Summary>
|
||||
<Description xml:lang="en">libjpeg-turbo is a derivative of libjpeg for x86 and x86-64 processors which
|
||||
uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression and decompression. libjpeg-turbo is generally 2-4x as fast as the unmodified version of libjpeg v6b, all else being equal.</Description>
|
||||
</Source>
|
||||
<Package>
|
||||
<Name>libjpeg-turbo-devel</Name>
|
||||
<Summary xml:lang="tr">libjpeg-turbo için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user