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

recipes/utils/libtheora/PAGBUILD.yaml main

27 linii Raw ← Powrót
123456789101112131415161718192021222324252627
pkgname: libtheora
pkgver: '1.2.0'
pkgrel: '1'
pkgdesc: 'An open video codec developed by the Xiph.org'
url: 'https://www.xiph.org'
arch: x86_64
depends: []
makedepends:
- libogg
- libvorbis

source:
- 'https://downloads.xiph.org/releases/theora/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  sed -i 's/png_\(sizeof\)/\1/g' examples/png2theora.c
  ./configure --prefix=/usr --disable-static
  make
  make DESTDIR=${PKGDIR} install
  rm -f ${PKGDIR}/usr/lib/${pkgname}{,dec,enc}.la

package: |
  true