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

recipes/utils/audiofile/PAGBUILD.yaml main

50 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
pkgname: audiofile
pkgver: '0.3.6'
pkgrel: '7'
pkgdesc: 'Silicon Graphics Audio File Library'
url: 'https://audiofile.68k.org/'
arch: x86_64
depends: []
makedepends:
- 'alsa-lib'
- flac

source:
- 'https://audiofile.68k.org/${pkgname}-${pkgver}.tar.gz'
- '01_gcc6.patch'
- '03_CVE-2015-7747.patch'
- '04_clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch'
- '05_Always-check-the-number-of-coefficients.patch'
- '06_Check-for-multiplication-overflow-in-MSADPCM-decodeSam.patch'
- '07_Check-for-multiplication-overflow-in-sfconvert.patch'
- '09_Actually-fail-when-error-occurs-in-parseFormat.patch'
- '10_Check-for-division-by-zero-in-BlockCodec-runPull.patch'

sha256sums:
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  patch -Np1 -i ../01_gcc6.patch
  patch -Np1 -i ../03_CVE-2015-7747.patch
  patch -Np1 -i ../04_clamp-index-values-to-fix-index-overflow-in-IMA.cpp.patch
  patch -Np1 -i ../05_Always-check-the-number-of-coefficients.patch
  patch -Np1 -i ../06_Check-for-multiplication-overflow-in-MSADPCM-decodeSam.patch
  patch -Np1 -i ../07_Check-for-multiplication-overflow-in-sfconvert.patch
  patch -Np1 -i ../09_Actually-fail-when-error-occurs-in-parseFormat.patch
  patch -Np1 -i ../10_Check-for-division-by-zero-in-BlockCodec-runPull.patch

  ./configure --prefix=/usr
  make
  make DESTDIR=${PKGDIR} install

package: |
  true