mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
x264: update to 20141218.2245.
This commit is contained in:
parent
3150143fc5
commit
d5bd189ab3
1 changed files with 5 additions and 5 deletions
|
@ -1,27 +1,27 @@
|
||||||
# Template file for 'x264'
|
# Template file for 'x264'
|
||||||
pkgname=x264
|
pkgname=x264
|
||||||
_snap_date=20140928
|
_snap_date=20141218
|
||||||
_snap_rev=2245
|
_snap_rev=2245
|
||||||
version="${_snap_date}.${_snap_rev}"
|
version="${_snap_date}.${_snap_rev}"
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="x264-snapshot-${_snap_date}-${_snap_rev}-stable"
|
wrksrc="x264-snapshot-${_snap_date}-${_snap_rev}-stable"
|
||||||
hostmakedepends="yasm"
|
hostmakedepends="yasm perl"
|
||||||
short_desc="Free library for encoding H264/AVC video streams"
|
short_desc="Free library for encoding H264/AVC video streams"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://www.videolan.org/developers/x264.html"
|
homepage="http://www.videolan.org/developers/x264.html"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${_snap_date}-${_snap_rev}-stable.tar.bz2"
|
distfiles="http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${_snap_date}-${_snap_rev}-stable.tar.bz2"
|
||||||
checksum=2c30a479989c9bc98629a49208505e9c99c81e3f4b7b0fbd087dfb5395b872df
|
checksum=3519e8fa3399845c7d2248d0a7297a923ac6bdc78d0ec15e85026e810670e1be
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
if [ "$XBPS_TARGET_MACHINE" != "i686" -o "$XBPS_TARGET_MACHINE" != "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "armv6hf" ]; then
|
||||||
args+=" --disable-asm"
|
args+=" --disable-asm"
|
||||||
fi
|
fi
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
args+=" --host=$XBPS_CROSS_TRIPLET"
|
args+=" --host=$XBPS_CROSS_TRIPLET"
|
||||||
fi
|
fi
|
||||||
./configure --prefix=/usr --disable-swscale --enable-static \
|
./configure --prefix=/usr --disable-swscale --enable-static \
|
||||||
--enable-pic --enable-shared --disable-opencl ${args}
|
--enable-pic --enable-shared ${args}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue