pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri May 15 17:38:35 UTC 2020

Modified Files:
        pkgsrc/audio: Makefile
Added Files:
        pkgsrc/audio/strawberry: DESCR Makefile PLIST distinfo options.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.599 -r1.600 pkgsrc/audio/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/strawberry/DESCR \
    pkgsrc/audio/strawberry/Makefile pkgsrc/audio/strawberry/PLIST \
    pkgsrc/audio/strawberry/distinfo pkgsrc/audio/strawberry/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/Makefile
diff -u pkgsrc/audio/Makefile:1.599 pkgsrc/audio/Makefile:1.600
--- pkgsrc/audio/Makefile:1.599 Fri May 15 12:07:50 2020
+++ pkgsrc/audio/Makefile       Fri May 15 17:38:35 2020
@@ -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

Added files:

Index: pkgsrc/audio/strawberry/DESCR
diff -u /dev/null pkgsrc/audio/strawberry/DESCR:1.1
--- /dev/null   Fri May 15 17:38:35 2020
+++ pkgsrc/audio/strawberry/DESCR       Fri May 15 17:38:35 2020
@@ -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.
Index: pkgsrc/audio/strawberry/Makefile
diff -u /dev/null pkgsrc/audio/strawberry/Makefile:1.1
--- /dev/null   Fri May 15 17:38:35 2020
+++ pkgsrc/audio/strawberry/Makefile    Fri May 15 17:38:35 2020
@@ -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"
Index: pkgsrc/audio/strawberry/PLIST
diff -u /dev/null pkgsrc/audio/strawberry/PLIST:1.1
--- /dev/null   Fri May 15 17:38:35 2020
+++ pkgsrc/audio/strawberry/PLIST       Fri May 15 17:38:35 2020
@@ -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
Index: pkgsrc/audio/strawberry/distinfo
diff -u /dev/null pkgsrc/audio/strawberry/distinfo:1.1
--- /dev/null   Fri May 15 17:38:35 2020
+++ pkgsrc/audio/strawberry/distinfo    Fri May 15 17:38:35 2020
@@ -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
Index: pkgsrc/audio/strawberry/options.mk
diff -u /dev/null pkgsrc/audio/strawberry/options.mk:1.1
--- /dev/null   Fri May 15 17:38:35 2020
+++ pkgsrc/audio/strawberry/options.mk  Fri May 15 17:38:35 2020
@@ -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