Skip to content

Commit

Permalink
multimedia/subtitlecomposer: update to git snapshot 2023.04.04
Browse files Browse the repository at this point in the history
- Update to git snapshot which fixes build with FFmpeg 6.0
- Patch shared mime-info to pacify stage-qa

PR:	270301
  • Loading branch information
MaxBrazhnikov committed Apr 9, 2023
1 parent 5a8a8de commit 59641eb
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 22 deletions.
8 changes: 4 additions & 4 deletions 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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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
4 changes: 2 additions & 2 deletions 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)
Expand Down
17 changes: 17 additions & 0 deletions 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>
22 changes: 9 additions & 13 deletions multimedia/subtitlecomposer/pkg-plist
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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

0 comments on commit 59641eb

Please sign in to comment.