mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
[skip-ci] freeimage: update to 3.18.0
This commit is contained in:
parent
995df581ba
commit
e6d606705c
@ -1,45 +1,32 @@
|
|||||||
# Maintainer: UtG <utg.chakra.linux[AT]gmail[dot]com>
|
|
||||||
|
|
||||||
# Note: Using clang due to the following issue with latest GCC:
|
# Note: Using clang due to the following issue with latest GCC:
|
||||||
# https://sourceforge.net/p/freeimage/discussion/36110/thread/605ef8e4/
|
# https://sourceforge.net/p/freeimage/discussion/36110/thread/605ef8e4/
|
||||||
# Linked patch is not compatible with the libwebp version that freeimage uses.
|
# Linked patch is not compatible with the libwebp version that freeimage uses.
|
||||||
|
|
||||||
pkgname=freeimage
|
pkgname=freeimage
|
||||||
pkgver=3.17.0
|
pkgver=3.18.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="Library project for developers who would like to support popular graphics image formats."
|
pkgdesc="Library project for developers who would like to support popular graphics image formats."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('GPL' 'custom:FIPL')
|
license=('GPL' 'custom:FIPL')
|
||||||
url="http://freeimage.sourceforge.net/"
|
url="http://freeimage.sourceforge.net/"
|
||||||
depends=('gcc-libs')
|
depends=('libjpeg-turbo' 'openexr' 'openjpeg2' 'libwebp' 'libraw' 'jxrlib')
|
||||||
makedepends=('hd2u' 'clang')
|
makedepends=('mesa' 'glu')
|
||||||
categories=('programming')
|
categories=('programming')
|
||||||
source=(
|
source=("https://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
|
||||||
"http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
|
md5sums=('f8ba138a3be233a3eed9c456e42e2578')
|
||||||
md5sums=('1a2d1fff6204adbd479cc98818892fc1')
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cp -r FreeImage FreeImagefip
|
|
||||||
|
|
||||||
export CC="clang"
|
|
||||||
export CXX="clang++"
|
|
||||||
|
|
||||||
cd FreeImage
|
cd FreeImage
|
||||||
make
|
sh gensrclist.sh
|
||||||
|
sh genfipsrclist.sh
|
||||||
cd ${srcdir}/FreeImagefip
|
make -f Makefile.gnu
|
||||||
make -f Makefile.fip
|
make -f Makefile.fip
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd FreeImage
|
cd FreeImage
|
||||||
make DESTDIR=$pkgdir install
|
make -f Makefile.gnu DESTDIR=${pkgdir} install
|
||||||
|
make -f Makefile.fip DESTDIR=${pkgdir} install
|
||||||
|
|
||||||
cd $srcdir/FreeImagefip
|
install -D -m644 ${srcdir}/FreeImage/license-fi.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||||
make -f Makefile.fip DESTDIR=$pkgdir install
|
|
||||||
|
|
||||||
# License
|
|
||||||
install -D -m644 $srcdir/FreeImage/license-fi.txt \
|
|
||||||
$pkgdir/usr/share/licenses/$pkgname/license-fi.txt
|
|
||||||
}
|
}
|
||||||
md5sums=('459e15f0ec75d6efa3c7bd63277ead86')
|
|
||||||
|
Loading…
Reference in New Issue
Block a user