1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
5 KEYWORDS= multimedia graphics
7 SDESC[standard]= Matroska media files manipulation tools
8 HOMEPAGE= https://mkvtoolnix.download/
12 SITES[main]= https://mkvtoolnix.download/sources/
13 DISTFILE[1]= mkvtoolnix-73.0.0.tar.xz:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILD_DEPENDS= docbook-xsl:primary:standard
23 ruby-rake:single:ruby_default
24 libxslt:single:standard
26 qt5-qtbase:primary:standard
28 BUILDRUN_DEPENDS= libmatroska:single:standard
29 pcre2:primary:standard
30 libvorbis:primary:standard
31 libogg:primary:standard
33 boost-libraries:single:standard
35 libdvdread:single:standard
36 pugixml:single:standard
37 qt5-qtmultimedia:single:standard
40 qt5-qtsvg:single:standard
42 USES= zlib pkgconfig gettext-tools gettext-runtime
43 iconv:build solaris-funcs mime-info:primary
45 C_USES[freebsd]= clang
47 FPC_EQUIVALENT= multimedia/mkvtoolnix
48 SOL_FUNCTIONS= timegm:src/common/date_time.cpp
51 CONFIGURE_ARGS= --prefix="{{PREFIX}}"
52 --with-boost="{{LOCALBASE}}"
53 --with-docbook-xsl-root="{{PREFIX}}/share/xsl/docbook"
57 --with-qmake="{{LOCALBASE}}/lib/qt5/bin/qmake"
59 CONFIGURE_ENV= PKG_CONFIG_PATH="{{LOCALBASE}}/lib/qt5/pkgconfig"
65 VAR_OPSYS[sunos]= LDFLAGS=-lintl
68 ${FIND} ${WRKSRC} -type f -name "windows\.cpp" -delete
69 ${FIND} ${WRKSRC} -type f -name "macos\.cpp" -delete
70 ${FIND} ${WRKSRC} -type f -name "[wm]*_program_runner*" -delete
71 ${RM} ${WRKSRC}/src/mkvtoolnix-gui/util/windows_font.cpp
72 if [ "${OPSYS}" != "Linux" ]; then \
73 ${RM} ${WRKSRC}/src/mkvtoolnix-gui/jobs/program_runner/linux_program_runner.*; \
76 [FILE:112:descriptions/desc.primary]
77 MKVToolNix is a set of tools to create, alter and inspect Matroska files
78 under Linux, other Unices and Windows.
82 f31a129723571b46a974bc5d57d73733c1245ee429afd6ddaf274038e94e2280 10996112 mkvtoolnix-73.0.0.tar.xz
85 [FILE:2760:manifests/plist.primary]
92 share/applications/org.bunkus.mkvtoolnix-gui.desktop
93 share/icons/hicolor/128x128/apps/
99 share/icons/hicolor/16x16/apps/
105 share/icons/hicolor/24x24/apps/
111 share/icons/hicolor/256x256/apps/
117 share/icons/hicolor/32x32/apps/
123 share/icons/hicolor/48x48/apps/
129 share/icons/hicolor/64x64/apps/
135 share/icons/hicolor/96x96/apps/
219 share/man/zh_CN/man1/
225 share/man/zh_TW/man1/
231 share/metainfo/org.bunkus.mkvtoolnix-gui.appdata.xml
232 share/mime/packages/org.bunkus.mkvtoolnix-gui.xml
233 share/mkvtoolnix/sounds/
239 [FILE:1074:manifests/plist.nls]
240 share/locale/bg/LC_MESSAGES/mkvtoolnix.mo
241 share/locale/ca/LC_MESSAGES/mkvtoolnix.mo
242 share/locale/cs/LC_MESSAGES/mkvtoolnix.mo
243 share/locale/de/LC_MESSAGES/mkvtoolnix.mo
244 share/locale/es/LC_MESSAGES/mkvtoolnix.mo
245 share/locale/eu/LC_MESSAGES/mkvtoolnix.mo
246 share/locale/fr/LC_MESSAGES/mkvtoolnix.mo
247 share/locale/it/LC_MESSAGES/mkvtoolnix.mo
248 share/locale/ja/LC_MESSAGES/mkvtoolnix.mo
249 share/locale/ko/LC_MESSAGES/mkvtoolnix.mo
250 share/locale/lt/LC_MESSAGES/mkvtoolnix.mo
251 share/locale/nl/LC_MESSAGES/mkvtoolnix.mo
252 share/locale/pl/LC_MESSAGES/mkvtoolnix.mo
253 share/locale/pt/LC_MESSAGES/mkvtoolnix.mo
254 share/locale/pt_BR/LC_MESSAGES/mkvtoolnix.mo
255 share/locale/ro/LC_MESSAGES/mkvtoolnix.mo
256 share/locale/ru/LC_MESSAGES/mkvtoolnix.mo
257 share/locale/sr_RS/LC_MESSAGES/mkvtoolnix.mo
258 share/locale/sr_RS@latin/LC_MESSAGES/mkvtoolnix.mo
259 share/locale/sv/LC_MESSAGES/mkvtoolnix.mo
260 share/locale/tr/LC_MESSAGES/mkvtoolnix.mo
261 share/locale/uk/LC_MESSAGES/mkvtoolnix.mo
262 share/locale/zh_CN/LC_MESSAGES/mkvtoolnix.mo
263 share/locale/zh_SG/LC_MESSAGES/mkvtoolnix.mo
264 share/locale/zh_TW/LC_MESSAGES/mkvtoolnix.mo
267 [FILE:389:patches/patch-Rakefile]
268 --- Rakefile.orig 2022-11-13 11:57:34 UTC
270 @@ -244,8 +244,6 @@ def determine_optimization_cflags
273 def determine_stack_protector_flags
274 - return " -fstack-protector" if is_gcc? && !check_compiler_version("gcc", "4.9.0")
275 - return " -fstack-protector-strong" if check_compiler_version("gcc", "4.9.0") || check_compiler_version("clang", "3.5.0")
281 [FILE:575:patches/patch-configure]
282 --- configure.orig 2022-11-13 11:57:42 UTC
284 @@ -8974,14 +8974,10 @@ fi
285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fmt" >&5
286 printf "%s\n" "$ac_cv_fmt" >&6; }
288 -if test x"$ac_cv_fmt" = xyes; then
291 - { printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using the internal version of fmt" >&5
292 +{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: Using the internal version of fmt" >&5
293 printf "%s\n" "$as_me: Using the internal version of fmt" >&6;}
298 if test $ac_cv_fmt_v8 = yes; then
302 [FILE:359:patches/patch-lib_fmt_include_fmt_os.h]
303 --- lib/fmt/include/fmt/os.h.orig 2022-11-13 11:57:41 UTC
304 +++ lib/fmt/include/fmt/os.h
307 #include <system_error> // std::system_error
309 -#if defined __APPLE__ || defined(__FreeBSD__)
310 +#if defined __APPLE__ || defined(__FreeBSD__) || defined(__DragonFly__)
311 # include <xlocale.h> // for LC_NUMERIC_MASK on OS X
316 [FILE:335:patches/patch-lib_fmt_src_fmt.cc]
317 --- lib/fmt/src/fmt.cc.orig 2022-11-13 11:57:41 UTC
318 +++ lib/fmt/src/fmt.cc
319 @@ -46,7 +46,7 @@ module;
323 -#if defined __APPLE__ || defined(__FreeBSD__)
324 +#if defined __APPLE__ || defined(__FreeBSD__) || defined(__DragonFly__)
325 # include <xlocale.h>
327 #if __has_include(<winapifamily.h>)
330 [FILE:690:patches/patch-src_common_locale.cpp]
331 $NetBSD: patch-src_common_locale.cpp,v 1.2 2020/05/31 11:34:15 adam Exp $
333 Remove broken SunOS section that is no longer needed.
334 https://gitlab.com/mbunkus/mkvtoolnix/issues/2450
336 --- src/common/locale.cpp.orig 2022-11-13 11:57:34 UTC
337 +++ src/common/locale.cpp
338 @@ -286,12 +286,6 @@ get_local_charset() {
339 setlocale(LC_CTYPE, "");
340 #if defined(COMP_MINGW) || defined(COMP_MSC)
341 lc_charset = fmt::format("CP{0}", GetACP());
342 -#elif defined(SYS_SOLARIS)
345 - lc_charset = nl_langinfo(CODESET);
346 - if (mtx::string::parse_number(lc_charset, i))
347 - lc_charset = "ISO"s + lc_charset + "-US"s;
348 #elif HAVE_NL_LANGINFO
349 lc_charset = nl_langinfo(CODESET);
350 #elif HAVE_LOCALE_CHARSET
353 [FILE:362:patches/patch-src_common_os.h]
354 --- src/common/os.h.orig 2022-11-13 11:57:34 UTC
360 -# if defined(__bsdi__) || defined(__FreeBSD__)
361 +# if defined(__bsdi__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
363 # elif defined(__sun) && defined(__SUNPRO_CC)
367 [FILE:761:patches/patch-src_mkvtoolnix-gui_util_sleep__inhibitor.cpp]
368 --- src/mkvtoolnix-gui/util/sleep_inhibitor.cpp.orig 2022-11-13 11:57:34 UTC
369 +++ src/mkvtoolnix-gui/util/sleep_inhibitor.cpp
371 # include "mkvtoolnix-gui/util/sleep_inhibitor/windows.h"
372 #elif defined(SYS_APPLE)
373 # include "mkvtoolnix-gui/util/sleep_inhibitor/macos.h"
374 -#elif defined(HAVE_QTDBUS)
375 +#elif defined(SYS_LINUX)
376 # include "mkvtoolnix-gui/util/sleep_inhibitor/linux_logind.h"
379 @@ -66,7 +66,7 @@ BasicSleepInhibitor::create() {
380 inhibitor->addInhibitor(std::make_shared<WindowsSleepInhibitor>());
381 #elif defined(SYS_APPLE)
382 inhibitor->addInhibitor(std::make_shared<MacOSSleepInhibitor>());
383 -#elif defined(HAVE_QTDBUS)
384 +#elif defined(SYS_LINUX)
385 inhibitor->addInhibitor(std::make_shared<LogindSleepInhibitor>());
390 [FILE:18:files/special.mk]