diff --git a/audio/exaile/Makefile b/audio/exaile/Makefile index 1105ac8730b3..c6a08dd32335 100644 --- a/audio/exaile/Makefile +++ b/audio/exaile/Makefile @@ -1,40 +1,41 @@ PORTNAME= exaile DISTVERSION= 4.2.1 +PORTREVISION= 1 CATEGORIES= audio MAINTAINER= rm@FreeBSD.org COMMENT= Full featured python-based music player for GTK WWW= https://exaile.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING # berkeleydb now only needed for upgrade from previous versions; remove in next update RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}berkeleydb>0:databases/py-berkeleydb@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}gstreamer1>0:multimedia/py-gstreamer1@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} USES= desktop-file-utils gmake gnome gstreamer python USE_GITHUB= yes USE_GNOME= gtk30 librsvg2 pygobject3 USE_GSTREAMER= faad good MAKE_ENV= EPREFIX=${PREFIX} \ PYTHON3_CMD=${PYTHON_CMD} \ XDGCONFDIR=${PREFIX}/etc/xdg NO_ARCH= yes OPTIONS_DEFINE= DOCS NLS UDISKS2 OPTIONS_SUB= yes UDISKS2_DESC= UDISKS2 implementation for hardware detection NLS_BUILD_DEPENDS= help2man:misc/help2man NLS_USES= gettext NLS_INSTALL_TARGET_OFF= install_no_locale UDISKS2_RUN_DEPENDS= ${LOCALBASE}bin/bsdisks:sysutils/bsdisks .include diff --git a/audio/exaile/files/patch-xl_player_gst_sink.py b/audio/exaile/files/patch-xl_player_gst_sink.py new file mode 100644 index 000000000000..a987594b73d2 --- /dev/null +++ b/audio/exaile/files/patch-xl_player_gst_sink.py @@ -0,0 +1,16 @@ +https://github.com/exaile/exaile/issues/999 + +--- xl/player/gst/sink.py.orig 2025-12-08 18:00:20 UTC ++++ xl/player/gst/sink.py +@@ -83,7 +83,10 @@ def __filter_presets(): + def __filter_presets(): + for name, preset in list(SINK_PRESETS.items()): + pipe = preset.get('pipe') +- if pipe and not Gst.ElementFactory.make(pipe): ++ try: ++ if pipe and not Gst.ElementFactory.make(pipe): ++ del SINK_PRESETS[name] ++ except Exception: + del SINK_PRESETS[name] + +