[arch-commits] Commit in libmp4v2/repos/extra-x86_64 (3 files)
Antonio Rojas
arojas at archlinux.org
Sun May 2 08:25:10 UTC 2021
Date: Sunday, May 2, 2021 @ 08:25:10
Author: arojas
Revision: 414155
archrelease: copy trunk to extra-x86_64
Added:
libmp4v2/repos/extra-x86_64/PKGBUILD
(from rev 414154, libmp4v2/trunk/PKGBUILD)
Deleted:
libmp4v2/repos/extra-x86_64/PKGBUILD
libmp4v2/repos/extra-x86_64/libmp4v2-c++11.patch
----------------------+
PKGBUILD | 63 +++++++++++++++++++++----------------------------
libmp4v2-c++11.patch | 11 --------
2 files changed, 28 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-02 08:25:01 UTC (rev 414154)
+++ PKGBUILD 2021-05-02 08:25:10 UTC (rev 414155)
@@ -1,35 +0,0 @@
-# Maintainer: Tom Gundersen <teg at jklm.no>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-
-pkgname=libmp4v2
-pkgver=4.1.4
-pkgrel=1
-pkgdesc="An API to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems"
-arch=('x86_64')
-license=('MPL')
-url="https://github.com/TechSmith/mp4v2"
-depends=('gcc-libs')
-source=("https://github.com/TechSmith/mp4v2/archive/Release-ThirdParty-MP4v2-$pkgver.tar.gz"
- libmp4v2-c++11.patch)
-sha512sums=('1f25ddb702dfc4095200f9f1812bca3e2c6da88358f4f01c5e1e83426a31373b510079d5b1a863efbaee98ddba4b2c8d762d6e56cfa11521fc50c0f46feadab3'
- '1b1bd1aceef9294f028227adbe387001b7282bd35e8a952deed5a5fc00646285c49c6d871274e264e9b8ba112bba955dbe9d12031a9282e09e1924e1042642df')
-
-prepare() {
- cd mp4v2-Release-ThirdParty-MP4v2-$pkgver
- patch -p0 -i ../libmp4v2-c++11.patch # Fix build with C++11
-}
-
-build() {
- cd mp4v2-Release-ThirdParty-MP4v2-$pkgver
-
- # https://github.com/TechSmith/mp4v2/issues/48
- CXXFLAGS="$CXXFLAGS -Wno-narrowing" ./configure --prefix=/usr
- make
-}
-
-package() {
- cd mp4v2-Release-ThirdParty-MP4v2-$pkgver
- make DESTDIR="$pkgdir" install
- make DESTDIR="$pkgdir" install-man
-}
Copied: libmp4v2/repos/extra-x86_64/PKGBUILD (from rev 414154, libmp4v2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-02 08:25:10 UTC (rev 414155)
@@ -0,0 +1,28 @@
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=libmp4v2
+pkgver=4.1.6
+pkgrel=1
+pkgdesc="An API to create and modify mp4 files as defined by ISO-IEC:14496-1:2001 MPEG-4 Systems"
+arch=('x86_64')
+license=('MPL')
+url="https://github.com/TechSmith/mp4v2"
+depends=('gcc-libs')
+source=("https://github.com/TechSmith/mp4v2/archive/Release-ThirdParty-MP4v2-$pkgver.tar.gz")
+sha512sums=('91f5183d38c9d7fd754ba4b5e149b00600d5b6cb8da063667e5c3a6c8edb4e5efc919d6c4381acd6e011ef56dce3f722a78c51b984066f5c0cc54aae735f3611')
+
+build() {
+ cd mp4v2-Release-ThirdParty-MP4v2-$pkgver
+
+ # https://github.com/TechSmith/mp4v2/issues/48
+ CXXFLAGS="$CXXFLAGS -Wno-narrowing" ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd mp4v2-Release-ThirdParty-MP4v2-$pkgver
+ make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install-man
+}
Deleted: libmp4v2-c++11.patch
===================================================================
--- libmp4v2-c++11.patch 2021-05-02 08:25:01 UTC (rev 414154)
+++ libmp4v2-c++11.patch 2021-05-02 08:25:10 UTC (rev 414155)
@@ -1,11 +0,0 @@
---- src/rtphint.cpp 2012-05-20 16:11:53.000000000 -0600
-+++ src/rtphint.cpp 2017-05-16 10:25:26.930705191 -0600
-@@ -339,7 +339,7 @@
- pSlash = strchr(pSlash, '/');
- if (pSlash != NULL) {
- pSlash++;
-- if (pSlash != '\0') {
-+ if (*pSlash != '\0') {
- length = (uint32_t)strlen(pRtpMap) - (pSlash - pRtpMap);
- *ppEncodingParams = (char *)MP4Calloc(length + 1);
- strncpy(*ppEncodingParams, pSlash, length);
More information about the arch-commits
mailing list