diff --git a/multimedia/subtitlecomposer/Makefile b/multimedia/subtitlecomposer/Makefile index ec71999845c9..92c966f62429 100644 --- a/multimedia/subtitlecomposer/Makefile +++ b/multimedia/subtitlecomposer/Makefile @@ -1,36 +1,36 @@ PORTNAME= subtitlecomposer -PORTVERSION= 0.7.1 -PORTREVISION= 4 +DISTVERSION= 0.7.1.20230404 CATEGORIES= multimedia kde -MASTER_SITES= KDE/stable/${PORTNAME} MAINTAINER= makc@FreeBSD.org COMMENT= Advanced FFmpeg-based subtitle editor WWW= https://subtitlecomposer.kde.org LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libicui18n.so:devel/icu \ libavcodec.so:multimedia/ffmpeg USES= compiler:c++11-lang cmake desktop-file-utils gettext \ kde:5 openal pkgconfig qt:5 shared-mime-info tar:xz xorg USE_KDE= auth bookmarks codecs completion config configwidgets \ coreaddons jobwidgets i18n itemviews kio kross \ parts service solid sonnet textwidgets widgetsaddons \ windowsystem xmlgui \ doctools:build ecm:build USE_QT= buildtools:build qmake:build testlib:build \ - concurrent core dbus gui network script widgets xml + concurrent core dbus declarative gui network script widgets xml USE_XORG= x11 +KDE_INVENT= 838063e2d6a90a1219b8880ffa71570c9c9c31c0 multimedia subtitlecomposer + # Requires PocketSphinx-5prealpha SPHINX_DESC= Speech recognition via PocketSphinx SPHINX_LIB_DEPENDS= libpocketsphinx.so:audio/pocketsphinx CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_PocketSphinx=ON post-patch: ${RM} ${WRKSRC}/cmake/FindICU.cmake .include diff --git a/multimedia/subtitlecomposer/distinfo b/multimedia/subtitlecomposer/distinfo index dfe2f70ad4e2..c4b07fe0569f 100644 --- a/multimedia/subtitlecomposer/distinfo +++ b/multimedia/subtitlecomposer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1633635127 -SHA256 (subtitlecomposer-0.7.1.tar.xz) = ef9cb3c0c1fe1f40cf9d8e795859b9b28adf2da3be77a076d46bc28df4cd0255 -SIZE (subtitlecomposer-0.7.1.tar.xz) = 636808 +TIMESTAMP = 1681034223 +SHA256 (multimedia-subtitlecomposer-838063e2d6a90a1219b8880ffa71570c9c9c31c0_GL0.tar.gz) = 24ab1ae0c9f0b63e094bcd2565bc2e6244836d2e6731d48d69e2b19c10faefbe +SIZE (multimedia-subtitlecomposer-838063e2d6a90a1219b8880ffa71570c9c9c31c0_GL0.tar.gz) = 1234906 diff --git a/multimedia/subtitlecomposer/files/patch-src_CMakeLists.txt b/multimedia/subtitlecomposer/files/patch-src_CMakeLists.txt index d8a3b1d16d0f..538c5eb02d97 100644 --- a/multimedia/subtitlecomposer/files/patch-src_CMakeLists.txt +++ b/multimedia/subtitlecomposer/files/patch-src_CMakeLists.txt @@ -1,11 +1,11 @@ ---- src/CMakeLists.txt.orig 2020-12-15 09:57:06 UTC +--- src/CMakeLists.txt.orig 2023-04-04 01:59:38 UTC +++ src/CMakeLists.txt -@@ -24,7 +24,7 @@ add_definitions(-D_DEFAULT_SOURCE) +@@ -27,7 +27,7 @@ endif() find_package(FFmpeg 57.83.100 REQUIRED) find_package(OpenAL REQUIRED) -find_package(ICU) +find_package(ICU REQUIRED COMPONENTS i18n uc data) set(SC_PLUGIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${KDE_INSTALL_LIBDIR}/subtitlecomposer" CACHE STRING EXPORTEDVARIABLE) message(STATUS "Subtitle Composer plugin path: ${SC_PLUGIN_INSTALL_DIR}") diff --git a/multimedia/subtitlecomposer/files/patch-src_subtitlecomposer.xml b/multimedia/subtitlecomposer/files/patch-src_subtitlecomposer.xml new file mode 100644 index 000000000000..87526e41f892 --- /dev/null +++ b/multimedia/subtitlecomposer/files/patch-src_subtitlecomposer.xml @@ -0,0 +1,17 @@ +--- src/subtitlecomposer.xml.orig 2023-04-04 01:59:38 UTC ++++ src/subtitlecomposer.xml +@@ -119,14 +119,4 @@ + + + +- +- +- PGS subtitles +- +- +- +- +- +- +- + diff --git a/multimedia/subtitlecomposer/pkg-plist b/multimedia/subtitlecomposer/pkg-plist index f8fd0dd0320d..22f9f6562359 100644 --- a/multimedia/subtitlecomposer/pkg-plist +++ b/multimedia/subtitlecomposer/pkg-plist @@ -1,63 +1,59 @@ bin/subtitlecomposer etc/xdg/subtitlecomposerrc share/applications/org.kde.subtitlecomposer.desktop share/icons/hicolor/128x128/apps/subtitlecomposer.png share/icons/hicolor/16x16/apps/subtitlecomposer.png share/icons/hicolor/256x256/apps/subtitlecomposer.png share/icons/hicolor/32x32/apps/subtitlecomposer.png share/kxmlgui5/subtitlecomposer/subtitlecomposerui.rc +share/locale/ar/LC_MESSAGES/subtitlecomposer.mo share/locale/bg/LC_MESSAGES/subtitlecomposer.mo share/locale/ca/LC_MESSAGES/subtitlecomposer.mo share/locale/ca@valencia/LC_MESSAGES/subtitlecomposer.mo share/locale/cs/LC_MESSAGES/subtitlecomposer.mo share/locale/de/LC_MESSAGES/subtitlecomposer.mo share/locale/el/LC_MESSAGES/subtitlecomposer.mo share/locale/en_GB/LC_MESSAGES/subtitlecomposer.mo share/locale/es/LC_MESSAGES/subtitlecomposer.mo share/locale/et/LC_MESSAGES/subtitlecomposer.mo share/locale/fi/LC_MESSAGES/subtitlecomposer.mo share/locale/fr/LC_MESSAGES/subtitlecomposer.mo share/locale/hr/LC_MESSAGES/subtitlecomposer.mo share/locale/hu/LC_MESSAGES/subtitlecomposer.mo +share/locale/ie/LC_MESSAGES/subtitlecomposer.mo share/locale/it/LC_MESSAGES/subtitlecomposer.mo +share/locale/ja/LC_MESSAGES/subtitlecomposer.mo +share/locale/ka/LC_MESSAGES/subtitlecomposer.mo +share/locale/lt/LC_MESSAGES/subtitlecomposer.mo share/locale/nl/LC_MESSAGES/subtitlecomposer.mo share/locale/pl/LC_MESSAGES/subtitlecomposer.mo share/locale/pt/LC_MESSAGES/subtitlecomposer.mo share/locale/pt_BR/LC_MESSAGES/subtitlecomposer.mo share/locale/ru/LC_MESSAGES/subtitlecomposer.mo share/locale/sk/LC_MESSAGES/subtitlecomposer.mo share/locale/sl/LC_MESSAGES/subtitlecomposer.mo share/locale/sr/LC_MESSAGES/subtitlecomposer.mo share/locale/sr@latin/LC_MESSAGES/subtitlecomposer.mo share/locale/sv/LC_MESSAGES/subtitlecomposer.mo +share/locale/tr/LC_MESSAGES/subtitlecomposer.mo share/locale/uk/LC_MESSAGES/subtitlecomposer.mo +share/locale/zh_CN/LC_MESSAGES/subtitlecomposer.mo share/locale/zh_TW/LC_MESSAGES/subtitlecomposer.mo share/metainfo/org.kde.subtitlecomposer.appdata.xml share/mime/packages/subtitlecomposer.xml %%DATADIR%%/scripts/README %%DATADIR%%/scripts/api/scripting_list.h %%DATADIR%%/scripts/api/scripting_range.h %%DATADIR%%/scripts/api/scripting_rangelist.h %%DATADIR%%/scripts/api/scripting_rangesmodule.h -%%DATADIR%%/scripts/api/scripting_sstring.h +%%DATADIR%%/scripts/api/scripting_richstring.h %%DATADIR%%/scripts/api/scripting_stringsmodule.h %%DATADIR%%/scripts/api/scripting_subtitle.h %%DATADIR%%/scripts/api/scripting_subtitleline.h %%DATADIR%%/scripts/api/scripting_subtitlelinemodule.h %%DATADIR%%/scripts/api/scripting_subtitlemodule.h %%DATADIR%%/scripts/example_capitalize_all_lines.js -%%DATADIR%%/scripts/example_capitalize_all_lines.py -%%DATADIR%%/scripts/example_capitalize_all_lines.rb %%DATADIR%%/scripts/example_iterate_selection.js -%%DATADIR%%/scripts/example_iterate_selection.py -%%DATADIR%%/scripts/example_iterate_selection.rb -%%DATADIR%%/scripts/example_remove_impair_lines.js -%%DATADIR%%/scripts/example_remove_impair_lines.py -%%DATADIR%%/scripts/example_remove_impair_lines.rb +%%DATADIR%%/scripts/example_remove_odd_lines.js %%DATADIR%%/scripts/example_trim_to_selection.js -%%DATADIR%%/scripts/example_trim_to_selection.py -%%DATADIR%%/scripts/example_trim_to_selection.rb -%%DATADIR%%/scripts/fix_dialog_cues.py -%%DATADIR%%/scripts/prepare_RTL_release.py %%DATADIR%%/scripts/remove_hearing_impaired_text.js -%%DATADIR%%/scripts/undo_RTL_release.py