Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : freeimage | name : freeimage | ||||
| version : 3.18.0 | version : 3.18.0 | ||||
| release : 4 | release : 5 | ||||
| source : | source : | ||||
| - https://netcologne.dl.sourceforge.net/project/freeimage/Source%20Distribution/3.18.0/FreeImage3180.zip : f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd | - https://netcologne.dl.sourceforge.net/project/freeimage/Source%20Distribution/3.18.0/FreeImage3180.zip : f41379682f9ada94ea7b34fe86bf9ee00935a3147be41b6569c9605a53e438fd | ||||
| license : GPL-2.0-or-later | license : GPL-2.0-or-later | ||||
| component : multimedia.library | component : multimedia.library | ||||
| summary : Library to support graphics image formats. | summary : Library to support graphics image formats. | ||||
| description: | | description: | | ||||
| FreeImage is a library project for developers who would like to support popular graphics image formats (PNG, JPEG, TIFF, BMP and others). | FreeImage is a library project for developers who would like to support popular graphics image formats (PNG, JPEG, TIFF, BMP and others). | ||||
| builddeps : | builddeps : | ||||
| Show All 11 Lines | |||||
| setup : | | setup : | | ||||
| %apply_patches | %apply_patches | ||||
| # remove all included libs to make sure these don't get used during compile | # remove all included libs to make sure these don't get used during compile | ||||
| rm -r Source/Lib* Source/ZLib Source/OpenEXR | rm -r Source/Lib* Source/ZLib Source/OpenEXR | ||||
| # clear files which cannot be built due to dependencies on private headers | # clear files which cannot be built due to dependencies on private headers | ||||
| # (see also unbundle patch) | # (see also unbundle patch) | ||||
| > Source/FreeImage/PluginG3.cpp | true > Source/FreeImage/PluginG3.cpp | ||||
| > Source/FreeImageToolkit/JPEGTransform.cpp | true > Source/FreeImageToolkit/JPEGTransform.cpp | ||||
| # sanitize encodings / line endings | # sanitize encodings / line endings | ||||
| for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile`; do | for file in `find . -type f -name '*.c' -or -name '*.cpp' -or -name '*.h' -or -name '*.txt' -or -name Makefile`; do | ||||
| iconv --from=ISO-8859-15 --to=UTF-8 $file > $file.new && \ | iconv --from=ISO-8859-15 --to=UTF-8 $file > $file.new && \ | ||||
| sed -i 's|\r||g' $file.new && \ | sed -i 's|\r||g' $file.new && \ | ||||
| touch -r $file $file.new && mv $file.new $file | touch -r $file $file.new && mv $file.new $file | ||||
| done | done | ||||
| build : | | build : | | ||||
| sh gensrclist.sh | sh gensrclist.sh | ||||
| sh genfipsrclist.sh | sh genfipsrclist.sh | ||||
| %make -f Makefile.gnu | %make -f Makefile.gnu | ||||
| %make -f Makefile.fip | %make -f Makefile.fip | ||||
| pushd Wrapper/FreeImagePlus/doc | pushd Wrapper/FreeImagePlus/doc | ||||
| doxygen FreeImagePlus.dox | doxygen FreeImagePlus.dox | ||||
| popd | popd | ||||
| install : | | install : | | ||||
| %make_install -f Makefile.gnu | %make_install -f Makefile.gnu | ||||
| %make_install -f Makefile.fip | %make_install -f Makefile.fip | ||||
| ldconfig -n %installroot%%libdir% | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.