41 lines
1.6 KiB
YAML
41 lines
1.6 KiB
YAML
name : libim
|
|
version : 3.15
|
|
release : 1
|
|
source :
|
|
- https://sourceforge.net/projects/imtoolkit/files/3.15/Docs%20and%20Sources/im-3.15_Sources.zip : 3d46af9ed19b41fc0cbeb52c2b5983bb04b6da60a0990819ffe3fcc39f6ffe96
|
|
homepage : https://imtoolkit.sourceforge.net/
|
|
license : MIT
|
|
component : multimedia.library
|
|
summary : IM is a toolkit for Digital Imaging
|
|
description: |
|
|
IM is based on 4 concepts: Image Representation, Storage, Processing and Capture. The main goal of the library is to provide a simple API and abstraction of images for scientific applications.
|
|
The most popular file formats are supported: TIFF, BMP, PNG, JPEG, GIF and AVI. Image representation includes scientific data types, and about a hundred Image Processing operations are available.
|
|
builddeps :
|
|
- pkgconfig(fftw3)
|
|
- pkgconfig(lua)
|
|
- pkgconfig(libpng)
|
|
- lsb-release
|
|
patterns :
|
|
- lua :
|
|
- /usr/lib64/libimlua*.so
|
|
- /usr/lib64/*.so
|
|
- devel :
|
|
- /usr/include
|
|
- /usr/lib64/libim*.a
|
|
environment:
|
|
export USE_PKGCONFIG=Yes
|
|
export USE_LUA53=Yes
|
|
export LUA_INC=/usr/include
|
|
export LUA_LIB=/usr/lib
|
|
export LUA_BIN=/usr/bin/lua
|
|
setup : |
|
|
%patch -p1 < $pkgfiles/without-lua-prefix-with-linux6.patch
|
|
build : |
|
|
%make -j1
|
|
install : |
|
|
install -dm00755 $installdir/usr/lib64
|
|
install -Dm00755 lib/Linux61_64/{*.so,*.a} $installdir/usr/lib64/
|
|
install -Dm00755 lib/Linux61_64/Lua/{*.so,*.a} $installdir/usr/lib64/
|
|
install -dm00755 $installdir/usr/include
|
|
install -m00755 include/* $installdir/usr/include
|