summaryrefslogtreecommitdiff
path: root/multimedia/showtime
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/showtime')
-rw-r--r--multimedia/showtime/Makefile29
-rw-r--r--multimedia/showtime/distinfo3
-rw-r--r--multimedia/showtime/files/patch-showtime_showtime.in11
-rw-r--r--multimedia/showtime/pkg-descr4
-rw-r--r--multimedia/showtime/pkg-plist56
5 files changed, 103 insertions, 0 deletions
diff --git a/multimedia/showtime/Makefile b/multimedia/showtime/Makefile
new file mode 100644
index 000000000000..06626f85dc9c
--- /dev/null
+++ b/multimedia/showtime/Makefile
@@ -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>
diff --git a/multimedia/showtime/distinfo b/multimedia/showtime/distinfo
new file mode 100644
index 000000000000..e8c4e295d455
--- /dev/null
+++ b/multimedia/showtime/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1746795671
+SHA256 (gnome/showtime-48.1.tar.xz) = 1b22202dbe540440797d5a065030c29c242b210e3d4ec5ceb42e320ecc544ab9
+SIZE (gnome/showtime-48.1.tar.xz) = 4304548
diff --git a/multimedia/showtime/files/patch-showtime_showtime.in b/multimedia/showtime/files/patch-showtime_showtime.in
new file mode 100644
index 000000000000..d4f5f1d933d4
--- /dev/null
+++ b/multimedia/showtime/files/patch-showtime_showtime.in
@@ -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)
diff --git a/multimedia/showtime/pkg-descr b/multimedia/showtime/pkg-descr
new file mode 100644
index 000000000000..69bc5993b074
--- /dev/null
+++ b/multimedia/showtime/pkg-descr
@@ -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.
diff --git a/multimedia/showtime/pkg-plist b/multimedia/showtime/pkg-plist
new file mode 100644
index 000000000000..273d61692748
--- /dev/null
+++ b/multimedia/showtime/pkg-plist
@@ -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