[arch-commits] Commit in libmatroska/repos (3 files)

Maxime Gauduin alucryd at archlinux.org
Mon Aug 10 08:38:20 UTC 2020


    Date: Monday, August 10, 2020 @ 08:38:20
  Author: alucryd
Revision: 393502

db-move: moved libmatroska from [testing] to [extra] (x86_64)

Added:
  libmatroska/repos/extra-x86_64/PKGBUILD
    (from rev 393501, libmatroska/repos/testing-x86_64/PKGBUILD)
Deleted:
  libmatroska/repos/extra-x86_64/PKGBUILD
  libmatroska/repos/testing-x86_64/

-----------------------+
 /PKGBUILD             |   42 ++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   43 -------------------------------------------
 2 files changed, 42 insertions(+), 43 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2020-08-10 08:38:19 UTC (rev 393501)
+++ extra-x86_64/PKGBUILD	2020-08-10 08:38:20 UTC (rev 393502)
@@ -1,43 +0,0 @@
-# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor 03/08/04 <lefungus at altern.org>
-
-pkgname=libmatroska
-pkgver=1.5.2
-pkgrel=2
-pkgdesc='Matroska library'
-arch=(x86_64)
-url=https://dl.matroska.org/downloads/libmatroska/
-license=(LGPL2.1)
-depends=(libebml.so)
-makedepends=(
-  cmake
-  git
-)
-provides=(libmatroska.so)
-source=(git+https://github.com/Matroska-Org/libmatroska.git#tag=release-${pkgver})
-sha256sums=(SKIP)
-
-prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
-}
-
-build() {
-  cd build
-
-  cmake ../libmatroska \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-    -DBUILD_SHARED_LIBS=ON
-  make
-}
-
-package() {
-  make DESTDIR="${pkgdir}" -C build install
-}
-
-# vim: ts=2 sw=2 et:

Copied: libmatroska/repos/extra-x86_64/PKGBUILD (from rev 393501, libmatroska/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2020-08-10 08:38:20 UTC (rev 393502)
@@ -0,0 +1,42 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor 03/08/04 <lefungus at altern.org>
+
+pkgname=libmatroska
+pkgver=1.6.2
+pkgrel=1
+pkgdesc='Matroska library'
+arch=(x86_64)
+url=https://github.com/Matroska-Org/libmatroska
+license=(LGPL2.1)
+depends=(libebml.so)
+makedepends=(
+  cmake
+  git
+  ninja
+)
+provides=(libmatroska.so)
+_tag=684560a3ce962a7abe89be93cc8ffa483f7f853f
+source=(git+https://github.com/Matroska-Org/libmatroska.git#tag=${_tag})
+sha256sums=(SKIP)
+
+pkgver() {
+  cd libmatroska
+
+  git describe --tags | sed 's/^release-//'
+}
+
+build() {
+  cmake -S libmatroska -B build -G Ninja \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DBUILD_SHARED_LIBS=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --build build --target install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list