atomicparsley: update to 0.9.6.
This commit is contained in:
parent
33322da771
commit
a0c6328dd7
3 changed files with 14 additions and 69 deletions
|
@ -1,5 +1,5 @@
|
|||
--- AtomicParsley.cpp 2017-01-27 18:09:38.871046030 +0100
|
||||
+++ AtomicParsley.cpp 2017-01-27 18:10:35.548088839 +0100
|
||||
--- src/parsley.cpp
|
||||
+++ src/parsley.cpp
|
||||
@@ -4585,10 +4585,11 @@
|
||||
#if defined(_MSC_VER)
|
||||
fpos_t file_offset = dest_position + file_pos;
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
Instead of defining the integer types locally include <stdint.h>
|
||||
|
||||
--- AP_commons.h 2006-08-27 04:35:15.000000000 +0200
|
||||
+++ AP_commons.h 2017-01-27 18:01:09.520651784 +0100
|
||||
@@ -21,36 +21,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
-
|
||||
-#ifndef _UINT8_T
|
||||
-#define _UINT8_T
|
||||
-typedef unsigned char uint8_t;
|
||||
-#endif /*_UINT8_T */
|
||||
-
|
||||
-#ifndef _UINT16_T
|
||||
-#define _UINT16_T
|
||||
-typedef unsigned short uint16_t;
|
||||
-#endif /* _UINT16_T */
|
||||
-
|
||||
-#ifndef _UINT32_T
|
||||
-#ifndef __uint32_t_defined
|
||||
-typedef unsigned int uint32_t;
|
||||
-#endif
|
||||
-#endif /*_UINT32_T */
|
||||
-
|
||||
-#ifndef _UINT64_T
|
||||
-#define _UINT64_T
|
||||
-#if defined (_MSC_VER)
|
||||
-typedef unsigned __int64 uint64_t;
|
||||
-#else
|
||||
-typedef unsigned long long uint64_t;
|
||||
-#endif /* _MSC_VER */
|
||||
-#endif /* _UINT64_T */
|
||||
-
|
||||
-#ifndef _INT16_T
|
||||
-#define _INT16_T
|
||||
-typedef short int16_t;
|
||||
-#endif /* _INT16_T */
|
||||
+#include <stdint.h>
|
||||
|
||||
#if defined (__ppc__) || defined (__ppc64__)
|
||||
#define SWAP16(x) (x)
|
|
@ -1,31 +1,18 @@
|
|||
# Template file for 'atomicparsley'
|
||||
pkgname=atomicparsley
|
||||
version=0.9.0
|
||||
revision=3
|
||||
hostmakedepends="unzip"
|
||||
version=0.9.6
|
||||
revision=1
|
||||
wrksrc=wez-atomicparsley-da2f6e4fc120
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="automake"
|
||||
makedepends="zlib-devel"
|
||||
short_desc="Lightweight program for manipulating MPEG-4 metadata"
|
||||
maintainer="svenper <svenper@users.noreply.github.com>"
|
||||
maintainer="svenper <svenper@tuta.io>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="http://atomicparsley.sourceforge.net"
|
||||
distfiles="${SOURCEFORGE_SITE}/${pkgname}/AtomicParsley-source-${version}.zip"
|
||||
checksum=de83f219f95e6fe59099b277e3ced86f0430ad9468e845783092821dff15a72e
|
||||
wrksrc=AtomicParsley-source-${version}
|
||||
homepage="https://bitbucket.org/wez/atomicparsley/"
|
||||
distfiles="https://bitbucket.org/wez/atomicparsley/get/${version}.tar.gz"
|
||||
checksum=8ba4e3e21d7a9239932e2a6f34842194d8f9eba84ce9eb83fb35369f5f3f05ab
|
||||
|
||||
CXXFLAGS="-Wno-write-strings"
|
||||
|
||||
pre_build() {
|
||||
sed -ri 's/(char\*.*strrchr.*)/const \1/g' AtomicParsley.cpp
|
||||
sed -ri 's/(char\* suffix = NULL;)/const \1/g' AtomicParsley.cpp
|
||||
sed -ri 's/(^[[:space:]]*g\+\+)/\1 \$CXXFLAGS/g' build
|
||||
sed -ri 's/(^[[:space:]])*g\+\+/"\1\$CXX"/g' build
|
||||
sed -ri 's/(-o.*(obj_files.*){8})/\$LDFLAGS \1/g' build
|
||||
}
|
||||
|
||||
do_build() {
|
||||
CXX="${CXX:-g++}" LD="$CXX" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" ./build
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vbin AtomicParsley
|
||||
vlicense COPYING
|
||||
pre_configure() {
|
||||
./autogen.sh
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue