blob: db62b45a074a49e49733d0aef8475ee73d76ae8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# $NetBSD: Makefile,v 1.113 2020/08/17 20:18:03 leot Exp $
DISTNAME= audacious-plugins-4.0.5
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://distfiles.audacious-media-player.org/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://audacious-media-player.org/
COMMENT= Plugins for Audacious media player
LICENSE= 2-clause-bsd
USE_LANGUAGES= c c++
USE_TOOLS+= gmake intltool pkg-config
USE_TOOLS+= msgfmt msgmerge xgettext
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-ampache
CONFIGURE_ARGS+= --disable-bs2b
CONFIGURE_ARGS+= --disable-cue
# prefer libsamplerate
CONFIGURE_ARGS+= --disable-soxr
CONFIGURE_ARGS+= --disable-notify
CONFIGURE_ARGS+= --disable-qtaudio
CONFIGURE_ARGS+= --disable-sndio
.include "../../mk/oss.buildlink3.mk"
PLIST_VARS+= oss4
# Currently, don't use this on NetBSD - the volume manipulation is broken.
# Use SDL instead, it has working volume control
.if ${OSS_TYPE} != "none" && \
(${OPSYS} == "FreeBSD" || \
${OPSYS} == "SunOS")
PLIST.oss4= yes
LDFLAGS+= ${LIBOSSAUDIO}
SUBST_CLASSES+= oss
SUBST_STAGE.oss= pre-configure
SUBST_MESSAGE.oss= Correcting the path to the OSS device.
SUBST_FILES.oss+= src/oss4/oss.h
SUBST_SED.oss+= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
.else
CONFIGURE_ARGS+= --disable-oss4
.endif
PLIST_VARS+= dbus
.include "options.mk"
.include "../../audio/audacious/buildlink3.mk"
.if ${PKG_BUILD_OPTIONS.audacious:Mdbus}
TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
PLIST.dbus= yes
.else
CONFIGURE_ARGS+= --disable-mpris2
.endif
.include "../../audio/faad2/buildlink3.mk"
.include "../../audio/lame/buildlink3.mk"
.include "../../audio/libcddb/buildlink3.mk"
.include "../../audio/libsamplerate/buildlink3.mk"
.include "../../audio/libsndfile/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../audio/mpg123/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/libbinio/buildlink3.mk"
.include "../../misc/libcdio-paranoia/buildlink3.mk"
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../multimedia/libogg/buildlink3.mk"
.include "../../net/libmms/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../www/neon/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|