Index: multimedia/subtitlecomposer/Makefile =================================================================== --- multimedia/subtitlecomposer/Makefile +++ multimedia/subtitlecomposer/Makefile @@ -17,9 +17,11 @@ USES= compiler:c++11-lang cmake desktop-file-utils gettext \ kde:5 pkgconfig qt:5 shared-mime-info -USE_KDE= auth codecs config configwidgets coreaddons ecm_build i18n \ - kio kross sonnet textwidgets widgetsaddons xmlgui -USE_QT= buildtools_build qmake_build core gui widgets +USE_KDE= auth bookmarks codecs completion config configwidgets coreaddons \ + ecm_build i18n itemviews jobwidgets kio kross parts service solid \ + sonnet textwidgets widgetsaddons windowsystem xmlgui +USE_QT= buildtools_build concurrent core dbus gui network qmake_build \ + script xml widgets USE_GITHUB= yes GH_ACCOUNT= maxrd2 @@ -62,4 +64,7 @@ ${REINPLACE_CMD} '/include /s,locale,clocale,' \ ${WRKSRC}/src/videoplayerplugins/mpv/mpvbackend.cpp +post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/subpicture + ${TOUCH} ${STAGEDIR}${PREFIX}/share/mime/subpicture/x-pgs.xml .include Index: multimedia/subtitlecomposer/pkg-plist =================================================================== --- multimedia/subtitlecomposer/pkg-plist +++ multimedia/subtitlecomposer/pkg-plist @@ -28,6 +28,7 @@ share/locale/uk/LC_MESSAGES/subtitlecomposer.mo share/metainfo/subtitlecomposer.desktop.appdata.xml share/mime/packages/subtitlecomposer.xml +share/mime/subpicture/x-pgs.xml %%DATADIR%%/icons/hicolor/128x128/categories/waveform.png %%DATADIR%%/icons/hicolor/16x16/actions/select_stream.png %%DATADIR%%/icons/hicolor/16x16/actions/time_from_video.png @@ -71,3 +72,4 @@ %%DATADIR%%/scripts/prepare_RTL_release.py %%DATADIR%%/scripts/remove_hearing_impaired_text.js %%DATADIR%%/scripts/undo_RTL_release.py +@dir share/mime/subpicture