libmp4v2.

This commit is contained in:
4fury-c3440d8
2021-12-21 06:12:15 +03:00
parent f77b721ddf
commit 5e5d7aff03
4 changed files with 103 additions and 108 deletions
+4 -5
View File
@@ -2,20 +2,19 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static")
autotools.configure("CXXFLAGS='-Wno-narrowing' --disable-static")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
autotools.rawInstall("DESTDIR=%s man" % get.installDIR())
pisitools.dodoc("README", "doc/*.txt")
pisitools.removeDir("/usr/share")
@@ -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);
+14 -7
View File
@@ -1,11 +1,11 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>libmp4v2</Name>
<Homepage>https://code.google.com/archive/p/mp4v2/</Homepage>
<Homepage>https://github.com/TechSmith/mp4v2</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Name>Pisi Linux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>MPL-1.1</License>
@@ -13,12 +13,14 @@
<IsA>app:console</IsA>
<Summary>MPEG4 library</Summary>
<Description>MPEG4 library extracted from MPEG4IP, usually used in 3D sound systems.</Description>
<Archive sha1sum="193260cfb7201e6ec250137bcca1468d4d20e2f0" type="tarbz2">https://sources.archlinux.org/other/packages/libmp4v2/mp4v2-2.0.0.tar.bz2</Archive>
<Archive sha1sum="43d1c9510fa7257f19b290d86693328be819494b" type="targz">
https://github.com/TechSmith/mp4v2/archive/refs/tags/Release-ThirdParty-MP4v2-5.0.1.tar.gz
</Archive>
<BuildDependencies>
<Dependency>libgcc</Dependency>
</BuildDependencies>
<Patches>
<Patch>libmp4v2-c++11.patch</Patch>
<!-- <Patch>libmp4v2-c++11.patch</Patch> -->
</Patches>
</Source>
@@ -30,8 +32,6 @@
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/libmp4v2</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
@@ -47,6 +47,13 @@
</Package>
<History>
<Update release="6">
<Date>2021-11-27</Date>
<Version>5.0.1</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="5">
<Date>2020-01-18</Date>
<Version>2.0.0</Version>