[arch-commits] Commit in x264/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2020-08-04 Thread Maxime Gauduin via arch-commits
Date: Tuesday, August 4, 2020 @ 14:06:39
  Author: alucryd
Revision: 393140

archrelease: copy trunk to staging-x86_64

Added:
  x264/repos/staging-x86_64/
  x264/repos/staging-x86_64/PKGBUILD
(from rev 393139, x264/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: x264/repos/staging-x86_64/PKGBUILD (from rev 393139, 
x264/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-08-04 14:06:39 UTC (rev 393140)
@@ -0,0 +1,63 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Ionut Biru 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: damir 
+# Contributor: Paul Mattal 
+
+pkgname=x264
+pkgver=0.160.r3011.cde9a93
+pkgrel=1
+epoch=3
+pkgdesc='Open Source H264/AVC video encoder'
+arch=(x86_64)
+url=https://www.videolan.org/developers/x264.html
+license=(GPL)
+depends=(
+  liblsmash.so
+)
+makedepends=(
+  git
+  l-smash
+  nasm
+)
+provides=(
+  libx264
+  libx264.so
+)
+conflicts=(
+  libx264
+  libx264-10bit
+  libx264-all
+)
+replaces=(
+  libx264
+  libx264-10bit
+  libx264-all
+)
+_commit=cde9a93319bea766a92e306d69059c76de970190
+source=(git+https://code.videolan.org/videolan/x264.git#commit=${_commit})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd x264
+
+  ./version.sh | grep X264_POINTVER | sed -r 's/^#define X264_POINTVER 
"([0-9]+\.[0-9]+)\.([0-9]+) (.*)"$/\1.r\2.\3/'
+}
+
+build() {
+  cd x264
+
+  ./configure \
+--prefix=/usr \
+--enable-shared \
+--enable-pic \
+--enable-lto \
+--disable-avs
+  make
+}
+
+package() {
+  make -C x264 DESTDIR="${pkgdir}" install-cli install-lib-shared
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in x264/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2019-12-19 Thread Maxime Gauduin via arch-commits
Date: Thursday, December 19, 2019 @ 20:51:54
  Author: alucryd
Revision: 371941

archrelease: copy trunk to staging-x86_64

Added:
  x264/repos/staging-x86_64/
  x264/repos/staging-x86_64/PKGBUILD
(from rev 371940, x264/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: x264/repos/staging-x86_64/PKGBUILD (from rev 371940, 
x264/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-12-19 20:51:54 UTC (rev 371941)
@@ -0,0 +1,62 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Ionut Biru 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: damir 
+# Contributor: Paul Mattal 
+
+pkgname=x264
+pkgver=0.159.r2991.1771b55
+pkgrel=1
+epoch=3
+pkgdesc='Open Source H264/AVC video encoder'
+arch=(x86_64)
+url=https://www.videolan.org/developers/x264.html
+license=(GPL)
+depends=(
+  liblsmash.so
+)
+makedepends=(
+  git
+  l-smash
+  nasm
+)
+provides=(
+  libx264
+  libx264.so
+)
+conflicts=(
+  libx264
+  libx264-10bit
+  libx264-all
+)
+replaces=(
+  libx264
+  libx264-10bit
+  libx264-all
+)
+source=(git+https://code.videolan.org/videolan/x264.git#commit=1771b556ee45207f8711744ccbd5d42a3949b14c)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd x264
+
+  ./version.sh | grep X264_POINTVER | sed -r 's/^#define X264_POINTVER 
"([0-9]+\.[0-9]+)\.([0-9]+) (.*)"$/\1.r\2.\3/'
+}
+
+build() {
+  cd x264
+
+  ./configure \
+--prefix=/usr \
+--enable-shared \
+--enable-pic \
+--enable-lto \
+--disable-avs
+  make
+}
+
+package() {
+  make -C x264 DESTDIR="${pkgdir}" install-cli install-lib-shared
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in x264/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2019-10-24 Thread Maxime Gauduin via arch-commits
Date: Thursday, October 24, 2019 @ 20:27:27
  Author: alucryd
Revision: 365485

archrelease: copy trunk to staging-x86_64

Added:
  x264/repos/staging-x86_64/
  x264/repos/staging-x86_64/PKGBUILD
(from rev 365484, x264/trunk/PKGBUILD)

--+
 PKGBUILD |   61 +
 1 file changed, 61 insertions(+)

Copied: x264/repos/staging-x86_64/PKGBUILD (from rev 365484, 
x264/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-24 20:27:27 UTC (rev 365485)
@@ -0,0 +1,61 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Ionut Biru 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: damir 
+# Contributor: Paul Mattal 
+
+pkgname=x264
+pkgver=0.157.r2980.34c06d1
+pkgrel=1
+epoch=3
+pkgdesc='Open Source H264/AVC video encoder'
+arch=(x86_64)
+url=https://www.videolan.org/developers/x264.html
+license=(GPL)
+depends=(
+  liblsmash.so
+)
+makedepends=(
+  git
+  l-smash
+  nasm
+)
+provides=(
+  libx264
+  libx264.so
+)
+conflicts=(
+  libx264
+  libx264-10bit
+  libx264-all
+)
+replaces=(
+  libx264
+  libx264-10bit
+  libx264-all
+)
+source=(git+https://code.videolan.org/videolan/x264.git#commit=34c06d1c17ad968fbdda153cb772f77ee31b3095)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd x264
+
+  ./version.sh | grep X264_POINTVER | sed -r 's/^#define X264_POINTVER 
"([0-9]+\.[0-9]+)\.([0-9]+) (.*)"$/\1.r\2.\3/'
+}
+
+build() {
+  cd x264
+
+  ./configure \
+--prefix=/usr \
+--enable-shared \
+--enable-pic \
+--enable-lto
+  make
+}
+
+package() {
+  make -C x264 DESTDIR="${pkgdir}" install-cli install-lib-shared
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in x264/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2019-03-27 Thread Maxime Gauduin via arch-commits
Date: Wednesday, March 27, 2019 @ 10:18:03
  Author: alucryd
Revision: 349264

archrelease: copy trunk to staging-x86_64

Added:
  x264/repos/staging-x86_64/
  x264/repos/staging-x86_64/PKGBUILD
(from rev 349263, x264/trunk/PKGBUILD)

--+
 PKGBUILD |   76 +
 1 file changed, 76 insertions(+)

Copied: x264/repos/staging-x86_64/PKGBUILD (from rev 349263, 
x264/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-03-27 10:18:03 UTC (rev 349264)
@@ -0,0 +1,76 @@
+# Maintainer: Maxime Gauduin 
+# Contributor: Ionut Biru 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: damir 
+# Contributor: Paul Mattal 
+
+pkgname=x264
+pkgver=157.r72db4377
+pkgrel=1
+epoch=2
+pkgdesc='Open Source H264/AVC video encoder'
+arch=(x86_64)
+url=https://www.videolan.org/developers/x264.html
+license=(GPL)
+depends=(
+  libavcodec.so
+  libavformat.so
+  libavutil.so
+  liblsmash.so
+  libswscale.so
+)
+makedepends=(
+  git
+  ffmpeg
+  l-smash
+  nasm
+)
+provides=(
+  libx264
+  libx264.so
+)
+conflicts=(
+  libx264
+  libx264-10bit
+  libx264-all
+)
+replaces=(
+  libx264
+  libx264-10bit
+  libx264-all
+)
+source=(git+https://code.videolan.org/videolan/x264.git#commit=72db437770fd1ce3961f624dd57a8e75ff65ae0b)
+sha256sums=(SKIP)
+
+pkgver() {
+  cd x264
+
+  local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3)
+  local _rev=$(git rev-parse --short HEAD)
+
+  echo ${_ver}.r${_rev}
+}
+
+prepare() {
+  if [[ -d build ]]; then
+rm -rf build
+  fi
+  mkdir build
+}
+
+build() {
+  cd build
+
+  ../x264/configure \
+--prefix=/usr \
+--enable-shared \
+--enable-pic \
+--enable-lto
+  make
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install-cli install-lib-shared
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in x264/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2018-08-07 Thread Maxime Gauduin via arch-commits
Date: Tuesday, August 7, 2018 @ 09:14:18
  Author: alucryd
Revision: 331096

archrelease: copy trunk to staging-x86_64

Added:
  x264/repos/staging-x86_64/
  x264/repos/staging-x86_64/PKGBUILD
(from rev 331095, x264/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: x264/repos/staging-x86_64/PKGBUILD (from rev 331095, 
x264/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-08-07 09:14:18 UTC (rev 331096)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Maxime Gauduin 
+# Contributor: Ionut Biru 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: damir 
+# Contributor: Paul Mattal 
+
+pkgname=x264
+pkgver=155.r0a84d986
+pkgrel=1
+epoch=2
+pkgdesc='Open Source H264/AVC video encoder'
+arch=('x86_64')
+url='https://www.videolan.org/developers/x264.html'
+license=('GPL')
+depends=(
+  'libavcodec.so' 'libavformat.so' 'libavutil.so' 'liblsmash.so'
+  'libswscale.so'
+)
+makedepends=('git' 'ffmpeg' 'l-smash' 'nasm')
+provides=('libx264.so')
+conflicts=('libx264' 'libx264-10bit' 'libx264-all')
+replaces=('libx264' 'libx264-10bit' 'libx264-all')
+_commit='0a84d986e7020f8344f00752e3600b9769cc1e85'
+source=("git+https://git.videolan.org/git/x264.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd x264
+
+  local _ver=$(grep '#define X264_BUILD' x264.h | cut -d' ' -f3)
+  local _rev=$(git rev-parse --short HEAD)
+
+  echo ${_ver}.r${_rev}
+}
+
+prepare() {
+  if [[ -d build ]]; then
+rm -rf build
+  fi
+  mkdir build
+}
+
+build() {
+  cd build
+
+  ../x264/configure \
+--prefix='/usr' \
+--enable-shared \
+--enable-pic \
+--enable-lto
+  make
+}
+
+package() {
+  make -C build DESTDIR="${pkgdir}" install-cli install-lib-shared
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in x264/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2018-04-23 Thread Maxime Gauduin via arch-commits
Date: Monday, April 23, 2018 @ 17:07:35
  Author: alucryd
Revision: 322843

archrelease: copy trunk to staging-x86_64

Added:
  x264/repos/staging-x86_64/
  x264/repos/staging-x86_64/PKGBUILD
(from rev 322842, x264/trunk/PKGBUILD)

--+
 PKGBUILD |   97 +
 1 file changed, 97 insertions(+)

Copied: x264/repos/staging-x86_64/PKGBUILD (from rev 322842, 
x264/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-04-23 17:07:35 UTC (rev 322843)
@@ -0,0 +1,97 @@
+# $Id$
+# Maintainer: Maxime Gauduin 
+# Contributor: Ionut Biru 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: damir 
+# Contributor: Paul Mattal 
+
+pkgname=('x264' 'libx264' 'libx264-10bit' 'libx264-all')
+pkgver=152.20171224
+pkgrel=2
+epoch=2
+arch=('x86_64')
+url='https://www.videolan.org/developers/x264.html'
+license=('GPL')
+depends=('glibc')
+makedepends=('git' 'ffmpeg' 'l-smash' 'nasm')
+_commit='e9a5903edf8ca59ef20e6f4894c196f135af735e'
+source=("git+https://git.videolan.org/git/x264.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd ${pkgbase}
+
+  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}
+}
+
+prepare() {
+  mkdir build-{8,10}bit
+}
+
+build() {
+  for _b in 8 10; do (
+cd build-${_b}bit
+../${pkgbase}/configure \
+  --prefix='/usr' \
+  --enable-shared \
+  --enable-pic \
+  --enable-lto \
+  --bit-depth="${_b}"
+make
+  ) done
+}
+
+package_x264() {
+  pkgdesc='CLI tools for encoding H264/AVC video streams'
+  depends+=('libavcodec.so' 'libavformat.so' 'libavutil.so' 'liblsmash.so'
+'libswscale.so')
+
+  for _b in {8,10}bit; do
+provides+=("x264-${_b}")
+
+make -C build-${_b} DESTDIR="${pkgdir}" install-cli
+mv "${pkgdir}"/usr/bin/x264{,-${_b}}
+  done
+
+  ln -s x264-8bit "${pkgdir}"/usr/bin/x264
+}
+
+package_libx264() {
+  pkgdesc='Library for encoding H264/AVC video streams (8bit depth)'
+  provides=('libx264-8bit' 'libx264.so')
+  conflicts=('libx264')
+
+  make -C build-8bit DESTDIR=${pkgdir} install-lib-shared
+}
+
+package_libx264-10bit() {
+  pkgdesc='Library for encoding H264/AVC video streams (10bit depth)'
+  provides=('libx264' 'libx264.so')
+  conflicts=('libx264')
+
+  make -C build-10bit DESTDIR=${pkgdir} install-lib-shared
+}
+
+package_libx264-all() {
+  pkgdesc="Library for encoding H264/AVC video streams (all depths)"
+
+  local _ver=$(grep '#define X264_BUILD' "${pkgbase}"/x264.h | cut -d' ' -f3)
+
+  install -d "${pkgdir}"/usr/lib/x264
+
+  for _b in {8,10}bit; do
+provides+=("libx264-${_b}.so")
+
+make -C build-${_b} DESTDIR="${pkgdir}" install-lib-shared
+
+mv "${pkgdir}"/usr/lib/libx264.so.${_ver} 
"${pkgdir}"/usr/lib/x264/libx264-${_b}.so.${_ver}
+rm -r "${pkgdir}"/usr/{include,lib/libx264.so,lib/pkgconfig}
+
+ln -sr "${pkgdir}"/usr/lib/x264/libx264-${_b}.so{.${_ver},}
+  done
+}
+
+# vim: ts=2 sw=2 et:


[arch-commits] Commit in x264/repos (staging-x86_64 staging-x86_64/PKGBUILD)

2017-12-28 Thread Maxime Gauduin via arch-commits
Date: Thursday, December 28, 2017 @ 16:08:04
  Author: alucryd
Revision: 313727

archrelease: copy trunk to staging-x86_64

Added:
  x264/repos/staging-x86_64/
  x264/repos/staging-x86_64/PKGBUILD
(from rev 313726, x264/trunk/PKGBUILD)

--+
 PKGBUILD |   97 +
 1 file changed, 97 insertions(+)

Copied: x264/repos/staging-x86_64/PKGBUILD (from rev 313726, 
x264/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-12-28 16:08:04 UTC (rev 313727)
@@ -0,0 +1,97 @@
+# $Id$
+# Maintainer: Maxime Gauduin 
+# Contributor: Ionut Biru 
+# Contributor: Bartłomiej Piotrowski 
+# Contributor: damir 
+# Contributor: Paul Mattal 
+
+pkgname=('x264' 'libx264' 'libx264-10bit' 'libx264-all')
+pkgver=152.20171224
+pkgrel=1
+epoch=2
+arch=('x86_64')
+url='https://www.videolan.org/developers/x264.html'
+license=('GPL')
+depends=('glibc')
+makedepends=('git' 'ffmpeg' 'l-smash' 'nasm')
+_commit='e9a5903edf8ca59ef20e6f4894c196f135af735e'
+source=("git+https://git.videolan.org/git/x264.git#commit=${_commit};)
+sha256sums=('SKIP')
+
+pkgver() {
+  cd ${pkgbase}
+
+  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}
+}
+
+prepare() {
+  mkdir build-{8,10}bit
+}
+
+build() {
+  for _b in 8 10; do (
+cd build-${_b}bit
+../${pkgbase}/configure \
+  --prefix='/usr' \
+  --enable-shared \
+  --enable-pic \
+  --enable-lto \
+  --bit-depth="${_b}"
+make
+  ) done
+}
+
+package_x264() {
+  pkgdesc='CLI tools for encoding H264/AVC video streams'
+  depends+=('libavcodec.so' 'libavformat.so' 'libavutil.so' 'liblsmash.so'
+'libswscale.so')
+
+  for _b in {8,10}bit; do
+provides+=("x264-${_b}")
+
+make -C build-${_b} DESTDIR="${pkgdir}" install-cli
+mv "${pkgdir}"/usr/bin/x264{,-${_b}}
+  done
+
+  ln -s x264-8bit "${pkgdir}"/usr/bin/x264
+}
+
+package_libx264() {
+  pkgdesc='Library for encoding H264/AVC video streams (8bit depth)'
+  provides=('libx264-8bit' 'libx264.so')
+  conflicts=('libx264')
+
+  make -C build-8bit DESTDIR=${pkgdir} install-lib-shared
+}
+
+package_libx264-10bit() {
+  pkgdesc='Library for encoding H264/AVC video streams (10bit depth)'
+  provides=('libx264' 'libx264.so')
+  conflicts=('libx264')
+
+  make -C build-10bit DESTDIR=${pkgdir} install-lib-shared
+}
+
+package_libx264-all() {
+  pkgdesc="Library for encoding H264/AVC video streams (all depths)"
+
+  local _ver=$(grep '#define X264_BUILD' "${pkgbase}"/x264.h | cut -d' ' -f3)
+
+  install -d "${pkgdir}"/usr/lib/x264
+
+  for _b in {8,10}bit; do
+provides+=("libx264-${_b}.so")
+
+make -C build-${_b} DESTDIR="${pkgdir}" install-lib-shared
+
+mv "${pkgdir}"/usr/lib/libx264.so.${_ver} 
"${pkgdir}"/usr/lib/x264/libx264-${_b}.so.${_ver}
+rm -r "${pkgdir}"/usr/{include,lib/libx264.so,lib/pkgconfig}
+
+ln -sr "${pkgdir}"/usr/lib/x264/libx264-${_b}.so{.${_ver},}
+  done
+}
+
+# vim: ts=2 sw=2 et: