mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
276b32c59a
ABI is compatible but rebuild consumers anyway in case some can take advantage of new APIs e.g., https://github.com/mpv-player/mpv/commit/e08f235578aa - DVDREAD is no longer supported after https://github.com/mpv-player/mpv/commit/622940498525 - DVDNAV needs libdvdred after https://github.com/mpv-player/mpv/commit/34e6a26f4d5a - TEST needs newer dependency after https://github.com/mpv-player/mpv/commit/293dfc782552 - V4L can no longer use tv:// after https://github.com/mpv-player/mpv/commit/b30e85508a30 - VULKAN option uses libplacebo after https://github.com/mpv-player/mpv/commit/7006d6752d7d - ZIMG to support --vf=fingerprint after https://github.com/mpv-player/mpv/commit/9cfeafa89e2e - ZSH option is no longer needed after https://github.com/mpv-player/mpv/commit/2712db823884 - Drop --disable-vapoursynth-lazy after https://github.com/mpv-player/mpv/commit/fb8d240c4d04 - Add --disable-shaderc to avoid no longer used dependency brought via libplacebo Changes: https://github.com/mpv-player/mpv/releases/tag/v0.30.0
65 lines
1.7 KiB
Makefile
65 lines
1.7 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gnome-twitch
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.4.1-155
|
|
DISTVERSIONSUFFIX= -g8e774a0
|
|
PORTREVISION= 2
|
|
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 xorg
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= gtk30
|
|
USE_XORG= x11
|
|
|
|
GH_ACCOUNT= vinszent
|
|
GLIB_SCHEMAS= com.vinszent.GnomeTwitch.gschema.xml
|
|
INSTALLS_ICONS= yes
|
|
|
|
# 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=cairo,hls
|
|
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>
|