]> git.ipfire.org Git - ipfire-3.x.git/blame - libjpeg/libjpeg.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / libjpeg / libjpeg.nm
CommitLineData
3b878b6f 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
3b878b6f
SS
4###############################################################################
5
8ed466cd 6name = libjpeg
831bb895 7version = 2.1.4
2cba7dba 8release = 1
8ed466cd 9thisapp = libjpeg-turbo-%{version}
70e0de8a 10
802ea3af 11groups = System/Libraries
e14a82a1 12url = https://sourceforge.net/projects/libjpeg-turbo
802ea3af
MT
13license = wxWidgets
14summary = A MMX/SSE2 accelerated library for manipulating JPEG image files.
70e0de8a 15
802ea3af 16description
334b5987
SS
17 The libjpeg-turbo-utils package contains simple client programs for
18 accessing the libjpeg functions. It contains cjpeg, djpeg, jpegtran,
19 rdjpgcom and wrjpgcom. Cjpeg compresses an image file into JPEG format.
20 Djpeg decompresses a JPEG file into a regular image file. Jpegtran
21 can perform various useful transformations on JPEG files. Rdjpgcom
22 displays any text comments included in a JPEG file. Wrjpgcom inserts
70e0de8a 23 text comments into a JPEG file.
802ea3af
MT
24end
25
e14a82a1 26source_dl = https://sourceforge.net/projects/libjpeg-turbo/files/%{version}/
802ea3af
MT
27
28build
29 requires
831bb895 30 cmake
802ea3af 31 gcc-c++
802ea3af
MT
32 nasm
33 end
34
831bb895
SS
35 # NASM object files are missing GNU Property note for Intel CET,
36 # force it on the resulting library
37 LDFLAGS +="-Wl,-z,ibt -Wl,-z,shstk"
802ea3af 38
831bb895
SS
39 export LD_LIBRARY_PATH = %{DIR_APP}
40
41 build
42 %{cmake} . \
43 -DCMAKE_SKIP_RPATH:BOOL=YES \
44 -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
45 -DENABLE_STATIC:BOOL=NO
46
47 make %{PARALLELISMFLAGS}
48 end
49
50 test
51 make test
802ea3af 52 end
802ea3af
MT
53end
54
55packages
56 package %{name}
1f9bc2f0 57
802ea3af
MT
58 package %{name}-devel
59 template DEVEL
8ed466cd 60
67c2f986 61 files += !%{libdir}/libturbojpeg.so
802ea3af 62 end
1f9bc2f0
MT
63
64 package %{name}-debuginfo
65 template DEBUGINFO
66 end
802ea3af 67end