Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio audio: Add strawberry.
details: https://anonhg.NetBSD.org/pkgsrc/rev/43223e9a8075
branches: trunk
changeset: 431673:43223e9a8075
user: nia <nia%pkgsrc.org@localhost>
date: Fri May 15 17:38:35 2020 +0000
description:
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.
diffstat:
audio/Makefile | 3 +-
audio/strawberry/DESCR | 3 +
audio/strawberry/Makefile | 71 +++++++++++++++++++++++++++++++++++++++++++++
audio/strawberry/PLIST | 10 ++++++
audio/strawberry/distinfo | 6 +++
audio/strawberry/options.mk | 13 ++++++++
6 files changed, 105 insertions(+), 1 deletions(-)
diffs (140 lines):
diff -r 592c7f5752e1 -r 43223e9a8075 audio/Makefile
--- a/audio/Makefile Fri May 15 17:34:52 2020 +0000
+++ b/audio/Makefile Fri May 15 17:38:35 2020 +0000
@@ -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+= splay
SUBDIR+= sptk
SUBDIR+= squeezeboxserver
+SUBDIR+= strawberry
SUBDIR+= streamripper
SUBDIR+= streamtuner
SUBDIR+= suil
diff -r 592c7f5752e1 -r 43223e9a8075 audio/strawberry/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/strawberry/DESCR Fri May 15 17:38:35 2020 +0000
@@ -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.
diff -r 592c7f5752e1 -r 43223e9a8075 audio/strawberry/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/strawberry/Makefile Fri May 15 17:38:35 2020 +0000
@@ -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@localhost
+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"
diff -r 592c7f5752e1 -r 43223e9a8075 audio/strawberry/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/strawberry/PLIST Fri May 15 17:38:35 2020 +0000
@@ -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
diff -r 592c7f5752e1 -r 43223e9a8075 audio/strawberry/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/strawberry/distinfo Fri May 15 17:38:35 2020 +0000
@@ -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
diff -r 592c7f5752e1 -r 43223e9a8075 audio/strawberry/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/strawberry/options.mk Fri May 15 17:38:35 2020 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index