| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.53 2023/08/22 20:26:29 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.54 2023/08/26 08:42:31 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= strawberry-1.0.18 | | 3 | DISTNAME= strawberry-1.0.18 |
4 | CATEGORIES= audio | | 4 | CATEGORIES= audio |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=strawberrymusicplayer/} | | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=strawberrymusicplayer/} |
6 | GITHUB_RELEASE= ${PKGVERSION_NOREV} | | 6 | GITHUB_RELEASE= ${PKGVERSION_NOREV} |
7 | EXTRACT_SUFX= .tar.xz | | 7 | EXTRACT_SUFX= .tar.xz |
8 | | | 8 | |
9 | MAINTAINER= nia@NetBSD.org | | 9 | MAINTAINER= nia@NetBSD.org |
10 | HOMEPAGE= https://www.strawberrymusicplayer.org/ | | 10 | HOMEPAGE= https://www.strawberrymusicplayer.org/ |
11 | COMMENT= Music player and music collection organizer (based on Clementine) | | 11 | COMMENT= Music player and music collection organizer (based on Clementine) |
12 | LICENSE= gnu-gpl-v3 | | 12 | LICENSE= gnu-gpl-v3 |
13 | | | 13 | |
14 | USE_LANGUAGES= c c++ | | 14 | USE_LANGUAGES= c c++ |
| @@ -31,34 +31,26 @@ USE_CXX_FEATURES+= c++17 | | | @@ -31,34 +31,26 @@ USE_CXX_FEATURES+= c++17 |
31 | .if ${OPSYS} == "Linux" | | 31 | .if ${OPSYS} == "Linux" |
32 | DEPENDS+= gst-plugins1-alsa-[0-9]*:../../audio/gst-plugins1-alsa | | 32 | DEPENDS+= gst-plugins1-alsa-[0-9]*:../../audio/gst-plugins1-alsa |
33 | . include "../../audio/alsa-lib/buildlink3.mk" | | 33 | . include "../../audio/alsa-lib/buildlink3.mk" |
34 | .else | | 34 | .else |
35 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=TRUE | | 35 | CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_ALSA=TRUE |
36 | .endif | | 36 | .endif |
37 | | | 37 | |
38 | .if ${OPSYS} != "Linux" && ${OSS_TYPE} != "none" | | 38 | .if ${OPSYS} != "Linux" && ${OSS_TYPE} != "none" |
39 | DEPENDS+= gst-plugins1-oss-[0-9]*:../../audio/gst-plugins1-oss | | 39 | DEPENDS+= gst-plugins1-oss-[0-9]*:../../audio/gst-plugins1-oss |
40 | .endif | | 40 | .endif |
41 | | | 41 | |
42 | .if ${OPSYS} == "NetBSD" | | 42 | .if ${OPSYS} == "NetBSD" |
43 | PREFER.sqlite3= pkgsrc # fts5 | | 43 | PREFER.sqlite3= pkgsrc # fts5 |
44 | # This package will link against libstdc++.so from the pkgsrc GCC when the | | | |
45 | # base OS GCC doesn't meet the minimum requirement. Thus we do this so the | | | |
46 | # appropriate gcc-libs package will be captured as a dependency, otherwise | | | |
47 | # binary packages will be broken. | | | |
48 | . if ${OPSYS_VERSION} < 090000 | | | |
49 | USE_PKGSRC_GCC= yes | | | |
50 | USE_PKGSRC_GCC_RUNTIME= yes | | | |
51 | . endif | | | |
52 | .endif | | 44 | .endif |
53 | | | 45 | |
54 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 | | 46 | INSTALLATION_DIRS+= ${PKGMANDIR}/man1 |
55 | | | 47 | |
56 | CHECK_PORTABILITY_SKIP+= dist/macos/macversion.sh | | 48 | CHECK_PORTABILITY_SKIP+= dist/macos/macversion.sh |
57 | | | 49 | |
58 | post-install: | | 50 | post-install: |
59 | ${MV} ${DESTDIR}${PREFIX}/share/man/man1/* \ | | 51 | ${MV} ${DESTDIR}${PREFIX}/share/man/man1/* \ |
60 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 || ${TRUE} | | 52 | ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 || ${TRUE} |
61 | | | 53 | |
62 | .include "options.mk" | | 54 | .include "options.mk" |
63 | .include "../../audio/chromaprint/buildlink3.mk" | | 55 | .include "../../audio/chromaprint/buildlink3.mk" |
64 | .include "../../audio/taglib/buildlink3.mk" | | 56 | .include "../../audio/taglib/buildlink3.mk" |