summaryrefslogtreecommitdiff
path: root/multimedia/gst-plugins1-good/Makefile.common
blob: dae9e5f8f41171ea638bd8ba6506a064bc5c18f2 (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# $NetBSD: Makefile.common,v 1.43 2022/12/16 21:08:08 adam Exp $
# used by audio/gst-plugins1-flac/Makefile
# used by audio/gst-plugins1-jack/Makefile
# used by audio/gst-plugins1-lame/Makefile
# used by audio/gst-plugins1-mpg123/Makefile
# used by audio/gst-plugins1-oss/Makefile
# used by audio/gst-plugins1-osxaudio/Makefile
# used by audio/gst-plugins1-pulse/Makefile
# used by audio/gst-plugins1-speex/Makefile
# used by audio/gst-plugins1-twolame/Makefile
# used by audio/gst-plugins1-wavpack/Makefile
# used by graphics/gst-plugins1-aalib/Makefile
# used by graphics/gst-plugins1-cairo/Makefile
# used by graphics/gst-plugins1-gdk_pixbuf/Makefile
# used by graphics/gst-plugins1-jpeg/Makefile
# used by graphics/gst-plugins1-png/Makefile
# used by multimedia/gst-plugins1-gtk/Makefile
# used by multimedia/gst-plugins1-osxvideo/Makefile
# used by multimedia/gst-plugins1-v4l2/Makefile
# used by net/gst-plugins1-soup/Makefile
# used by x11/gst-plugins1-ximagesrc/Makefile

.include "../../multimedia/gstreamer1/version.mk"

DISTNAME=	gst-plugins-good-${GST_VERSION}
MASTER_SITES=	https://gstreamer.freedesktop.org/src/gst-plugins-good/
EXTRACT_SUFX=	.tar.xz

USE_LANGUAGES=	c c++

USE_TOOLS+=	pkg-config

DISTINFO_FILE=	${.CURDIR}/../../multimedia/gst-plugins1-good/distinfo
PATCHDIR=	${.CURDIR}/../../multimedia/gst-plugins1-good/patches

MESON_ARGS+=	-Dasm=disabled
MESON_ARGS+=	-Dexamples=disabled
MESON_ARGS+=	-Dorc=disabled

PKGCONFIG_OVERRIDE=		output/pkgconfig/*.pc
PKGCONFIG_OVERRIDE_STAGE=	pre-install

PYTHON_VERSIONS_INCOMPATIBLE=	27
PYTHON_FOR_BUILD_ONLY=		tool

# grep '^option' meson_options.txt | grep feature | \
# sed -e "s/',.*//g" -e "s/option('//g" | \
# xargs printf 'GST_PLUGINS_SET+=\t%s\n'
GST_PLUGINS_SET+=	alpha
GST_PLUGINS_SET+=	apetag
GST_PLUGINS_SET+=	audiofx
GST_PLUGINS_SET+=	audioparsers
GST_PLUGINS_SET+=	auparse
GST_PLUGINS_SET+=	autodetect
GST_PLUGINS_SET+=	avi
GST_PLUGINS_SET+=	cutter
GST_PLUGINS_SET+=	debugutils
GST_PLUGINS_SET+=	deinterlace
GST_PLUGINS_SET+=	dtmf
GST_PLUGINS_SET+=	effectv
GST_PLUGINS_SET+=	equalizer
GST_PLUGINS_SET+=	flv
GST_PLUGINS_SET+=	flx
GST_PLUGINS_SET+=	goom
GST_PLUGINS_SET+=	goom2k1
GST_PLUGINS_SET+=	icydemux
GST_PLUGINS_SET+=	id3demux
GST_PLUGINS_SET+=	imagefreeze
GST_PLUGINS_SET+=	interleave
GST_PLUGINS_SET+=	isomp4
GST_PLUGINS_SET+=	law
GST_PLUGINS_SET+=	level
GST_PLUGINS_SET+=	matroska
GST_PLUGINS_SET+=	monoscope
GST_PLUGINS_SET+=	multifile
GST_PLUGINS_SET+=	multipart
GST_PLUGINS_SET+=	replaygain
GST_PLUGINS_SET+=	rtp
GST_PLUGINS_SET+=	rtpmanager
GST_PLUGINS_SET+=	rtsp
GST_PLUGINS_SET+=	shapewipe
GST_PLUGINS_SET+=	smpte
GST_PLUGINS_SET+=	spectrum
GST_PLUGINS_SET+=	udp
GST_PLUGINS_SET+=	videobox
GST_PLUGINS_SET+=	videocrop
GST_PLUGINS_SET+=	videofilter
GST_PLUGINS_SET+=	videomixer
GST_PLUGINS_SET+=	wavenc
GST_PLUGINS_SET+=	wavparse
GST_PLUGINS_SET+=	y4m
GST_PLUGINS_SET+=	aalib
GST_PLUGINS_SET+=	bz2
GST_PLUGINS_SET+=	cairo
GST_PLUGINS_SET+=	directsound
GST_PLUGINS_SET+=	dv
GST_PLUGINS_SET+=	dv1394
GST_PLUGINS_SET+=	flac
GST_PLUGINS_SET+=	gdk-pixbuf
GST_PLUGINS_SET+=	gtk3
GST_PLUGINS_SET+=	jack
GST_PLUGINS_SET+=	jpeg
GST_PLUGINS_SET+=	lame
GST_PLUGINS_SET+=	libcaca
GST_PLUGINS_SET+=	mpg123
GST_PLUGINS_SET+=	oss
GST_PLUGINS_SET+=	oss4
GST_PLUGINS_SET+=	osxaudio
GST_PLUGINS_SET+=	osxvideo
GST_PLUGINS_SET+=	png
GST_PLUGINS_SET+=	pulse
GST_PLUGINS_SET+=	qt5
GST_PLUGINS_SET+=	shout2
GST_PLUGINS_SET+=	soup
GST_PLUGINS_SET+=	speex
GST_PLUGINS_SET+=	taglib
GST_PLUGINS_SET+=	twolame
GST_PLUGINS_SET+=	vpx
GST_PLUGINS_SET+=	waveform
GST_PLUGINS_SET+=	wavpack
GST_PLUGINS_SET+=	rpicamsrc
GST_PLUGINS_SET+=	rpi-header-dir
GST_PLUGINS_SET+=	rpi-lib-dir
GST_PLUGINS_SET+=	ximagesrc
GST_PLUGINS_SET+=	ximagesrc-xshm
GST_PLUGINS_SET+=	ximagesrc-xfixes
GST_PLUGINS_SET+=	ximagesrc-xdamage
GST_PLUGINS_SET+=	v4l2
GST_PLUGINS_SET+=	v4l2-libv4l2
GST_PLUGINS_SET+=	v4l2-gudev
GST_PLUGINS_SET+=	nls
GST_PLUGINS_SET+=	tests

.for i in ${GST_PLUGINS_SET}
.  if !empty(GST_PLUGINS:M${i})
MESON_ARGS+=	-D${i}=enabled
.  else
MESON_ARGS+=	-D${i}=disabled
.  endif
.endfor

BUILDLINK_API_DEPENDS.gstreamer1+=	gstreamer1>=1.20.0
.include "../../multimedia/gstreamer1/buildlink3.mk"
.include "../../multimedia/gst-plugins1-base/buildlink3.mk"
.include "../../lang/python/tool.mk"
.include "../../devel/meson/build.mk"