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

recipes/utils/openh264/PAGBUILD.yaml main

30 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930
pkgname: openh264
pkgver: '2.6.0'
pkgrel: '1'
pkgdesc: 'H.264 encoder and decoder'
url: 'https://www.openh264.org/'
arch: x86_64
license:
- 'BSD-2-Clause'

depends: []
makedepends:
- nasm

source:
- 'https://github.com/cisco/openh264/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  make -C ${pkgname}-${pkgver}

  make -C ${pkgname}-${pkgver} DESTDIR=${PKGDIR} PREFIX="/usr" install-shared

  install -D -m755 ${pkgname}-${pkgver}/h264{dec,enc} -t ${PKGDIR}/usr/bin
  install -D -m644 ${pkgname}-${pkgver}/LICENSE -t \
  ${PKGDIR}/usr/share/licenses/${pkgname}

package: |
  true