View | Details | Raw Unified | Return to bug 249483 | Differences between
and this patch

Collapse All | Expand All

(-)b/multimedia/quodlibet/Makefile (+37 lines)
Added Link Here
1
# Created by: Byung-Hee HWANG <bh@izb.knu.ac.kr>
2
# $FreeBSD$
3
4
PORTNAME=	quodlibet
5
DISTVERSION=	4.3.0
6
CATEGORIES=	multimedia audio python
7
MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/release-${DISTVERSION}/
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
10
MAINTAINER=	aly@aaronly.me
11
COMMENT=	Music library/editor/player written in Python
12
13
LICENSE=	GPLv2
14
LICENSE_FILE=	${WRKSRC}/COPYING
15
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}dbus>0:devel/py-dbus@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}feedparser>0:textproc/py-feedparser@${PY_FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}mutagen>=1.34:audio/py-mutagen@${PY_FLAVOR} \
20
		${LOCALBASE}/libexec/notification-daemon:deskutils/notification-daemon
21
LIB_DEPENDS=	libsoup-2.4.so:devel/libsoup
22
23
USES=		desktop-file-utils gettext gnome python:3.6+ shebangfix
24
SHEBANG_FILES=	exfalso.py operon.py quodlibet.py
25
USE_PYTHON=	distutils autoplist
26
USE_GNOME=	gtk30 pygobject3
27
USE_GSTREAMER1=	good
28
29
NO_ARCH=	yes
30
CONFLICTS_INSTALL=	${PORTNAME}
31
32
OPTIONS_DEFINE=		PULSEAUDIO
33
34
PULSEAUDIO_DESC=	Support PulseAudio
35
PULSEAUDIO_USE=		GSTREAMER1=pulse
36
37
.include <bsd.port.mk>
(-)b/multimedia/quodlibet/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1600701937
2
SHA256 (quodlibet-4.3.0.tar.gz) = a2e5c027a69f138364c57e4adf72f5c08c235bc09a4bcd8f668e2847d76427e0
3
SIZE (quodlibet-4.3.0.tar.gz) = 4752295
(-)b/multimedia/quodlibet/files/patch-gdist_man.py (+11 lines)
Added Link Here
1
--- gdist/man.py.orig	2019-10-05 20:22:11 UTC
2
+++ gdist/man.py
3
@@ -54,7 +54,7 @@ class install_man(Command):
4
         )
5
 
6
         if self.mandir is None:
7
-            self.mandir = os.path.join(self.install_dir, 'share', 'man')
8
+            self.mandir = os.path.join(self.install_dir, 'man')
9
 
10
         self.man_pages = self.distribution.man_pages
11
         for man_page in self.man_pages:
(-)b/multimedia/quodlibet/files/patch-quodlibet_player_gstbe_util.py (+20 lines)
Added Link Here
1
--- quodlibet/player/gstbe/util.py.orig	2020-10-15 13:54:35 UTC
2
+++ quodlibet/player/gstbe/util.py
3
@@ -28,14 +28,9 @@ def pulse_is_running():
4
         element.set_state(Gst.State.NULL)
5
         return res != Gst.StateChangeReturn.FAILURE
6
 
7
-    # In case we don't have it call the pulseaudio binary
8
-    try:
9
-        subprocess.check_call(["pulseaudio", "--check"])
10
-    except subprocess.CalledProcessError:
11
-        return False
12
-    except OSError:
13
-        return False
14
-    return True
15
+    # NOTE: Don't check with 'pulseaudio --check' because it can't guarantee
16
+    #       Gstreamer works with PA (e.g., when 'pulsesink' not installed).
17
+    return False
18
 
19
 
20
 def link_many(elements):
(-)b/multimedia/quodlibet/pkg-descr (+6 lines)
Added Link Here
1
Quod Libet is a music management program.  It provides several different
2
ways to view your audio library, as well as support for Internet radio
3
and audio feeds.  It has extremely flexible metadata tag editing and
4
searching capabilities.
5
6
WWW: https://quodlibet.readthedocs.org/
(-)b/multimedia/quodlibet/pkg-message (-1 / +22 lines)
Added Link Here
0
- 
1
[
2
{ type: install
3
  message: <<EOM
4
Consider to install the following ports to support additional audio formats:
5
6
* multimedia/gstreamer1-plugins-faad : AAC audio support
7
* multimedia/gstreamer1-plugins-flac : FLAC audio support
8
* multimedia/gstreamer1-plugins-mpg123 : MP3 audio support
9
* multimedia/gstreamer1-plugins-ogg : Ogg audio support
10
* multimedia/gstreamer1-plugins-speex : Speex audio support
11
* multimedia/gstreamer1-plugins-vorbis : Vorbis audio support
12
* multimedia/gstreamer1-plugins-wavpack : WAV audio support
13
* multimedia/gstreamer1-libav : Many more audio (e.g., WMA) support
14
15
Some Quodlibet plugins require additional ports to be installed:
16
17
* audio/py-musicbrainzngs : for Musicbrainz plugin
18
* devel/py-pyinotify : for audio library update plugin
19
* www/webkit2-gtk3 : for lyrics window plugin
20
EOM
21
}
22
]

Return to bug 249483