[arch-commits] Commit in x264/trunk (PKGBUILD)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Jul 26 16:15:27 UTC 2014


    Date: Saturday, July 26, 2014 @ 18:15:27
  Author: bpiotrowski
Revision: 218195

upgpkg: x264 1:142.20140311-5

remove x264's dependency on libx264

Modified:
  x264/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-07-26 14:51:47 UTC (rev 218194)
+++ PKGBUILD	2014-07-26 16:15:27 UTC (rev 218195)
@@ -6,7 +6,7 @@
 
 pkgname=('x264' 'libx264' 'libx264-10bit')
 pkgver=142.20140311
-pkgrel=4
+pkgrel=5
 epoch=1
 arch=('i686' 'x86_64')
 url='http://www.videolan.org/developers/x264.html'
@@ -16,11 +16,6 @@
 source=(git://git.videolan.org/x264.git#commit=b7a50c16)
 md5sums=('SKIP')
 
-prepare() {
-  sed -i 's/install-lib-dev$//g' $pkgname/Makefile
-  cp -r $pkgname $pkgname-10bit
-}
-
 pkgver() {
   cd $pkgname
   local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3)
@@ -29,6 +24,11 @@
   echo ${_ver}.${_date}
 }
 
+prepare() {
+  sed -i 's/install-lib-dev$//g' $pkgname/Makefile
+  cp -r $pkgname $pkgname-10bit
+}
+
 build() {
   cd $pkgname
   ./configure --prefix=/usr \
@@ -43,8 +43,8 @@
 }
 
 package_x264() {
-  pkgdesc='CLI tools for encoding H264/AVC video streams.'
-  depends=('glibc' 'libx264')
+  pkgdesc='CLI tools for encoding H264/AVC video streams'
+  depends=('glibc')
   provides=('x264-dev' 'x264-10bit')
   conflicts=('x264-dev' 'x264-10bit')
   replaces=('x264-dev' 'x264-10bit')
@@ -54,7 +54,7 @@
 }
 
 package_libx264() {
-  pkgdesc='Library for encoding H264/AVC video streams.'
+  pkgdesc='Library for encoding H264/AVC video streams'
   depends=('glibc')
 
   install -d "$pkgdir"/usr/lib




More information about the arch-commits mailing list