strawberry: Update to 1.0.21 Strawberry Music Player ======================= ChangeLog Version 1.0.21 (2023.10.21): Bugfixes: * Fixed seekbar position resetting to zero before showing actual position when seeking. * Fixed compressed files showing up in collection * Fixed connecting devices * Fixed device schema missing ebur128 fields. * Fixed collection search by tag not working with space between colon and search term * Fixed seeking when 5 seconds is remaining of the song resetting position to beginning * Fixed intermittent crash when seeking with Auto as output Enhancements: * Support using system KDSingleApplication when available. * Improved lyrics matching. * (macOS) Fully codesign binaries and DMG. Version 1.0.20 (2023.09.24): Bugfixes: * Fixed appdata validation. Version 1.0.19 (2023.09.24): Bugfixes: * Use shared pointers for objects to fix potential crashes on exit * Fixed smart playlist search not matching unrated songs * Fixed reading FMPS_Playcount for MP3 ID3v2 tags * Always stop playing after 100 errors to prevent flooding the error dialog * Fixed volume going to 100% when decreasing volume beyond zero * Fixed error dialog sometimes showing empty. * (macOS) Fixed missing search bars Enhancements: * Add Mpris2 property to read/write rating * Capitalize playlist column names * Added lyrics from songlyrics.com, azlyrics.com, elyrics.net and lyricsmode.com. New features * Support performing song loudness analysis using `libebur128` * Support song playback loudness normalization, as per EBU R 128 Other: * Removed last.fm HTTPS workaround and GnuTLS dependency * Removed broken lyrics.com lyrics provider.diff -r1.59 -r1.60 pkgsrc/audio/strawberry/Makefile
(nia)
@@ -1,17 +1,16 @@ | @@ -1,17 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.59 2023/11/15 18:14:41 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.60 2023/11/20 00:58:09 nia Exp $ | |
2 | 2 | |||
3 | DISTNAME= strawberry-1.0.18 | 3 | DISTNAME= strawberry-1.0.21 | |
4 | PKGREVISION= 5 | |||
5 | CATEGORIES= audio | 4 | CATEGORIES= audio | |
6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=strawberrymusicplayer/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=strawberrymusicplayer/} | |
7 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | 6 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | |
8 | EXTRACT_SUFX= .tar.xz | 7 | EXTRACT_SUFX= .tar.xz | |
9 | 8 | |||
10 | MAINTAINER= nia@NetBSD.org | 9 | MAINTAINER= nia@NetBSD.org | |
11 | HOMEPAGE= https://www.strawberrymusicplayer.org/ | 10 | HOMEPAGE= https://www.strawberrymusicplayer.org/ | |
12 | COMMENT= Music player and music collection organizer (based on Clementine) | 11 | COMMENT= Music player and music collection organizer (based on Clementine) | |
13 | LICENSE= gnu-gpl-v3 | 12 | LICENSE= gnu-gpl-v3 | |
14 | 13 | |||
15 | USE_LANGUAGES= c c++ | 14 | USE_LANGUAGES= c c++ | |
16 | USE_TOOLS+= pkg-config | 15 | USE_TOOLS+= pkg-config | |
17 | 16 | |||
@@ -44,33 +43,33 @@ DEPENDS+= gst-plugins1-oss-[0-9]*:../../ | @@ -44,33 +43,33 @@ DEPENDS+= gst-plugins1-oss-[0-9]*:../../ | |||
44 | PREFER.sqlite3= pkgsrc # fts5 | 43 | PREFER.sqlite3= pkgsrc # fts5 | |
45 | .endif | 44 | .endif | |
46 | 45 | |||
47 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 | 46 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 | |
48 | 47 | |||
49 | CHECK_PORTABILITY_SKIP+= dist/macos/macversion.sh | 48 | CHECK_PORTABILITY_SKIP+= dist/macos/macversion.sh | |
50 | 49 | |||
51 | post-install: | 50 | post-install: | |
52 | ${MV} ${DESTDIR}${PREFIX}/share/man/man1/* \ | 51 | ${MV} ${DESTDIR}${PREFIX}/share/man/man1/* \ | |
53 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 || ${TRUE} | 52 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 || ${TRUE} | |
54 | 53 | |||
55 | .include "options.mk" | 54 | .include "options.mk" | |
56 | .include "../../audio/chromaprint/buildlink3.mk" | 55 | .include "../../audio/chromaprint/buildlink3.mk" | |
56 | .include "../../audio/libebur128/buildlink3.mk" | |||
57 | .include "../../audio/taglib/buildlink3.mk" | 57 | .include "../../audio/taglib/buildlink3.mk" | |
58 | .include "../../databases/sqlite3/buildlink3.mk" | 58 | .include "../../databases/sqlite3/buildlink3.mk" | |
59 | .include "../../devel/boost-libs/buildlink3.mk" | 59 | .include "../../devel/boost-libs/buildlink3.mk" | |
60 | .include "../../devel/cmake/build.mk" | 60 | .include "../../devel/cmake/build.mk" | |
61 | .include "../../devel/gettext-lib/buildlink3.mk" | 61 | .include "../../devel/gettext-lib/buildlink3.mk" | |
62 | .include "../../devel/libmtp/buildlink3.mk" | 62 | .include "../../devel/libmtp/buildlink3.mk" | |
63 | .include "../../devel/protobuf/buildlink3.mk" | 63 | .include "../../devel/protobuf/buildlink3.mk" | |
64 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | 64 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | |
65 | .include "../../security/gnutls/buildlink3.mk" | |||
66 | .include "../../math/fftw/buildlink3.mk" | 65 | .include "../../math/fftw/buildlink3.mk" | |
67 | .include "../../misc/libcdio/buildlink3.mk" | 66 | .include "../../misc/libcdio/buildlink3.mk" | |
68 | .include "../../multimedia/gst-plugins1-base/buildlink3.mk" | 67 | .include "../../multimedia/gst-plugins1-base/buildlink3.mk" | |
69 | .include "../../multimedia/gst-plugins1-good/buildlink3.mk" | 68 | .include "../../multimedia/gst-plugins1-good/buildlink3.mk" | |
70 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | 69 | .include "../../sysutils/desktop-file-utils/desktopdb.mk" | |
71 | .include "../../sysutils/dbus/buildlink3.mk" | 70 | .include "../../sysutils/dbus/buildlink3.mk" | |
72 | .include "../../textproc/icu/buildlink3.mk" | 71 | .include "../../textproc/icu/buildlink3.mk" | |
73 | .if ${OPSYS} != "Darwin" | 72 | .if ${OPSYS} != "Darwin" | |
74 | . include "../../x11/libxcb/buildlink3.mk" | 73 | . include "../../x11/libxcb/buildlink3.mk" | |
75 | .endif | 74 | .endif | |
76 | .include "../../mk/bsd.pkg.mk" | 75 | .include "../../mk/bsd.pkg.mk" |
@@ -1,13 +1,12 @@ | @@ -1,13 +1,12 @@ | |||
1 | $NetBSD: distinfo,v 1.25 2023/08/22 20:26:29 adam Exp $ | 1 | $NetBSD: distinfo,v 1.26 2023/11/20 00:58:09 nia Exp $ | |
2 | 2 | |||
3 | BLAKE2s (strawberry-1.0.18.tar.xz) = e6d0d263252485b94f0a5482be6943e1482c8ac7dc0d927584eab3b25eaf0a22 | 3 | BLAKE2s (strawberry-1.0.21.tar.xz) = 0262a806044e92436a446bd4371e989371182ca73a245297c0a78fe2790f3f13 | |
4 | SHA512 (strawberry-1.0.18.tar.xz) = 3a4c38198ac71384bfadb336b77fb316009836340fe763a7fc00c7d084ca219797512f30fe8487a086ca37860c707c661865eea00a89f6d8058c063380ed7a94 | 4 | SHA512 (strawberry-1.0.21.tar.xz) = 0378c80b662e9795271e2290c253e6ce523a136cd56a31e4475c02552979aef82f52676e3f66101cc01d6fab0284be6b006595d6c1a01ad05359714bf2574867 | |
5 | Size (strawberry-1.0.18.tar.xz) = 11241608 bytes | 5 | Size (strawberry-1.0.21.tar.xz) = 11240920 bytes | |
6 | SHA1 (patch-3rdparty_macdeployqt_shared.cpp) = 784f13967c3af11aa856d496545de00ff5f93091 | |||
7 | SHA1 (patch-CMakeLists.txt) = f34ff2387d1246a63a1bc08978fef43bf8ae12d0 | 6 | SHA1 (patch-CMakeLists.txt) = f34ff2387d1246a63a1bc08978fef43bf8ae12d0 | |
8 | SHA1 (patch-dist_CMakeLists.txt) = 9c2ffc79cb54224a3321a6655815b66531057e38 | 7 | SHA1 (patch-dist_CMakeLists.txt) = 9c2ffc79cb54224a3321a6655815b66531057e38 | |
9 | SHA1 (patch-ext_strawberry-tagreader_CMakeLists.txt) = 77bdd8371151d3c870783d4668d99299719922a1 | 8 | SHA1 (patch-ext_strawberry-tagreader_CMakeLists.txt) = 77bdd8371151d3c870783d4668d99299719922a1 | |
10 | SHA1 (patch-src_CMakeLists.txt) = de97b8c8225924dcb2a3523b24023b62b54184d8 | 9 | SHA1 (patch-src_CMakeLists.txt) = de97b8c8225924dcb2a3523b24023b62b54184d8 | |
11 | SHA1 (patch-src_analyzer_blockanalyzer.cpp) = e1e22a4ea278f03142f13fd8310730854a8ddc9a | 10 | SHA1 (patch-src_analyzer_blockanalyzer.cpp) = e1e22a4ea278f03142f13fd8310730854a8ddc9a | |
12 | SHA1 (patch-src_analyzer_boomanalyzer.cpp) = ae0cc1b61ed4492a2562c3c954b6dd797ef63e5d | 11 | SHA1 (patch-src_analyzer_boomanalyzer.cpp) = ae0cc1b61ed4492a2562c3c954b6dd797ef63e5d | |
13 | SHA1 (patch-src_utilities_transliterate.cpp) = 560be2ee9f98afa8d971bf58d26249424eda3c39 | 12 | SHA1 (patch-src_utilities_transliterate.cpp) = da900803acd33d2f370fc7792c31c56cdda4f328 |
@@ -1,34 +1,34 @@ | @@ -1,34 +1,34 @@ | |||
1 | $NetBSD: patch-src_utilities_transliterate.cpp,v 1.1 2023/02/04 15:38:39 nia Exp $ | 1 | $NetBSD: patch-src_utilities_transliterate.cpp,v 1.2 2023/11/20 00:58:10 nia Exp $ | |
2 | 2 | |||
3 | Support non-POSIX iconv prototype in NetBSD 9/earlier and SunOS. | 3 | Support non-POSIX iconv prototype in NetBSD 9/earlier and SunOS. | |
4 | 4 | |||
5 | --- src/utilities/transliterate.cpp.orig 2022-12-28 21:54:04.427431913 +0000 | 5 | --- src/utilities/transliterate.cpp.orig 2023-09-25 17:20:58.428898151 +0000 | |
6 | +++ src/utilities/transliterate.cpp | 6 | +++ src/utilities/transliterate.cpp | |
7 | @@ -34,6 +34,15 @@ | 7 | @@ -28,6 +28,15 @@ | |
8 | 8 | # include <iconv.h> | ||
9 | #include "transliterate.h" | 9 | #endif | |
10 | 10 | |||
11 | +#if defined(__NetBSD__) | 11 | +#if defined(__NetBSD__) | |
12 | +#include <sys/param.h> | 12 | +#include <sys/param.h> | |
13 | +#if __NetBSD_Prereq__(9,99,17) | 13 | +#if __NetBSD_Prereq__(9,99,17) | |
14 | +#define NETBSD_POSIX_ICONV 1 | 14 | +#define NETBSD_POSIX_ICONV 1 | |
15 | +#else | 15 | +#else | |
16 | +#define NETBSD_POSIX_ICONV 0 | 16 | +#define NETBSD_POSIX_ICONV 0 | |
17 | +#endif | 17 | +#endif | |
18 | +#endif | 18 | +#endif | |
19 | + | 19 | + | |
20 | namespace Utilities { | 20 | #include <QByteArray> | |
21 | #include <QString> | |||
21 | 22 | |||
22 | QString Transliterate(const QString &accented_str) { | |||
23 | @@ -76,7 +85,11 @@ QString Transliterate(const QString &acc | 23 | @@ -76,7 +85,11 @@ QString Transliterate(const QString &acc | |
24 | 24 | |||
25 | snprintf(input, input_len, "%s", utf8.constData()); | 25 | snprintf(input, input_len, "%s", utf8.constData()); | |
26 | 26 | |||
27 | +#if (defined(__NetBSD__) && !NETBSD_POSIX_ICONV) || defined(__sun) | 27 | +#if (defined(__NetBSD__) && !NETBSD_POSIX_ICONV) || defined(__sun) | |
28 | + iconv(conv, (const char **)&input, &input_len, &output, &output_len); | 28 | + iconv(conv, (const char **)&input, &input_len, &output, &output_len); | |
29 | +#else | 29 | +#else | |
30 | iconv(conv, &input, &input_len, &output, &output_len); | 30 | iconv(conv, &input, &input_len, &output, &output_len); | |
31 | +#endif | 31 | +#endif | |
32 | iconv_close(conv); | 32 | iconv_close(conv); | |
33 | 33 | |||
34 | QString ret(output_ptr); | 34 | QString ret(output_ptr); |