multimedia/showtime: new port

Play your favorite movies and video files without hassle. Showtime
features simple playback controls that fade out of your way when you're
watching, fullscreen, adjustable playback speed, multiple language and
subtitle tracks, and screenshots.

PR:	286697
This commit is contained in:
Olivier Duchateau 2025-06-11 17:57:18 +02:00 committed by Baptiste Daroussin
parent 9da4937b21
commit b6d0c87e62
6 changed files with 104 additions and 0 deletions

View File

@ -344,6 +344,7 @@
SUBDIR += scte35dump
SUBDIR += shotcut
SUBDIR += shotcut-qt6
SUBDIR += showtime
SUBDIR += simplescreenrecorder
SUBDIR += smpeg
SUBDIR += smpeg2

View File

@ -0,0 +1,29 @@
PORTNAME= showtime
DISTVERSION= 48.1
CATEGORIES= multimedia gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Video player for the GNOME desktop
WWW= https://apps.gnome.org/Showtime/
LICENSE= GPLv3+
BUILD_DEPENDS= blueprint-compiler>0:devel/blueprint-compiler
LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene
USES= desktop-file-utils gettext gnome gstreamer meson pkgconfig \
python tar:xz
USE_GNOME= glib20 gtk40 libadwaita pygobject3
USE_GSTREAMER= faad libav ogg opus plugins rust theora vorbis vpx x264
USE_PYTHON= py3kplist
BINARY_ALIAS= python3=${PYTHON_CMD}
GLIB_SCHEMAS= org.gnome.Showtime.gschema.xml
post-patch:
@${REINPLACE_CMD} -e 's|@PYTHON@|${PYTHON_CMD}|' \
${WRKSRC}/showtime/showtime.in
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1746795671
SHA256 (gnome/showtime-48.1.tar.xz) = 1b22202dbe540440797d5a065030c29c242b210e3d4ec5ceb42e320ecc544ab9
SIZE (gnome/showtime-48.1.tar.xz) = 4304548

View File

@ -0,0 +1,11 @@
--- showtime/showtime.in.orig 2025-05-03 15:21:59 UTC
+++ showtime/showtime.in
@@ -17,7 +17,7 @@ signal.signal(signal.SIGINT, signal.SIG_DFL)
sys.path.insert(1, pkgdatadir)
signal.signal(signal.SIGINT, signal.SIG_DFL)
-if system() == "Linux":
+if system() == "Linux" or system() == 'FreeBSD':
locale.bindtextdomain("showtime", localedir)
locale.textdomain("showtime")
gettext.install("showtime", localedir)

View File

@ -0,0 +1,4 @@
Play your favorite movies and video files without hassle. Showtime
features simple playback controls that fade out of your way when you're
watching, fullscreen, adjustable playback speed, multiple language and
subtitle tracks, and screenshots.

View File

@ -0,0 +1,56 @@
bin/showtime
%%PYTHON_SITELIBDIR%%/showtime/__init__.py
%%PYTHON_SITELIBDIR%%/showtime/application_delegate.py
%%PYTHON_SITELIBDIR%%/showtime/drag_overlay.py
%%PYTHON_SITELIBDIR%%/showtime/logging/color_log_formatter.py
%%PYTHON_SITELIBDIR%%/showtime/logging/session_file_handler.py
%%PYTHON_SITELIBDIR%%/showtime/logging/setup.py
%%PYTHON_SITELIBDIR%%/showtime/main.py
%%PYTHON_SITELIBDIR%%/showtime/messenger.py
%%PYTHON_SITELIBDIR%%/showtime/mpris.py
%%PYTHON_SITELIBDIR%%/showtime/play.py
%%PYTHON_SITELIBDIR%%/showtime/shared.py
%%PYTHON_SITELIBDIR%%/showtime/utils.py
%%PYTHON_SITELIBDIR%%/showtime/window.py
share/applications/org.gnome.Showtime.desktop
share/icons/hicolor/scalable/apps/org.gnome.Showtime.svg
share/icons/hicolor/symbolic/apps/org.gnome.Showtime-symbolic.svg
share/locale/be/LC_MESSAGES/showtime.mo
share/locale/bg/LC_MESSAGES/showtime.mo
share/locale/ca/LC_MESSAGES/showtime.mo
share/locale/cs/LC_MESSAGES/showtime.mo
share/locale/de/LC_MESSAGES/showtime.mo
share/locale/el/LC_MESSAGES/showtime.mo
share/locale/en_GB/LC_MESSAGES/showtime.mo
share/locale/eu/LC_MESSAGES/showtime.mo
share/locale/fa/LC_MESSAGES/showtime.mo
share/locale/fi/LC_MESSAGES/showtime.mo
share/locale/fr/LC_MESSAGES/showtime.mo
share/locale/he/LC_MESSAGES/showtime.mo
share/locale/hi/LC_MESSAGES/showtime.mo
share/locale/hu/LC_MESSAGES/showtime.mo
share/locale/ia/LC_MESSAGES/showtime.mo
share/locale/id/LC_MESSAGES/showtime.mo
share/locale/it/LC_MESSAGES/showtime.mo
share/locale/ka/LC_MESSAGES/showtime.mo
share/locale/kab/LC_MESSAGES/showtime.mo
share/locale/ko/LC_MESSAGES/showtime.mo
share/locale/ne/LC_MESSAGES/showtime.mo
share/locale/nl/LC_MESSAGES/showtime.mo
share/locale/oc/LC_MESSAGES/showtime.mo
share/locale/pa/LC_MESSAGES/showtime.mo
share/locale/pt/LC_MESSAGES/showtime.mo
share/locale/pt_BR/LC_MESSAGES/showtime.mo
share/locale/ro/LC_MESSAGES/showtime.mo
share/locale/ru/LC_MESSAGES/showtime.mo
share/locale/sk/LC_MESSAGES/showtime.mo
share/locale/sl/LC_MESSAGES/showtime.mo
share/locale/sr/LC_MESSAGES/showtime.mo
share/locale/sv/LC_MESSAGES/showtime.mo
share/locale/tr/LC_MESSAGES/showtime.mo
share/locale/uk/LC_MESSAGES/showtime.mo
share/locale/uz/LC_MESSAGES/showtime.mo
share/locale/zh_CN/LC_MESSAGES/showtime.mo
share/locale/zh_TW/LC_MESSAGES/showtime.mo
share/metainfo/org.gnome.Showtime.metainfo.xml
%%DATADIR%%/showtime.gresource