pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/pulseaudio pulseaudio: Fix build on SunOS, and p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4e9732216884
branches: trunk
changeset: 457464:4e9732216884
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Aug 26 13:20:40 2021 +0000
description:
pulseaudio: Fix build on SunOS, and probably others.
The -Dtests=false is probably required everywhere as they depend on $ORIGIN
rpaths for internal libraries, and DATADIRNAME is no longer valid.
diffstat:
audio/pulseaudio/Makefile | 14 +++++---------
audio/pulseaudio/PLIST | 3 +--
2 files changed, 6 insertions(+), 11 deletions(-)
diffs (70 lines):
diff -r 4c9c3081d212 -r 4e9732216884 audio/pulseaudio/Makefile
--- a/audio/pulseaudio/Makefile Thu Aug 26 09:32:10 2021 +0000
+++ b/audio/pulseaudio/Makefile Thu Aug 26 13:20:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.163 2021/08/10 08:53:36 nia Exp $
+# $NetBSD: Makefile,v 1.164 2021/08/26 13:20:40 jperkin Exp $
DISTNAME= pulseaudio-15.0
CATEGORIES= audio
@@ -38,11 +38,12 @@
USE_TOOLS+= bash:run gmake gm4
USE_TOOLS+= msgfmt perl:build pkg-config
MESON_ARGS+= -Dtcpwrap=disabled
+MESON_ARGS+= --localedir=${PKGLOCALEDIR}/locale
MESON_ARGS+= --localstatedir=${VARBASE}
MESON_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
MESON_ARGS+= -Dfftw=disabled
MESON_ARGS+= -Ddoxygen=false
-CONFIGURE_ENV+= DATADIRNAME=${PKGLOCALEDIR}
+MESON_ARGS+= -Dtests=false
PKGCONFIG_OVERRIDE+= libpulse-mainloop-glib.pc.in
PKGCONFIG_OVERRIDE+= libpulse-simple.pc.in
PKGCONFIG_OVERRIDE+= libpulse.pc.in
@@ -54,11 +55,6 @@
.include "../../mk/bsd.prefs.mk"
-# Some tests are incompatible for NetBSD at least
-.if ${OPSYS} == "NetBSD"
-MESON_ARGS+= -Dtests=false
-.endif
-
# broken test for TLS
.if ((${OPSYS} == "NetBSD" && !empty(OS_VERSION:M[45].*)) || \
(${OPSYS} == "Darwin" && !empty(PKGSRC_COMPILER:Mclang)))
@@ -79,7 +75,7 @@
# Version number in patch-configure.ac.must be changed too.
PLIST_SUBST+= PULSELIBVER=15.0
-PLIST_VARS+= alsa bonjour coreaudio evdev oss sun
+PLIST_VARS+= alsa bonjour coreaudio evdev oss
# Build module-mmkbd-evdev.so under Linux
.if ${OPSYS} == "Linux"
@@ -93,7 +89,7 @@
.include "../../audio/alsa-lib/buildlink3.mk"
.elif ${OPSYS} == "SunOS"
USE_LANGUAGES+= c99
-PLIST.sun= yes
+CPPFLAGS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -DBSD_COMP
. if ${OS_VERSION} == "5.11"
PLIST.oss= yes
. endif
diff -r 4c9c3081d212 -r 4e9732216884 audio/pulseaudio/PLIST
--- a/audio/pulseaudio/PLIST Thu Aug 26 09:32:10 2021 +0000
+++ b/audio/pulseaudio/PLIST Thu Aug 26 13:20:40 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.37 2021/08/03 20:18:19 js Exp $
+@comment $NetBSD: PLIST,v 1.38 2021/08/26 13:20:40 jperkin Exp $
bin/pa-info
bin/pacat
bin/pacmd
@@ -126,7 +126,6 @@
lib/pulse-${PKGVERSION}/modules/module-simple-protocol-unix.so
lib/pulse-${PKGVERSION}/modules/module-sine-source.so
lib/pulse-${PKGVERSION}/modules/module-sine.so
-${PLIST.sun}lib/pulse-${PULSELIBVER}/modules/module-solaris.so
lib/pulse-${PKGVERSION}/modules/module-stream-restore.so
lib/pulse-${PKGVERSION}/modules/module-suspend-on-idle.so
lib/pulse-${PKGVERSION}/modules/module-switch-on-connect.so
Home |
Main Index |
Thread Index |
Old Index