2021-03-19 13:08:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2021/03/19 12:08:15 nia Exp $
|
2019-10-01 14:42:12 +02:00
|
|
|
|
2021-03-19 13:08:15 +01:00
|
|
|
DISTNAME= quodlibet-4.4.0
|
2019-10-01 14:42:12 +02:00
|
|
|
CATEGORIES= audio
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=quodlibet/}
|
|
|
|
GITHUB_PROJECT= quodlibet
|
|
|
|
GITHUB_RELEASE= release-${PKGVERSION_NOREV}
|
|
|
|
|
2019-10-01 21:37:50 +02:00
|
|
|
MAINTAINER= nia@NetBSD.org
|
2019-10-01 14:42:12 +02:00
|
|
|
HOMEPAGE= https://quodlibet.readthedocs.io/
|
|
|
|
COMMENT= Ex Falso / Quod Libet - Music Library / Editor / Player
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2020-10-13 14:16:38 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-feedparser<6.0.0:../../textproc/py-feedparser5
|
2019-10-01 14:42:12 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-gstreamer1-[0-9]*:../../multimedia/py-gstreamer1
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-mutagen-[0-9]*:../../audio/py-mutagen
|
|
|
|
|
2020-04-28 14:52:02 +02:00
|
|
|
DEPENDS+= gst-plugins1-flac-[0-9]*:../../audio/gst-plugins1-flac
|
|
|
|
DEPENDS+= gst-plugins1-mpg123-[0-9]*:../../audio/gst-plugins1-mpg123
|
|
|
|
DEPENDS+= gst-plugins1-ogg-[0-9]*:../../multimedia/gst-plugins1-ogg
|
|
|
|
DEPENDS+= gst-plugins1-opus-[0-9]*:../../audio/gst-plugins1-opus
|
|
|
|
DEPENDS+= gst-plugins1-vorbis-[0-9]*:../../audio/gst-plugins1-vorbis
|
|
|
|
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "Linux"
|
|
|
|
DEPENDS+= gst-plugins1-alsa-[0-9]*:../../audio/gst-plugins1-alsa
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${OPSYS} != "Linux" && ${OSS_TYPE} != "none"
|
|
|
|
DEPENDS+= gst-plugins1-oss-[0-9]*:../../audio/gst-plugins1-oss
|
|
|
|
.endif
|
|
|
|
|
2019-10-01 14:42:12 +02:00
|
|
|
USE_TOOLS+= msgfmt
|
|
|
|
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
|
|
|
|
2021-03-19 13:08:15 +01:00
|
|
|
# msgfmt: unknown option -- desktop
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
|
|
TOOLS_PLATFORM.msgfmt=
|
|
|
|
.endif
|
2019-10-01 14:42:12 +02:00
|
|
|
|
|
|
|
# Requires Python 3.5 or higher
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/man/man1/* ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 || ${TRUE}
|
|
|
|
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
|
|
.include "../../multimedia/gst-plugins1-good/buildlink3.mk"
|
|
|
|
.include "../../net/libsoup/buildlink3.mk"
|
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|