New port: multimedia/gnome-twitch

GTK based player for Twitch.tv online live video streams.

WWW: http://gnome-twitch.vinszent.com

PR:		224980
Submitted by:	greg@unrelenting.technology
Reviewed by:	yuri (earlier version)
This commit is contained in:
Tobias Kortkamp 2019-01-26 10:48:48 +00:00
parent 7cf1a5a7a3
commit 20ef89b009
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491259
5 changed files with 105 additions and 0 deletions

View File

@ -92,6 +92,7 @@
SUBDIR += gnome-mplayer
SUBDIR += gnome-mpv
SUBDIR += gnome-subtitles
SUBDIR += gnome-twitch
SUBDIR += gpac-libgpac
SUBDIR += gpac-mp4box
SUBDIR += gpodder

View File

@ -0,0 +1,60 @@
# $FreeBSD$
PORTNAME= gnome-twitch
DISTVERSIONPREFIX= v
DISTVERSION= 0.4.1-147
DISTVERSIONSUFFIX= -gbbca68b
CATEGORIES= multimedia
MAINTAINER= greg@unrelenting.technology
COMMENT= GTK+ Twitch livestream player
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/GPL3
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
libpeas-1.0.so:devel/libpeas \
libsoup-2.4.so:devel/libsoup \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
USES= compiler:c11 gettext gnome meson pkgconfig python:3.5+,build tar:xz
USE_GITHUB= yes
GH_ACCOUNT= vinszent
USE_GNOME= gtk30
GLIB_SCHEMAS= com.vinszent.GnomeTwitch.gschema.xml
INSTALLS_ICONS= yes
USE_XORG= x11
# for meson_post-install.py
BINARY_ALIAS= python3=${PYTHON_CMD}
# prevent stray USE_GNOME=gdkpixbuf2
LDFLAGS+= -Wl,--as-needed
MESON_ARGS= -Dbuild-player-backends=${PLAYER_BACKENDS:tl:S/_/-/:ts,}
OPTIONS_MULTI= BACKEND
OPTIONS_MULTI_BACKEND= GSTREAMER_CAIRO GSTREAMER_CLUTTER \
GSTREAMER_OPENGL MPV_OPENGL
OPTIONS_DEFAULT= MPV_OPENGL
OPTIONS_SUB= yes
GSTREAMER_CAIRO_DESC= GStreamer decoding + Cairo drawing backend
GSTREAMER_OPENGL_DESC= GStreamer decoding + OpenGL drawing backend
GSTREAMER_CLUTTER_DESC= GStreamer decoding + Clutter drawing backend
MPV_OPENGL_DESC= MPV decoding + OpenGL drawing backend
GSTREAMER_CLUTTER_LIB_DEPENDS= libclutter-1.0.so:graphics/clutter \
libclutter-gst-3.0.so:multimedia/clutter-gst3 \
libclutter-gtk-1.0.so:graphics/clutter-gtk3
GSTREAMER_CLUTTER_USE= gstreamer1=hls
GSTREAMER_CAIRO_USE= gstreamer1=hls,cairo
GSTREAMER_OPENGL_USE= gstreamer1=hls
MPV_OPENGL_LIB_DEPENDS= libepoxy.so:graphics/libepoxy \
libmpv.so:multimedia/mpv
.for opt in ${OPTIONS_MULTI_BACKEND}
${opt}_VARS= PLAYER_BACKENDS+=${opt}
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1525519896
SHA256 (vinszent-gnome-twitch-v0.4.1-147-gbbca68b_GH0.tar.gz) = 81132f4ea1024190662e74e3fdb7fa70f3afb1706f4510339123c0b432709c9b
SIZE (vinszent-gnome-twitch-v0.4.1-147-gbbca68b_GH0.tar.gz) = 1435742

View File

@ -0,0 +1,3 @@
GTK based player for Twitch.tv online live video streams.
WWW: http://gnome-twitch.vinszent.com

View File

@ -0,0 +1,38 @@
bin/gnome-twitch
include/gnome-twitch/gt-log.h
include/gnome-twitch/gt-player-backend.h
lib/girepository-1.0/GnomeTwitch-0.4.1.typelib
%%GSTREAMER_CAIRO%%lib/gnome-twitch/player-backends/libplayer-backend-gstreamer-cairo.so
%%GSTREAMER_CLUTTER%%lib/gnome-twitch/player-backends/libplayer-backend-gstreamer-clutter.so
%%GSTREAMER_OPENGL%%lib/gnome-twitch/player-backends/libplayer-backend-gstreamer-opengl.so
%%MPV_OPENGL%%lib/gnome-twitch/player-backends/libplayer-backend-mpv-opengl.so
%%GSTREAMER_CAIRO%%lib/gnome-twitch/player-backends/player-backend-gstreamer-cairo.plugin
%%GSTREAMER_CLUTTER%%lib/gnome-twitch/player-backends/player-backend-gstreamer-clutter.plugin
%%GSTREAMER_OPENGL%%lib/gnome-twitch/player-backends/player-backend-gstreamer-opengl.plugin
%%MPV_OPENGL%%lib/gnome-twitch/player-backends/player-backend-mpv-opengl.plugin
lib/libgnome-twitch.so
lib/libgnome-twitch.so.0
lib/libgnome-twitch.so.0.4.1
libdata/pkgconfig/gnome-twitch.pc
share/gir-1.0/GnomeTwitch-0.4.1.gir
share/applications/com.vinszent.GnomeTwitch.desktop
share/icons/hicolor/16x16/apps/com.vinszent.GnomeTwitch.png
share/icons/hicolor/24x24/apps/com.vinszent.GnomeTwitch.png
share/icons/hicolor/256x256/apps/com.vinszent.GnomeTwitch.png
share/icons/hicolor/32x32/apps/com.vinszent.GnomeTwitch.png
share/icons/hicolor/48x48/apps/com.vinszent.GnomeTwitch.png
share/icons/hicolor/512x512/apps/com.vinszent.GnomeTwitch.png
share/icons/hicolor/scalable/apps/com.vinszent.GnomeTwitch.svg
share/icons/hicolor/symbolic/apps/com.vinszent.GnomeTwitch-symbolic.svg
share/locale/cs/LC_MESSAGES/gnome-twitch.mo
share/locale/de/LC_MESSAGES/gnome-twitch.mo
share/locale/es/LC_MESSAGES/gnome-twitch.mo
share/locale/fr/LC_MESSAGES/gnome-twitch.mo
share/locale/hu/LC_MESSAGES/gnome-twitch.mo
share/locale/nl/LC_MESSAGES/gnome-twitch.mo
share/locale/pl/LC_MESSAGES/gnome-twitch.mo
share/locale/pt/LC_MESSAGES/gnome-twitch.mo
share/locale/ru/LC_MESSAGES/gnome-twitch.mo
share/locale/sr/LC_MESSAGES/gnome-twitch.mo
share/locale/sv/LC_MESSAGES/gnome-twitch.mo
share/metainfo/com.vinszent.GnomeTwitch.appdata.xml