mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Update to upstream version 0.5.0 [1]
- General port cleanup [1] - Fix sporadic build failures on SMP systems [2] - Un-break build on arm [2] PR: 199247 Submitted by: tkato432@yahoo.com [1] Reviewed by: riggs [2] MFH: 2015Q2
This commit is contained in:
parent
859d722938
commit
e7f817ed05
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=383820
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mkvalidator
|
||||
PORTVERSION= 0.4.2
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= SF/matroska/${PORTNAME}/
|
||||
|
||||
@ -11,23 +11,35 @@ COMMENT= Command line tool to verify Matroska and WebM files
|
||||
LICENSE= BSD3CLAUSE BSD4CLAUSE GPLv2
|
||||
LICENSE_COMB= multi
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
|
||||
USES= iconv gmake tar:bzip2
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
||||
|
||||
MAKE_ENV+= "LFLAGS=${LDFLAGS}"
|
||||
MAKEFILE= GNUmakefile
|
||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
||||
|
||||
PLIST_FILES= bin/mkvalidator
|
||||
USES= gmake iconv tar:bzip2
|
||||
HAS_CONFIGURE= yes
|
||||
MAKE_ENV= V=1
|
||||
MAKEFILE= GNUmakefile
|
||||
|
||||
BROKEN_sparc64= Does not install on sparc64: gmake: GNUmakefile: No such file or directory
|
||||
CFLAGS+= -I${ICONV_PREFIX}/include
|
||||
LIBS+= -L${ICONV_PREFIX}/lib ${ICONV_LIB}
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's,/usr/local,$$(DESTDIR)$$(PREFIX),g' ${WRKSRC}/corec/tools/coremake/gcc_mak.inc
|
||||
@${RM} ${WRKSRC}/libmatroska2/test/test.proj
|
||||
PLIST_FILES= bin/mkvalidator bin/mkvtree
|
||||
|
||||
BROKEN_sparc64= Build broken on big endian architectures
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e \
|
||||
'/STRIP/s|strip|${STRIP_CMD:T}| ; \
|
||||
/CCFLAGS/s|-O3 .* -W|-W|' \
|
||||
${WRKSRC}/corec/tools/coremake/gcc_linux*.build
|
||||
${REINPLACE_CMD} -e \
|
||||
's|/usr/local|$$(DESTDIR)$$(PREFIX)|g' \
|
||||
${WRKSRC}/corec/tools/coremake/gcc_mak.inc
|
||||
${REINPLACE_CMD} -e \
|
||||
's|arm-none-linux-gnueabi-gcc|${CC}| ; \
|
||||
s|arm-none-linux-gnueabi-g++|${CXX}| ; \
|
||||
s|arm-none-linux-gnueabi-ar|${AR}| ; \
|
||||
s|arm-none-linux-gnueabi-strip|${STRIP_CMD}|' \
|
||||
${WRKSRC}/corec/tools/coremake/gcc_linux_arm.build
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mkvalidator-0.4.2.tar.bz2) = 9f626b8ae790642d63533da00639c61ef9b0548f6e75cd17544acb352efab77f
|
||||
SIZE (mkvalidator-0.4.2.tar.bz2) = 579080
|
||||
SHA256 (mkvalidator-0.5.0.tar.bz2) = c3e72e5b49d32174415b9273ea8d52380e09ac63c8dc7db684104021c711c104
|
||||
SIZE (mkvalidator-0.5.0.tar.bz2) = 587942
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- corec/tools/coremake/gcc_linux_arm.build.orig 2012-12-16 11:29:34.000000000 +0100
|
||||
+++ corec/tools/coremake/gcc_linux_arm.build 2015-04-11 19:30:30.119705652 +0200
|
||||
@@ -19,8 +19,8 @@
|
||||
|
||||
#define GLIBC
|
||||
|
||||
-#define CCFLAGS -DARM -Wno-multichar -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -march=armv4t -mtune=xscale -fvisibility=hidden -DRESOURCE_COREC
|
||||
-#define SFLAGS -DARM -Wno-multichar -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -mcpu=iwmmxt -mtune=xscale -D_HIDDEN
|
||||
+#define CCFLAGS -DARM -Wno-multichar -O3 -fomit-frame-pointer -DRESOURCE_COREC
|
||||
+#define SFLAGS -DARM -Wno-multichar -O3 -fomit-frame-pointer -D_HIDDEN
|
||||
#define SHFLAGS -shared -Wl,--strip-all
|
||||
|
||||
#include "gcc.inc"
|
@ -1,6 +1,6 @@
|
||||
mkvalidator is a simple command line tool to verify Matroska and WebM files for
|
||||
spec conformance. It checks the various bogus or missing key elements against
|
||||
the EBML DocType version of the file and reports the errors/warnings in the
|
||||
command line.
|
||||
mkvalidator is a simple command line tool to verify Matroska and WebM
|
||||
files for spec conformance. It checks the various bogus or missing key
|
||||
elements against the EBML DocType version of the file and reports the
|
||||
errors/warnings in the command line.
|
||||
|
||||
WWW: http://www.matroska.org/downloads/mkvalidator.html
|
||||
|
Loading…
Reference in New Issue
Block a user