[arch-commits] Commit in x264/repos (4 files)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Thu Mar 27 09:47:49 UTC 2014
Date: Thursday, March 27, 2014 @ 10:47:49
Author: bpiotrowski
Revision: 208806
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
x264/repos/testing-i686/PKGBUILD
(from rev 208805, x264/trunk/PKGBUILD)
x264/repos/testing-x86_64/PKGBUILD
(from rev 208805, x264/trunk/PKGBUILD)
Deleted:
x264/repos/testing-i686/PKGBUILD
x264/repos/testing-x86_64/PKGBUILD
-------------------------+
/PKGBUILD | 80 ++++++++++++++++++++++++++++++++++++++++++++++
testing-i686/PKGBUILD | 36 --------------------
testing-x86_64/PKGBUILD | 36 --------------------
3 files changed, 80 insertions(+), 72 deletions(-)
Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD 2014-03-27 09:47:40 UTC (rev 208805)
+++ testing-i686/PKGBUILD 2014-03-27 09:47:49 UTC (rev 208806)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-# Contributor: Paul Mattal <paul at archlinux.org>
-
-pkgname=x264
-pkgver=20140311
-pkgrel=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=aff928d2)
-md5sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git log -1 --format="%cd" --date=short | tr -d -
-}
-
-build() {
- cd $pkgname
-
- ./configure --prefix=/usr \
- --enable-shared \
- --enable-pic
-
- make
-}
-
-package() {
- make -C $pkgname DESTDIR="$pkgdir" install
-}
Copied: x264/repos/testing-i686/PKGBUILD (from rev 208805, x264/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2014-03-27 09:47:49 UTC (rev 208806)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=x264
+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=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 \
+ --enable-pic
+
+ make
+}
+
+package() {
+ make -C $pkgname DESTDIR="$pkgdir" install
+}
Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD 2014-03-27 09:47:40 UTC (rev 208805)
+++ testing-x86_64/PKGBUILD 2014-03-27 09:47:49 UTC (rev 208806)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-# Contributor: Paul Mattal <paul at archlinux.org>
-
-pkgname=x264
-pkgver=20140311
-pkgrel=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=aff928d2)
-md5sums=('SKIP')
-
-pkgver() {
- cd $pkgname
- git log -1 --format="%cd" --date=short | tr -d -
-}
-
-build() {
- cd $pkgname
-
- ./configure --prefix=/usr \
- --enable-shared \
- --enable-pic
-
- make
-}
-
-package() {
- make -C $pkgname DESTDIR="$pkgdir" install
-}
Copied: x264/repos/testing-x86_64/PKGBUILD (from rev 208805, x264/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2014-03-27 09:47:49 UTC (rev 208806)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=x264
+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=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 \
+ --enable-pic
+
+ make
+}
+
+package() {
+ make -C $pkgname DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list