Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : gd | name : gd | ||||
| version : 2.3.0 | version : 2.3.0 | ||||
| release : 14 | release : 15 | ||||
| source : | source : | ||||
| - https://github.com/libgd/libgd/releases/download/gd-2.3.0/libgd-2.3.0.tar.xz : ecd9155b9a417fb3f837f29e5966323796de247789163761dd72dbf83bfcac58 | - https://github.com/libgd/libgd/releases/download/gd-2.3.0/libgd-2.3.0.tar.xz : ecd9155b9a417fb3f837f29e5966323796de247789163761dd72dbf83bfcac58 | ||||
| license : BSD-3-Clause | license : BSD-3-Clause | ||||
| component : multimedia.graphics | component : multimedia.graphics | ||||
| summary : GD Graphics Library | summary : GD Graphics Library | ||||
| description: | | description: | | ||||
| GD is an open source code library for the dynamic creation of images by programmers. | GD is an open source code library for the dynamic creation of images by programmers. | ||||
| emul32 : yes | emul32 : yes | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig32(fontconfig) | - pkgconfig32(fontconfig) | ||||
| - pkgconfig32(freetype2) | - pkgconfig32(freetype2) | ||||
| - pkgconfig32(libpng) | - pkgconfig32(libpng) | ||||
| - pkgconfig32(x11) | - pkgconfig32(x11) | ||||
| - pkgconfig32(libtiff-4) | - pkgconfig32(libtiff-4) | ||||
| - pkgconfig32(libturbojpeg) | - pkgconfig32(libturbojpeg) | ||||
| - pkgconfig32(libwebp) | - pkgconfig32(libwebp) | ||||
| - pkgconfig32(raqm) | |||||
| - pkgconfig32(vpx) | - pkgconfig32(vpx) | ||||
| - pkgconfig32(xpm) | - pkgconfig32(xpm) | ||||
| - pkgconfig32(zlib) | - pkgconfig32(zlib) | ||||
| setup : | | setup : | | ||||
| cp $pkgfiles/getlib.sh config | cp $pkgfiles/getlib.sh config | ||||
| %patch -p1 < $pkgfiles/fix-gd-gd2-images-support.patch | %patch -p1 < $pkgfiles/fix-gd-gd2-images-support.patch | ||||
| %patch -p1 < $pkgfiles/enable-all-formats-cmake.patch | %patch -p1 < $pkgfiles/enable-all-formats-cmake.patch | ||||
| %cmake_ninja | %cmake_ninja -DCMAKE_INSTALL_LIBDIR=lib%LIBSUFFIX% | ||||
| build : | | build : | | ||||
| %ninja_build | %ninja_build | ||||
| install : | | install : | | ||||
| %ninja_install | %ninja_install | ||||
| if [[ -z "${EMUL32BUILD}" ]]; then | |||||
| mv $installdir/usr/lib $installdir/usr/lib32 | |||||
| fi | |||||
| rm -rf $installdir/usr/share | rm -rf $installdir/usr/share | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.