51 lines
1.7 KiB
Makefile
51 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.20 2022/06/30 11:18:03 nia Exp $
|
|
|
|
DISTNAME= quodlibet-4.5.0
|
|
PKGREVISION= 2
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=quodlibet/}
|
|
GITHUB_PROJECT= quodlibet
|
|
GITHUB_RELEASE= release-${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= nia@NetBSD.org
|
|
HOMEPAGE= https://quodlibet.readthedocs.io/
|
|
COMMENT= Ex Falso / Quod Libet - Music Library / Editor / Player
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-feedparser<6.0.0:../../textproc/py-feedparser5
|
|
DEPENDS+= ${PYPKGPREFIX}-gstreamer1-[0-9]*:../../multimedia/py-gstreamer1
|
|
DEPENDS+= ${PYPKGPREFIX}-mutagen-[0-9]*:../../audio/py-mutagen
|
|
|
|
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
|
|
|
|
USE_TOOLS+= msgfmt
|
|
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
|
|
|
# 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/egg.mk"
|
|
.include "../../devel/gettext-tools/msgfmt-desktop.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"
|