mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
x264: fixed version in pkg-config file.
This commit is contained in:
parent
d4d693c14a
commit
f92185df66
2 changed files with 7 additions and 6 deletions
|
@ -3,20 +3,19 @@ pkgname=x264
|
||||||
_snap_date=20120126
|
_snap_date=20120126
|
||||||
_snap_rev=2245
|
_snap_rev=2245
|
||||||
version="${_snap_date}.${_snap_rev}"
|
version="${_snap_date}.${_snap_rev}"
|
||||||
|
revision=2
|
||||||
|
subpackages="x264-devel"
|
||||||
wrksrc="x264-snapshot-${_snap_date}-${_snap_rev}-stable"
|
wrksrc="x264-snapshot-${_snap_date}-${_snap_rev}-stable"
|
||||||
distfiles="http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-${_snap_date}-${_snap_rev}-stable.tar.bz2"
|
|
||||||
makedepends="yasm"
|
makedepends="yasm"
|
||||||
revision=1
|
|
||||||
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"
|
||||||
checksum=6270fcc6e2ef133e4db2b2e0f4f22b5dbdd9a637e979b5697014b698f0d56baa
|
checksum=6270fcc6e2ef133e4db2b2e0f4f22b5dbdd9a637e979b5697014b698f0d56baa
|
||||||
long_desc="
|
long_desc="
|
||||||
Stable snapshot version of x264, a high quality H.264 codec."
|
Stable snapshot version of x264, a high quality H.264 codec."
|
||||||
|
|
||||||
subpackages="$pkgname-devel"
|
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
./configure --disable-swscale --enable-pic --enable-shared
|
./configure --disable-swscale --enable-pic --enable-shared
|
||||||
}
|
}
|
||||||
|
@ -28,4 +27,6 @@ do_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
make DESTDIR=${DESTDIR} \
|
make DESTDIR=${DESTDIR} \
|
||||||
bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install
|
bindir=/usr/bin libdir=/usr/lib includedir=/usr/include install
|
||||||
|
# Set version as 0.120.0 in pkg-config file.
|
||||||
|
sed -i -e "s|0.120.x|0.120.0|g" ${DESTDIR}/usr/lib/pkgconfig/x264.pc
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'x264-devel'.
|
# Template file for 'x264-devel'.
|
||||||
#
|
#
|
||||||
depends="glibc-devel x264"
|
noarch=yes
|
||||||
|
depends="glibc-devel x264>=${version}"
|
||||||
short_desc="${short_desc} (development files)"
|
short_desc="${short_desc} (development files)"
|
||||||
long_desc="${long_desc}
|
long_desc="${long_desc}
|
||||||
|
|
||||||
This package contains files for development, headers, static libs, etc."
|
This package contains files for development, headers, static libs, etc."
|
||||||
|
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vmove usr/include usr
|
vmove usr/include usr
|
||||||
vmove usr/lib/pkgconfig usr/lib
|
vmove usr/lib/pkgconfig usr/lib
|
||||||
|
|
Loading…
Add table
Reference in a new issue