mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/x264 to 142.20140311-1
This commit is contained in:
parent
93e17d7453
commit
1b270dfaf6
1 changed files with 17 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
# $Id$
|
||||
# Maintainer: Ionut Biru <ibiru@archlinux.org>
|
||||
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
|
||||
# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||
# Contributor: damir <damir@archlinux.org>
|
||||
# Contributor: Paul Mattal <paul@archlinux.org>
|
||||
|
||||
|
@ -8,30 +8,37 @@
|
|||
# - configure needs --disable-asm to build on ARM
|
||||
|
||||
pkgname=x264
|
||||
pkgver=20131030
|
||||
pkgrel=2
|
||||
pkgver=142.20140311
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc='Library for encoding H264/AVC video streams'
|
||||
arch=('i686' 'x86_64')
|
||||
url='http://www.videolan.org/developers/x264.html'
|
||||
license=('GPL')
|
||||
depends=('glibc')
|
||||
makedepends=('yasm' 'git')
|
||||
source=(git://git.videolan.org/x264.git#commit=c628e3bac)
|
||||
source=(git://git.videolan.org/x264.git#commit=aff928d2)
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd $pkgname
|
||||
local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3)
|
||||
local _date=$(git log -1 --format="%cd" --date=short | tr -d -)
|
||||
|
||||
echo ${_ver}.${_date}
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname
|
||||
|
||||
./configure --prefix=/usr \
|
||||
--enable-shared \
|
||||
--disable-asm \
|
||||
--enable-pic
|
||||
--enable-pic \
|
||||
--disable-asm
|
||||
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
make -C $pkgname DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue