mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:24:37 +08:00
34 lines
815 B
Bash
34 lines
815 B
Bash
# Maintainer: almack[at]chakraos[dot]org>
|
|
|
|
pkgname=libvpx
|
|
pkgver=1.3.0
|
|
pkgrel=1
|
|
pkgdesc="The VP8 Codec SDK"
|
|
arch=('x86_64')
|
|
url="http://www.webmproject.org/"
|
|
license=('BSD')
|
|
depends=('glibc')
|
|
makedepends=('yasm' 'git')
|
|
source=("$pkgname-v$pkgver"::git+http://code.google.com/p/webm.libvpx#tag=v$pkgver)
|
|
md5sums=('SKIP')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-v${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--enable-vp8 \
|
|
--enable-vp9 \
|
|
--enable-runtime-cpu-detect \
|
|
--enable-shared \
|
|
--enable-postproc \
|
|
--enable-pic \
|
|
--disable-install-docs \
|
|
--disable-install-srcs
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-v${pkgver}"
|
|
make DIST_DIR="$pkgdir/usr" install
|
|
install -Dm 0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|