Update to 1.3.0 and enable regression tests

From Brad with tweaks by me
This commit is contained in:
giovanni 2011-10-04 08:59:41 +00:00
parent 42a0253716
commit 998b9ba7a7
4 changed files with 22 additions and 17 deletions

View File

@ -1,14 +1,13 @@
# $OpenBSD: Makefile,v 1.10 2011/03/14 09:17:01 sthen Exp $
# $OpenBSD: Makefile,v 1.11 2011/10/04 08:59:41 giovanni Exp $
COMMENT= extensible open standard audio/video container library
DISTNAME= libmatroska-1.1.0
REVISION= 0
DISTNAME= libmatroska-1.3.0
CATEGORIES= multimedia
MASTER_SITES= http://dl.matroska.org/downloads/libmatroska/
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS= matroska 2.0
SHARED_LIBS= matroska 3.0
HOMEPAGE= http://www.matroska.org/
@ -19,9 +18,10 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= ebml>=2 m stdc++
LIB_DEPENDS= textproc/libebml
WANTLIB= ebml>=2.1 m stdc++
LIB_DEPENDS= textproc/libebml>=1.2.2
MAKE_ENV+= LIBmatroska_VERSION=${LIBmatroska_VERSION}
MAKE_FLAGS+= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LOCALBASE=${LOCALBASE}
@ -29,11 +29,15 @@ FAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
USE_GMAKE= Yes
NO_REGRESS= Yes
REGRESS_TARGET= test
WRKSRC= ${WRKDIST}/make/linux
post-extract:
@perl -pi -e 's/\r\n/\n/;' ${WRKSRC}/Makefile
@piconv -t utf-8 ${WRKDIST}/test/mux/test6.cpp \
>${WRKDIST}/test/mux/test6.cpp.tmp \
&& mv ${WRKDIST}/test/mux/test6.cpp.tmp \
${WRKDIST}/test/mux/test6.cpp
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (libmatroska-1.1.0.tar.bz2) = IeXuPiVz8K6Z2xlTSL37mA==
RMD160 (libmatroska-1.1.0.tar.bz2) = jaC9W9g+axWLcUtVTzX4LAUYHp0=
SHA1 (libmatroska-1.1.0.tar.bz2) = /8fQt1eFT564wy5R8v7a3Hlu9hc=
SHA256 (libmatroska-1.1.0.tar.bz2) = RlnUI4VtZ1RtvdHzAzHuUYXLigsn35jsaSdL15jIqbE=
SIZE (libmatroska-1.1.0.tar.bz2) = 80469
MD5 (libmatroska-1.3.0.tar.bz2) = 9KjEEfCdOcdU63Ju/WFgQw==
RMD160 (libmatroska-1.3.0.tar.bz2) = UhufKGrP3M9joSqOfAkgiACxnjg=
SHA1 (libmatroska-1.3.0.tar.bz2) = gcWoEmBMDwXEcSMOBbjLxFQiJvw=
SHA256 (libmatroska-1.3.0.tar.bz2) = UjHslYVxNl5xmm/TwiAievbPDxTgvRvPdm3bwGjRjmk=
SIZE (libmatroska-1.3.0.tar.bz2) = 80542

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-make_linux_Makefile,v 1.4 2011/03/12 21:17:50 jakemsr Exp $
--- make/linux/Makefile.orig Sun Feb 27 00:50:05 2011
+++ make/linux/Makefile Sun Feb 27 00:53:28 2011
$OpenBSD: patch-make_linux_Makefile,v 1.5 2011/10/04 08:59:41 giovanni Exp $
--- make/linux/Makefile.orig Sun Oct 2 16:04:20 2011
+++ make/linux/Makefile Sun Oct 2 16:05:23 2011
@@ -33,8 +33,8 @@ INSTALL_DIR_OPTS = -m 755
CWD=$(shell pwd)
@ -17,7 +17,7 @@ $OpenBSD: patch-make_linux_Makefile,v 1.4 2011/03/12 21:17:50 jakemsr Exp $
# Names
LIBRARY=libmatroska.a
-LIBRARY_SO=libmatroska.so
-LIBRARY_SO_VER=libmatroska.so.3
-LIBRARY_SO_VER=libmatroska.so.5
+LIBRARY_SO_VER=libmatroska.so.${LIBmatroska_VERSION}
# source-files

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2011/03/12 21:17:50 jakemsr Exp $
@comment $OpenBSD: PLIST,v 1.4 2011/10/04 08:59:41 giovanni Exp $
%%SHARED%%
include/matroska/
include/matroska/FileKax.h
@ -19,6 +19,7 @@ include/matroska/KaxInfo.h
include/matroska/KaxInfoData.h
include/matroska/KaxSeekHead.h
include/matroska/KaxSegment.h
include/matroska/KaxSemantic.h
include/matroska/KaxTag.h
include/matroska/KaxTags.h
include/matroska/KaxTrackAudio.h