aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2023-04-09 10:45:27 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2023-04-09 10:45:27 +0000
commit59641eb229a03d2a88b75fb2925dee28a00c03cd (patch)
treef7b4363eb213b3090409f2af13986f17881b6759
parent5a8a8de350e505169c15278c5398d7026bf85368 (diff)
downloadports-59641eb229a03d2a88b75fb2925dee28a00c03cd.tar.gz
ports-59641eb229a03d2a88b75fb2925dee28a00c03cd.zip
multimedia/subtitlecomposer: update to git snapshot 2023.04.04
- Update to git snapshot which fixes build with FFmpeg 6.0 - Patch shared mime-info to pacify stage-qa PR: 270301
-rw-r--r--multimedia/subtitlecomposer/Makefile8
-rw-r--r--multimedia/subtitlecomposer/distinfo6
-rw-r--r--multimedia/subtitlecomposer/files/patch-src_CMakeLists.txt4
-rw-r--r--multimedia/subtitlecomposer/files/patch-src_subtitlecomposer.xml17
-rw-r--r--multimedia/subtitlecomposer/pkg-plist22
5 files changed, 35 insertions, 22 deletions
diff --git a/multimedia/subtitlecomposer/Makefile b/multimedia/subtitlecomposer/Makefile
index ec71999845c9..92c966f62429 100644
--- a/multimedia/subtitlecomposer/Makefile
+++ b/multimedia/subtitlecomposer/Makefile
@@ -1,8 +1,6 @@
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
@@ -22,9 +20,11 @@ USE_KDE= auth bookmarks codecs completion config configwidgets \
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
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,6 +1,6 @@
---- 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)
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 @@
+ </magic>
+ <glob pattern="*.sym"/>
+ </mime-type>
+-
+- <mime-type type="subpicture/x-pgs">
+- <comment>PGS subtitles</comment>
+- <sub-class-of type="application/octet-stream"/>
+- <generic-icon name="text-x-generic"/>
+- <magic priority="50">
+- <match type="big32" value="0x50470000" mask="0xffffff00" offset="0"/>
+- </magic>
+- <glob pattern="*.sup"/>
+- </mime-type>
+ </mime-info>
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
@@ -6,6 +6,7 @@ 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
@@ -19,7 +20,11 @@ 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
@@ -30,7 +35,9 @@ 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
@@ -39,25 +46,14 @@ share/mime/packages/subtitlecomposer.xml
%%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