| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.130 2018/07/25 12:15:59 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.131 2018/08/19 14:37:17 nia Exp $ |
2 | | | 2 | |
3 | DISTNAME= pulseaudio-12.2 | | 3 | DISTNAME= pulseaudio-12.2 |
4 | CATEGORIES= audio | | 4 | CATEGORIES= audio |
5 | MASTER_SITES= https://freedesktop.org/software/pulseaudio/releases/ | | 5 | MASTER_SITES= https://freedesktop.org/software/pulseaudio/releases/ |
6 | EXTRACT_SUFX= .tar.xz | | 6 | EXTRACT_SUFX= .tar.xz |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= http://www.freedesktop.org/wiki/Software/PulseAudio | | 9 | HOMEPAGE= http://www.freedesktop.org/wiki/Software/PulseAudio |
10 | COMMENT= Sound server for POSIX and Win32 systems | | 10 | COMMENT= Sound server for POSIX and Win32 systems |
11 | LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 | | 11 | LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v2 |
12 | | | 12 | |
13 | NOT_FOR_PLATFORM= DragonFly-*-* | | 13 | NOT_FOR_PLATFORM= DragonFly-*-* |
14 | | | 14 | |
| @@ -59,26 +59,29 @@ CONFIGURE_ARGS+= --disable-neon-opt | | | @@ -59,26 +59,29 @@ CONFIGURE_ARGS+= --disable-neon-opt |
59 | # fallback to libatomic_ops | | 59 | # fallback to libatomic_ops |
60 | .if !(${OPSYS} == "NetBSD" && exists(/usr/include/sys/atomic.h)) | | 60 | .if !(${OPSYS} == "NetBSD" && exists(/usr/include/sys/atomic.h)) |
61 | .include "../../devel/libatomic_ops/buildlink3.mk" | | 61 | .include "../../devel/libatomic_ops/buildlink3.mk" |
62 | .endif | | 62 | .endif |
63 | | | 63 | |
64 | PLIST_SUBST+= PULSELIBVER=12.0 | | 64 | PLIST_SUBST+= PULSELIBVER=12.0 |
65 | PLIST_VARS+= alsa bonjour coreaudio evdev oss sun | | 65 | PLIST_VARS+= alsa bonjour coreaudio evdev oss sun |
66 | | | 66 | |
67 | # Build module-mmkbd-evdev.so under Linux | | 67 | # Build module-mmkbd-evdev.so under Linux |
68 | .if ${OPSYS} == "Linux" | | 68 | .if ${OPSYS} == "Linux" |
69 | . if exists(/usr/include/linux/input.h) | | 69 | . if exists(/usr/include/linux/input.h) |
70 | PLIST.evdev= yes | | 70 | PLIST.evdev= yes |
71 | . endif | | 71 | . endif |
| | | 72 | . if exists(/usr/include/linux/soundcard.h) |
| | | 73 | PLIST.oss= yes |
| | | 74 | . endif |
72 | PLIST.alsa= yes | | 75 | PLIST.alsa= yes |
73 | .include "../../audio/alsa-lib/buildlink3.mk" | | 76 | .include "../../audio/alsa-lib/buildlink3.mk" |
74 | .elif ${OPSYS} == "SunOS" | | 77 | .elif ${OPSYS} == "SunOS" |
75 | USE_LANGUAGES+= c99 | | 78 | USE_LANGUAGES+= c99 |
76 | PLIST.sun= yes | | 79 | PLIST.sun= yes |
77 | . if ${OS_VERSION} == "5.11" | | 80 | . if ${OS_VERSION} == "5.11" |
78 | PLIST.oss= yes | | 81 | PLIST.oss= yes |
79 | . endif | | 82 | . endif |
80 | .elif ${OPSYS} == "Darwin" | | 83 | .elif ${OPSYS} == "Darwin" |
81 | PLIST.bonjour= yes | | 84 | PLIST.bonjour= yes |
82 | PLIST.coreaudio= yes | | 85 | PLIST.coreaudio= yes |
83 | .else | | 86 | .else |
84 | PLIST.oss= yes | | 87 | PLIST.oss= yes |