update libjpeg-turbo.spec.
Signed-off-by: dpd <doupengda@loongson.cn>
This commit is contained in:
parent
f363698230
commit
b9d8cda418
@ -5,7 +5,9 @@ Summary: MMX/SSE2/SIMD accelerated libjpeg-compatible JPEG codec library
|
|||||||
License: IJG
|
License: IJG
|
||||||
URL: http://sourceforge.net/projects/libjpeg-turbo
|
URL: http://sourceforge.net/projects/libjpeg-turbo
|
||||||
Source0: http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz
|
Source0: http://downloads.sourceforge.net/libjpeg-turbo/libjpeg-turbo-%{version}.tar.gz
|
||||||
|
%ifarch loongarch64
|
||||||
Patch0001: Add-loongarch64.patch
|
Patch0001: Add-loongarch64.patch
|
||||||
|
%endif
|
||||||
|
|
||||||
BuildRequires: gcc cmake libtool nasm
|
BuildRequires: gcc cmake libtool nasm
|
||||||
BuildRequires: guile
|
BuildRequires: guile
|
||||||
@ -59,9 +61,6 @@ manipulate JPEG files using the TurboJPEG library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
%ifnarch loongarch64
|
|
||||||
%patch0001 -R -p1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{cmake} -DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DENABLE_STATIC:BOOL=NO .
|
%{cmake} -DCMAKE_SKIP_RPATH:BOOL=YES -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DENABLE_STATIC:BOOL=NO .
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user