opt/lcms2/Pkgfile
Juergen Daubert 16fc8ec732 [notify] lcms2: update to 2.15, new build system meson
by the use of the meson build system the libtool file
liblcms2 is no longer available. Rebuild other libs or
progs that use this file:

  for f in $(grep -lrs liblcms2.la /usr/lib); do \
    pkginfo -o $f | awk '!/^(Package|pkginfo)/ {print $1}' \
  done | sort -u
2023-03-02 10:22:17 +01:00

25 lines
624 B
Plaintext

# Description: Little CMS intends to be an small-footprint color management engine
# URL: http://www.littlecms.com/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: libtiff
name=lcms2
version=2.15
release=1
source=(http://downloads.sourceforge.net/project/lcms/lcms/${version:0:4}/$name-$version.tar.gz)
build() {
echo 'install_man(psicc_man)' >> \
$name-$version/utils/psicc/meson.build
meson setup build $name-$version \
--prefix=/usr \
--buildtype=plain \
--wrap-mode nodownload \
-D b_lto=true \
-D b_pie=true
meson compile -C build -j ${JOBS:-1}
DESTDIR=$PKG meson install -C build
}