diff --git a/multimedia/mkvtoolnix/Makefile b/multimedia/mkvtoolnix/Makefile index c3eb55a39b4..6bd41984e42 100644 --- a/multimedia/mkvtoolnix/Makefile +++ b/multimedia/mkvtoolnix/Makefile @@ -1,9 +1,8 @@ -# $OpenBSD: Makefile,v 1.21 2010/04/17 13:14:01 benoit Exp $ +# $OpenBSD: Makefile,v 1.22 2010/07/17 22:52:50 benoit Exp $ COMMENT = create, alter and inspect Matroska files -DISTNAME = mkvtoolnix-3.2.0 -PKGNAME = ${DISTNAME}p0 +DISTNAME = mkvtoolnix-4.0.0 CATEGORIES = multimedia x11 HOMEPAGE = http://www.bunkus.org/videotools/mkvtoolnix/ @@ -16,22 +15,23 @@ PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes -WANTLIB = c ebml expat m ogg stdc++ z pthread +WANTLIB = boost_system-mt.>=1.1 boost_regex-mt.>=1.1 boost_filesystem-mt.>=1.1 \ + bz2.>=10 c ebml expat FLAC.>=9 lzo2 m magic.>=2 matroska.>=1.0 \ + ogg stdc++ vorbis.>=8 z pthread MASTER_SITES = ${HOMEPAGE}/sources/ EXTRACT_SUFX = .tar.bz2 -MODULES += converters/libiconv -MODULES += devel/gettext +MODULES = devel/gettext -LIB_DEPENDS = FLAC.>=7::audio/flac \ - bz2.>=10::archivers/bzip2 \ - lzo2::archivers/lzo2 \ - matroska:libmatroska->=0.8.1:multimedia/libmatroska \ - vorbis.>=5::audio/libvorbis \ - magic.>=1::devel/libmagic \ - boost_system-mt.>=1.1,boost_regex-mt.>=1.1,boost_filesystem-mt.>=1.1::devel/boost +LIB_DEPENDS = ::audio/flac \ + ::archivers/bzip2 \ + ::archivers/lzo2 \ + ::multimedia/libmatroska \ + ::audio/libvorbis \ + ::devel/libmagic \ + ::devel/boost MAKE_FLAGS += V=1 @@ -80,7 +80,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/doc/guide/en/mkvmerge-gui.* ${PREFIX}/share/mkvtoolnix ${INSTALL_DATA} ${WRKSRC}/doc/guide/en/images/*.gif ${PREFIX}/share/mkvtoolnix/images .endif -.for l in de ja zh_CN zh_TW +.for l in de ja nl ru uk zh_CN zh_TW ${INSTALL_DATA_DIR} ${PREFIX}/share/locale/$l/LC_MESSAGES ${INSTALL_DATA} ${WRKSRC}/po/$l.mo ${PREFIX}/share/locale/$l/LC_MESSAGES/mkvtoolnix.mo .endfor diff --git a/multimedia/mkvtoolnix/distinfo b/multimedia/mkvtoolnix/distinfo index 99af6d017d1..8eff6b62f53 100644 --- a/multimedia/mkvtoolnix/distinfo +++ b/multimedia/mkvtoolnix/distinfo @@ -1,5 +1,5 @@ -MD5 (mkvtoolnix-3.2.0.tar.bz2) = m/MSgMsHhwdx5p3gKH3HaQ== -RMD160 (mkvtoolnix-3.2.0.tar.bz2) = 1N2EPd+7dBM5CA27cpk47t8lBdg= -SHA1 (mkvtoolnix-3.2.0.tar.bz2) = 5dITdALvZzHuAZpHJSe3eTXTAbE= -SHA256 (mkvtoolnix-3.2.0.tar.bz2) = KyRwU/SMy48ro+Fl03Ucgvft5JSCJDg86bYvK3unRqo= -SIZE (mkvtoolnix-3.2.0.tar.bz2) = 1384155 +MD5 (mkvtoolnix-4.0.0.tar.bz2) = Q06yS5xJqZrDhr0sTFJVOA== +RMD160 (mkvtoolnix-4.0.0.tar.bz2) = RE2KyocaOagm9uBLqFF54lltmqc= +SHA1 (mkvtoolnix-4.0.0.tar.bz2) = 7p8vjiXoxrNJBcmBpoZpEhChtcw= +SHA256 (mkvtoolnix-4.0.0.tar.bz2) = uB9jf+k54uCVO8L6sBxy+ZpP5VSkodT7Ct3n06UUy/s= +SIZE (mkvtoolnix-4.0.0.tar.bz2) = 1605839 diff --git a/multimedia/mkvtoolnix/patches/patch-configure b/multimedia/mkvtoolnix/patches/patch-configure index fb651483e0e..306776f8c13 100644 --- a/multimedia/mkvtoolnix/patches/patch-configure +++ b/multimedia/mkvtoolnix/patches/patch-configure @@ -1,16 +1,16 @@ -$OpenBSD: patch-configure,v 1.10 2010/04/17 13:14:03 benoit Exp $ ---- configure.orig Fri Feb 12 16:44:54 2010 -+++ configure Fri Apr 9 22:14:08 2010 -@@ -5008,7 +5008,7 @@ - OPTIMIZATION_CFLAGS="" - else - DEBUG_CFLAGS="" -- OPTIMIZATION_CFLAGS="-O3" -+ OPTIMIZATION_CFLAGS="" - fi - # Check whether --enable-profiling was given. - if test "${enable_profiling+set}" = set; then : -@@ -9001,7 +9001,7 @@ +$OpenBSD: patch-configure,v 1.11 2010/07/17 22:52:53 benoit Exp $ +--- configure.orig Sat Jun 5 08:26:22 2010 ++++ configure Sat Jun 26 20:44:09 2010 +@@ -5043,7 +5043,7 @@ fi + + + DEBUG_CFLAGS="" +-OPTIMIZATION_CFLAGS="-O3" ++OPTIMIZATION_CFLAGS="" + PROFILING_CFLAGS="" + PROFILING_LIBS="" + +@@ -9139,7 +9139,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5 $as_echo "$ac_cv_lib_intl_gettext" >&6; } if test "x$ac_cv_lib_intl_gettext" = x""yes; then : @@ -19,12 +19,3 @@ $OpenBSD: patch-configure,v 1.10 2010/04/17 13:14:03 benoit Exp $ gettext_found=yes else gettext_found=no -@@ -9073,7 +9073,7 @@ - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking the mmg guide translation languages to install" >&5 - $as_echo_n "checking the mmg guide translation languages to install... " >&6; } --GUIDE_TRANSLATIONS="`find $srcdir/doc/guide -maxdepth 1 -type d -printf '%f\n' | sed -e 1d | tr '\n' ' '`" -+GUIDE_TRANSLATIONS="`find $srcdir/doc/guide -maxdepth 1 -type d -print | sed -e 1d -e 's:.*/::' | tr '\n' ' '`" - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GUIDE_TRANSLATIONS" >&5 - $as_echo "$GUIDE_TRANSLATIONS" >&6; } - diff --git a/multimedia/mkvtoolnix/patches/patch-src_common_common_cpp b/multimedia/mkvtoolnix/patches/patch-src_common_common_cpp index 06a844e1363..177a7dc7e2b 100644 --- a/multimedia/mkvtoolnix/patches/patch-src_common_common_cpp +++ b/multimedia/mkvtoolnix/patches/patch-src_common_common_cpp @@ -1,12 +1,11 @@ -$OpenBSD: patch-src_common_common_cpp,v 1.2 2010/04/05 20:27:09 benoit Exp $ ---- src/common/common.cpp.orig Fri Feb 12 16:43:41 2010 -+++ src/common/common.cpp Sun Apr 4 20:34:51 2010 -@@ -13,6 +13,8 @@ +$OpenBSD: patch-src_common_common_cpp,v 1.3 2010/07/17 22:52:53 benoit Exp $ +--- src/common/common.cpp.orig Sat Jun 5 08:24:39 2010 ++++ src/common/common.cpp Sat Jun 26 20:42:11 2010 +@@ -14,6 +14,7 @@ + #include "common/common_pch.h" - #include "common/os.h" - -+#include -+ - #include #include - #include ++#include + #ifdef SYS_WINDOWS + # include + #endif diff --git a/multimedia/mkvtoolnix/patches/patch-src_common_dts_cpp b/multimedia/mkvtoolnix/patches/patch-src_common_dts_cpp index 02bef5daaff..b56f6c4fb73 100644 --- a/multimedia/mkvtoolnix/patches/patch-src_common_dts_cpp +++ b/multimedia/mkvtoolnix/patches/patch-src_common_dts_cpp @@ -1,10 +1,10 @@ ---- src/common/dts.cpp.orig Sat May 23 09:10:12 2009 -+++ src/common/dts.cpp Sat May 23 09:10:35 2009 +--- src/common/dts.cpp.orig Sat Jun 5 08:24:39 2010 ++++ src/common/dts.cpp Sat Jun 26 20:39:53 2010 @@ -14,6 +14,7 @@ #include #include +#include - #include "common/bit_cursor.h" - #include "common/common.h" + #include "common/common_pch.h" + diff --git a/multimedia/mkvtoolnix/patches/patch-src_common_random_cpp b/multimedia/mkvtoolnix/patches/patch-src_common_random_cpp index 7096f700b62..0a03e847915 100644 --- a/multimedia/mkvtoolnix/patches/patch-src_common_random_cpp +++ b/multimedia/mkvtoolnix/patches/patch-src_common_random_cpp @@ -1,7 +1,7 @@ -$OpenBSD: patch-src_common_random_cpp,v 1.3 2009/12/23 12:11:32 benoit Exp $ ---- src/common/random.cpp.orig Thu Aug 13 12:32:50 2009 -+++ src/common/random.cpp Thu Sep 10 12:08:56 2009 -@@ -98,7 +98,7 @@ +$OpenBSD: patch-src_common_random_cpp,v 1.4 2010/07/17 22:52:53 benoit Exp $ +--- src/common/random.cpp.orig Sat Jun 5 08:24:39 2010 ++++ src/common/random.cpp Sat Jun 26 20:39:53 2010 +@@ -98,7 +98,7 @@ random_c::generate_bytes(void *destination, try { if (!m_tried_dev_urandom) { m_tried_dev_urandom = true; diff --git a/multimedia/mkvtoolnix/pkg/PLIST b/multimedia/mkvtoolnix/pkg/PLIST index 5a731bee9ac..02134db6271 100644 --- a/multimedia/mkvtoolnix/pkg/PLIST +++ b/multimedia/mkvtoolnix/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.6 2010/04/17 13:14:05 benoit Exp $ +@comment $OpenBSD: PLIST,v 1.7 2010/07/17 22:52:55 benoit Exp $ @bin bin/mkvextract @bin bin/mkvinfo @bin bin/mkvmerge @@ -19,6 +19,9 @@ man/zh_CN.po/mkvmerge.1 man/zh_CN.po/mkvpropedit.1 share/locale/de/LC_MESSAGES/mkvtoolnix.mo share/locale/ja/LC_MESSAGES/mkvtoolnix.mo +share/locale/nl/LC_MESSAGES/mkvtoolnix.mo +share/locale/ru/LC_MESSAGES/mkvtoolnix.mo +share/locale/uk/LC_MESSAGES/mkvtoolnix.mo share/locale/zh_CN/LC_MESSAGES/mkvtoolnix.mo share/locale/zh_TW/LC_MESSAGES/mkvtoolnix.mo !%%no_x11%%