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

Felix Yan felixonmars at gemini.archlinux.org
Sun Mar 6 16:43:30 UTC 2022


    Date: Sunday, March 6, 2022 @ 16:43:30
  Author: felixonmars
Revision: 439128

archrelease: copy trunk to staging-x86_64

Added:
  libebml/repos/staging-x86_64/
  libebml/repos/staging-x86_64/PKGBUILD
    (from rev 439127, libebml/trunk/PKGBUILD)
  libebml/repos/staging-x86_64/libebml-limits.patch
    (from rev 439127, libebml/trunk/libebml-limits.patch)

----------------------+
 PKGBUILD             |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 libebml-limits.patch |   24 ++++++++++++++++++++++++
 2 files changed, 73 insertions(+)

Copied: libebml/repos/staging-x86_64/PKGBUILD (from rev 439127, libebml/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2022-03-06 16:43:30 UTC (rev 439128)
@@ -0,0 +1,49 @@
+# Maintainer: Giovanni Scafora <giovanni at archlinux.org>
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: 03/08/04 <lefungus at altern.org>
+
+pkgname=libebml
+pkgver=1.4.2
+pkgrel=2
+pkgdesc='Extensible Binary Meta Language library'
+arch=(x86_64)
+url=https://github.com/Matroska-Org/libebml
+license=(LGPL2.1)
+depends=(gcc-libs)
+makedepends=(
+  cmake
+  git
+  ninja
+)
+provides=(libebml.so)
+_tag=6c59e5e1ce0087e4465f6d3f479449d3f6bcb167
+source=(
+  git+https://github.com/Matroska-Org/libebml.git#tag=${_tag}
+  libebml-limits.patch
+)
+b2sums=('SKIP'
+        '62aaeb70d83c91af422b70a3e21ef7e538201c01e1b088a7e05d0bde02078fa6ed723ea3d0dc01da0bfbac4012e2b0c683de7abb26eb5d38553e7905f0ff8bfd')
+
+prepare() {
+  cd libebml
+  patch -Np1 -i ../libebml-limits.patch
+}
+
+pkgver() {
+  cd libebml
+  git describe --tags | sed 's/^release-//'
+}
+
+build() {
+  cmake -S libebml -B build -G Ninja \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DBUILD_SHARED_LIBS=ON
+  cmake --build build
+}
+
+package() {
+  DESTDIR="${pkgdir}" cmake --install build
+}
+
+# vim: ts=2 sw=2 et:

Copied: libebml/repos/staging-x86_64/libebml-limits.patch (from rev 439127, libebml/trunk/libebml-limits.patch)
===================================================================
--- staging-x86_64/libebml-limits.patch	                        (rev 0)
+++ staging-x86_64/libebml-limits.patch	2022-03-06 16:43:30 UTC (rev 439128)
@@ -0,0 +1,24 @@
+diff --git a/src/EbmlString.cpp b/src/EbmlString.cpp
+index 27e55fd..4c05fcf 100644
+--- a/src/EbmlString.cpp
++++ b/src/EbmlString.cpp
+@@ -34,6 +34,7 @@
+   \author Steve Lhomme     <robux4 @ users.sf.net>
+ */
+ #include <cassert>
++#include <limits>
+ 
+ #include "ebml/EbmlString.h"
+ 
+diff --git a/src/EbmlUnicodeString.cpp b/src/EbmlUnicodeString.cpp
+index 496a16a..99fc073 100644
+--- a/src/EbmlUnicodeString.cpp
++++ b/src/EbmlUnicodeString.cpp
+@@ -36,6 +36,7 @@
+ */
+ 
+ #include <cassert>
++#include <limits>
+ 
+ #include "ebml/EbmlUnicodeString.h"
+ 



More information about the arch-commits mailing list