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

Maxime Gauduin alucryd at archlinux.org
Tue Feb 12 20:09:45 UTC 2019


    Date: Tuesday, February 12, 2019 @ 20:09:44
  Author: alucryd
Revision: 346139

upgpkg: libbluray 1.1.0-1

Modified:
  libbluray/trunk/PKGBUILD

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++--------------
 1 file changed, 37 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-12 20:06:47 UTC (rev 346138)
+++ PKGBUILD	2019-02-12 20:09:44 UTC (rev 346139)
@@ -4,22 +4,47 @@
 # Contributor: Andrew Cook <ariscop at gmail.com>
 
 pkgname=libbluray
-pkgver=1.0.2
-pkgrel=2
+pkgver=1.1.0
+pkgrel=1
 pkgdesc='Library to access Blu-Ray disks for video playback'
-arch=('x86_64')
+arch=(x86_64)
 url='http://www.videolan.org/developers/libbluray.html'
-license=('LGPL2.1')
-depends=('fontconfig' 'libxml2'
-         'libfreetype.so')
-makedepends=('apache-ant' 'java-environment=8')
+license=(LGPL2.1)
+depends=(
+  fontconfig
+  libfreetype.so
+  libxml2
+)
+makedepends=(
+  apache-ant
+  git
+  java-environment=8
+)
 optdepends=('java-runtime=8: BD-J library')
-provides=('libbluray.so')
-source=("https://download.videolan.org/pub/videolan/libbluray/${pkgver}/libbluray-${pkgver}.tar.bz2")
-sha256sums=('6d9e7c4e416f664c330d9fa5a05ad79a3fb39b95adfc3fd6910cbed503b7aeff')
+provides=(libbluray.so)
+source=(
+  git+https://code.videolan.org/videolan/libbluray.git#tag=${pkgver}
+  git+https://code.videolan.org/videolan/libudfread.git
+)
+sha256sums=(
+  SKIP
+  SKIP
+)
 
+prepare() {
+  cd libbluray
+
+  for submodule in contrib/libudfread; do
+    git submodule init ${submodule}
+    git config submodule.${submodule}.url ../${submodule#*/}
+    git submodule update ${submodule}
+  done
+
+  autoreconf -fiv
+}
+
 build() {
-  cd libbluray-${pkgver}
+  cd libbluray
 
   ./configure \
     --prefix='/usr'
@@ -27,9 +52,7 @@
 }
 
 package() {
-  cd libbluray-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C libbluray install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list