audio: Add strawberry.

Strawberry is a music player and music collection organizer. It is a fork
of Clementine, aimed at music collectors and audiophiles. It's written in
C++ using the Qt 5 toolkit.
This commit is contained in:
nia 2020-05-15 17:38:35 +00:00
parent 550c560f58
commit b1909de5d2
6 changed files with 105 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.599 2020/05/15 12:07:50 nia Exp $
# $NetBSD: Makefile,v 1.600 2020/05/15 17:38:35 nia Exp $
#
COMMENT= Audio tools
@ -432,6 +432,7 @@ SUBDIR+= spiralsynth
SUBDIR+= splay
SUBDIR+= sptk
SUBDIR+= squeezeboxserver
SUBDIR+= strawberry
SUBDIR+= streamripper
SUBDIR+= streamtuner
SUBDIR+= suil

3
audio/strawberry/DESCR Normal file
View file

@ -0,0 +1,3 @@
Strawberry is a music player and music collection organizer. It is a fork
of Clementine, aimed at music collectors and audiophiles. It's written in
C++ using the Qt 5 toolkit.

71
audio/strawberry/Makefile Normal file
View file

@ -0,0 +1,71 @@
# $NetBSD: Makefile,v 1.1 2020/05/15 17:38:35 nia Exp $
DISTNAME= strawberry-0.6.10
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=strawberrymusicplayer/}
GITHUB_PROJECT= strawberry
GITHUB_RELEASE= ${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.strawberrymusicplayer.org/
COMMENT= Music player and music collection organizer (based on Clemetine)
LICENSE= gnu-gpl-v3
TOOL_DEPENDS+= qt5-qttools-[0-9]*:../../x11/qt5-qttools
USE_CMAKE= yes
USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
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
. include "../../audio/alsa-lib/buildlink3.mk"
.else
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=TRUE
.endif
.if ${OPSYS} != "Linux" && ${OSS_TYPE} != "none"
DEPENDS+= gst-plugins1-oss-[0-9]*:../../audio/gst-plugins1-oss
.endif
.if ${OPSYS} == "NetBSD"
PREFER.sqlite3= pkgsrc # fts5
.endif
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
post-install:
${MV} ${DESTDIR}${PREFIX}/share/man/man1/* \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 | ${TRUE}
.include "options.mk"
.include "../../audio/chromaprint/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libmtp/buildlink3.mk"
.include "../../devel/protobuf/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../misc/libcdio/buildlink3.mk"
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.if ${OPSYS} != "Darwin"
. include "../../x11/libxcb/buildlink3.mk"
. include "../../x11/qt5-qtx11extras/buildlink3.mk"
.else
. include "../../x11/qt5-qtmacextras/buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"

10
audio/strawberry/PLIST Normal file
View file

@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.1 2020/05/15 17:38:35 nia Exp $
bin/strawberry
bin/strawberry-tagreader
man/man1/strawberry-tagreader.1
man/man1/strawberry.1
share/applications/org.strawberrymusicplayer.strawberry.desktop
share/icons/hicolor/128x128/apps/strawberry.png
share/icons/hicolor/48x48/apps/strawberry.png
share/icons/hicolor/64x64/apps/strawberry.png
share/metainfo/org.strawberrymusicplayer.strawberry.appdata.xml

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/05/15 17:38:35 nia Exp $
SHA1 (strawberry-0.6.10.tar.xz) = c46e8700827f8dbee736eec0d6f66b5c28c15d7b
RMD160 (strawberry-0.6.10.tar.xz) = 1f3ff594ba50b1382f0f55bf419e109f505f6479
SHA512 (strawberry-0.6.10.tar.xz) = 2495df4b7fafa2c0dfd87aa9ca37372782275db333241c334433a40f8c2e6400e79943a406ac553e8b657d3633d9e59de265088359b9589354b8e9d3d06d3637
Size (strawberry-0.6.10.tar.xz) = 9283932 bytes

View file

@ -0,0 +1,13 @@
# $NetBSD: options.mk,v 1.1 2020/05/15 17:38:35 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.strawberry
PKG_SUPPORTED_OPTIONS= pulseaudio
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mpulseaudio)
CMAKE_ARGS+= -DLIBPULSE=ON
. include "../../audio/pulseaudio/buildlink3.mk"
.else
CMAKE_ARGS+= -DLIBPULSE=OFF
.endif