git: 8839c7149216 - main - audio/rhythmbox: fix PYTHON option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jun 2022 06:35:23 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8839c7149216b5c112c4be09a050e11f36d4c50e
commit 8839c7149216b5c112c4be09a050e11f36d4c50e
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2022-06-29 05:24:35 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2022-06-29 06:35:12 +0000
audio/rhythmbox: fix PYTHON option
While here, remove no longer used libmusicbrainz5, add USE_GNOME=gdkpixbuf2
from linkage detection and minor cleanups
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D35650
---
audio/rhythmbox/Makefile | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/audio/rhythmbox/Makefile b/audio/rhythmbox/Makefile
index 90c921a77b6a..869eb2e35ed0 100644
--- a/audio/rhythmbox/Makefile
+++ b/audio/rhythmbox/Makefile
@@ -15,8 +15,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat \
valac:lang/vala \
itstool:textproc/itstool
-LIB_DEPENDS= libmusicbrainz5.so:audio/libmusicbrainz5 \
- libtotem-plparser.so:multimedia/totem-pl-parser \
+LIB_DEPENDS= libtotem-plparser.so:multimedia/totem-pl-parser \
libdbus-1.so:devel/dbus \
libdbus-glib-1.so:devel/dbus-glib \
libsoup-2.4.so:devel/libsoup \
@@ -27,9 +26,8 @@ LIB_DEPENDS= libmusicbrainz5.so:audio/libmusicbrainz5 \
libtdb.so:databases/tdb
USES= desktop-file-utils gettext gnome gstreamer localbase:ldflags meson \
- pathfix pkgconfig tar:xz xorg
-USE_GNOME= cairo glib20 gtk30 introspection \
- pygobject3 libxml2
+ pkgconfig tar:xz xorg
+USE_GNOME= cairo gdkpixbuf2 glib20 gtk30 introspection libxml2
USE_XORG= ice x11 xorgproto
USE_GSTREAMER= flac lame jpeg cdparanoia vorbis
MESON_ARGS= -Dplugins_vala=enabled \
@@ -66,7 +64,9 @@ MTP_LIB_DEPENDS= libmtp.so:multimedia/libmtp
NOTIFY_MESON_ENABLED= libnotify
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
PYTHON_MESON_ENABLED= plugins_python
-PYTHON_USES= python:3.3+
+PYTHON_USES= python
+PYTHON_USE= gnome=pygobject3
PYTHON_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libpeas>=0:devel/py-libpeas@${PY_FLAVOR}
+PYTHON_BINARY_ALIAS= python3=${PYTHON_CMD}
.include <bsd.port.mk>