mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-23 18:14:51 +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:
|
||||
# https://sourceforge.net/p/freeimage/discussion/36110/thread/605ef8e4/
|
||||
# Linked patch is not compatible with the libwebp version that freeimage uses.
|
||||
|
||||
pkgname=freeimage
|
||||
pkgver=3.17.0
|
||||
pkgver=3.18.0
|
||||
pkgrel=1
|
||||
pkgdesc="Library project for developers who would like to support popular graphics image formats."
|
||||
arch=('x86_64')
|
||||
license=('GPL' 'custom:FIPL')
|
||||
url="http://freeimage.sourceforge.net/"
|
||||
depends=('gcc-libs')
|
||||
makedepends=('hd2u' 'clang')
|
||||
depends=('libjpeg-turbo' 'openexr' 'openjpeg2' 'libwebp' 'libraw' 'jxrlib')
|
||||
makedepends=('mesa' 'glu')
|
||||
categories=('programming')
|
||||
source=(
|
||||
"http://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
|
||||
md5sums=('1a2d1fff6204adbd479cc98818892fc1')
|
||||
source=("https://downloads.sourceforge.net/project/freeimage/Source%20Distribution/${pkgver}/FreeImage${pkgver//./}.zip")
|
||||
md5sums=('f8ba138a3be233a3eed9c456e42e2578')
|
||||
|
||||
build() {
|
||||
cp -r FreeImage FreeImagefip
|
||||
|
||||
export CC="clang"
|
||||
export CXX="clang++"
|
||||
|
||||
cd FreeImage
|
||||
make
|
||||
|
||||
cd ${srcdir}/FreeImagefip
|
||||
sh gensrclist.sh
|
||||
sh genfipsrclist.sh
|
||||
make -f Makefile.gnu
|
||||
make -f Makefile.fip
|
||||
}
|
||||
|
||||
package() {
|
||||
cd FreeImage
|
||||
make DESTDIR=$pkgdir install
|
||||
make -f Makefile.gnu DESTDIR=${pkgdir} install
|
||||
make -f Makefile.fip DESTDIR=${pkgdir} install
|
||||
|
||||
cd $srcdir/FreeImagefip
|
||||
make -f Makefile.fip DESTDIR=$pkgdir install
|
||||
|
||||
# License
|
||||
install -D -m644 $srcdir/FreeImage/license-fi.txt \
|
||||
$pkgdir/usr/share/licenses/$pkgname/license-fi.txt
|
||||
install -D -m644 ${srcdir}/FreeImage/license-fi.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
||||
md5sums=('459e15f0ec75d6efa3c7bd63277ead86')
|
||||
|
Loading…
Reference in New Issue
Block a user