🔒 Repository is read-only – file editing is disabled.

recipes/gui/argyllcms/PAGBUILD.yaml main

40 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940
pkgname: argyllcms
pkgver: '3.3.0'
pkgrel: '1'
pkgdesc: An ICC compatible color management system with support for different colorimeter hardware
url: 'https://www.argyllcms.com/'
arch: x86_64
depends: []
makedepends:
- ftjam
- libpng
- libtiff
- xorg-libxinerama
- xorg-libxrandr
- xorg-libxscrnsaver
- xorg-libxxf86vm
- zstd
source:
- 'https://www.argyllcms.com/Argyll_V${pkgver}_src.zip'
sha256sums:
- 69db1c9ef66f8cacbbbab4ed9910147de6100c3afd17a0a8c12e6525b778e8ce
build: |
  cd Argyll_V${pkgver}
      # Use hwdb builtin, instead of the obsolete usb-db in the udev rules.
      sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' usb/55-Argyll.rules

    echo "LINKFLAGS += ${LDFLAGS} ;" >> Jamtop
    CCOPTFLAG="$CFLAGS"

    jam -q -fJambase ${MAKEFLAGS} -sPREFIX=/usr -sDESTDIR=${PKGDIR} -sREFSUBDIR=share/argyllcms/ref all
    jam -q -fJambase ${MAKEFLAGS} -sPREFIX=/usr -sDESTDIR=${PKGDIR} -sREFSUBDIR=share/argyllcms/ref install

      rm -f ${PKGDIR}/usr/bin/License.txt

      rm -f {doc,ref}/afiles
      install -Dm644 doc/*.* -t ${PKGDIR}/usr/share/${pkgname}/doc/
      install -Dm644 doc/ccmxs/*.ccmx -t ${PKGDIR}/usr/share/${pkgname}/doc/ccmxs/

      install -Dm644 usb/55-Argyll.rules -t ${PKGDIR}/usr/lib/udev/rules.d/
package: |
  true