68 lines
1.7 KiB
Plaintext
68 lines
1.7 KiB
Plaintext
###############################################################################
|
|
# IPFire.org - An Open Source Firewall Solution #
|
|
# Copyright (C) - IPFire Development Team <info@ipfire.org> #
|
|
###############################################################################
|
|
|
|
name = libjpeg
|
|
version = 2.1.4
|
|
release = 1
|
|
thisapp = libjpeg-turbo-%{version}
|
|
|
|
groups = System/Libraries
|
|
url = https://sourceforge.net/projects/libjpeg-turbo
|
|
license = wxWidgets
|
|
summary = A MMX/SSE2 accelerated library for manipulating JPEG image files.
|
|
|
|
description
|
|
The libjpeg-turbo-utils package contains simple client programs for
|
|
accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran,
|
|
rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format.
|
|
Djpeg decompresses a JPEG file into a regular image file. Jpegtran
|
|
can perform various useful transformations on JPEG files. Rdjpgcom
|
|
displays any text comments included in a JPEG file. Wrjpgcom inserts
|
|
text comments into a JPEG file.
|
|
end
|
|
|
|
source_dl = https://sourceforge.net/projects/libjpeg-turbo/files/%{version}/
|
|
|
|
build
|
|
requires
|
|
cmake
|
|
gcc-c++
|
|
nasm
|
|
end
|
|
|
|
# NASM object files are missing GNU Property note for Intel CET,
|
|
# force it on the resulting library
|
|
LDFLAGS +="-Wl,-z,ibt -Wl,-z,shstk"
|
|
|
|
export LD_LIBRARY_PATH = %{DIR_APP}
|
|
|
|
build
|
|
%{cmake} . \
|
|
-DCMAKE_SKIP_RPATH:BOOL=YES \
|
|
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
|
|
-DENABLE_STATIC:BOOL=NO
|
|
|
|
make %{PARALLELISMFLAGS}
|
|
end
|
|
|
|
test
|
|
make test
|
|
end
|
|
end
|
|
|
|
packages
|
|
package %{name}
|
|
|
|
package %{name}-devel
|
|
template DEVEL
|
|
|
|
files += !%{libdir}/libturbojpeg.so
|
|
end
|
|
|
|
package %{name}-debuginfo
|
|
template DEBUGINFO
|
|
end
|
|
end
|