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

recipes/gui/libplacebo/PAGBUILD.yaml main

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: libplacebo
pkgver: '7.360.1'
pkgrel: '1'
pkgdesc: 'Reusable library for GPU-accelerated video/image rendering primitives'
url: 'https://github.com/haasn/libplacebo'
arch: x86_64
license:
- 'LGPL2.2'

depends: []
makedepends:
- glad
- ffmpeg
- glslang
- 'vulkan-icd-loader'
- lcms2

source:
- 'fix_glslang_linking.patch'
- 'https://github.com/haasn/libplacebo/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  patch -Np1 < ./fix_glslang_linking.patch
  meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -D b_pie=true . builddir -Dtests=true -Ddemos=false
  meson compile -C builddir
  DESTDIR=${PKGDIR} meson install -C builddir

package: |
  install -Dm644 ${pkgname}-${pkgver}/LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE