blob: 80907686ad6bc2c043922474211483cac3563047 (
plain) (
blame)
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
|
# $FreeBSD$
# $MCom: ports/multimedia/gstreamer-plugins/Makefile.common,v 1.81 2010/03/16 19:33:10 mezz Exp $
# base
BASE_GST_ALL_PLUGINS= \
alsa \
cdparanoia \
gio \
gnomevfs \
libvisual \
ogg \
pango \
theora \
vorbis
# bad
BAD_GST_ALL_PLUGINS+= \
alsaspdif \
amrwb \
apexsink \
assrender \
bz2 \
cdaudio \
celt \
cog \
dc1394 \
dirac \
directfb \
divx \
dts \
exif \
faac \
faad \
flite \
gme \
gsm \
jack \
jp2k \
kate \
ladspa \
libmms \
lv2 \
metadata \
mimic \
modplug \
mpeg2enc \
mplex \
musepack \
musicbrainz \
mythtv \
nas \
neon \
ofa \
opencv \
resindvd \
rsvg \
schro \
sdl \
shm \
sndfile \
soundtouch \
spc \
swfdec \
theoradec \
timidity \
vdpau \
vp8 \
xvid \
zbar
# good
GOOD_GST_ALL_PLUGINS+= \
aalib \
annodex \
cairo \
dv \
esd \
flac \
gconf \
gdk_pixbuf \
hal \
jpeg \
libcaca \
libpng \
pulse \
raw1394 \
shout2 \
soup \
speex \
taglib \
gst_v4l2 \
wavpack
# ugly
UGLY_GST_ALL_PLUGINS+= \
a52dec \
amrnb \
amrwbdec \
cdio \
dvdread \
lame \
mad \
mpeg2dec \
sidplay \
twolame \
x264
.for i in ${BASE_GST_ALL_PLUGINS} ${BAD_GST_ALL_PLUGINS} ${UGLY_GST_ALL_PLUGINS}
gst_${i}_GCONF_SCHEMAS?= # Empty
gst_${i}_USE_SDL?= # Empty
.endfor
CONFIG_GST_PLUGINS= gnome_vfs
GST_ALL_PLUGINS= ${BASE_GST_ALL_PLUGINS} ${BAD_GST_ALL_PLUGINS} \
${GOOD_GST_ALL_PLUGINS} ${UGLY_ALL_PLUGINS} \
${CONFIG_GST_PLUGINS}
# Disable all plugins by default
.for d in ${GST_ALL_PLUGINS}
CONFIGURE_ARGS+= --disable-${d}
.endfor
CONFIGURE_ARGS+= --enable-${GST_PLUGIN}
CONFIGURE_ARGS+=--disable-tests \
--disable-examples \
--disable-cd1394 \
--disable-acm \
--disable-apexsink \
--disable-alsa \
--enable-cog \
--enable-dvb \
--disable-fbdev \
--disable-directfb \
--disable-http \
--enable-cdrom \
--disable-gconf \
--disable-gconftool \
--disable-schemas-install \
--enable-oss \
--enable-oss4 \
--disable-osx_audio \
--disable-osx_video \
--disable-directdrawsink \
--disable-directsoundsink \
--disable-tarkin \
--enable-shm \
--enable-static \
--disable-sunaudio \
--disable-wildmidi \
--disable-xine \
--disable-ivorbis \
--enable-x \
--enable-xshm \
--enable-xvideo
# we need glib 2.26 for this. (is from -bad)
CONFIGURE_ARGS+=--disable-gsettings
.if !defined(NO_GSTREAMER_COMMON)
GST_PLUGIN_SUFFIX?= -${GST_PLUGIN}
# Enable the right plugin
CONFIGURE_ARGS:=${CONFIGURE_ARGS:S|--disable-${GST_PLUGIN}|--enable-${GST_PLUGIN}|}
GST_INC_DIR= include/gstreamer-${VERSION}
GST_LIB_DIR= lib/gstreamer-${VERSION}
# Auto create PLIST
PLIST= ${NONEXISTENT}
# a52dec
gst_a52dec_LIB_DEPENDS+= a52.0:${PORTSDIR}/audio/liba52
gst_a52dec_PLIST_FILES= ${GST_LIB_DIR}/libgsta52dec.la \
${GST_LIB_DIR}/libgsta52dec.so
gst_a52dec_DIST= ugly
# aalib
gst_aalib_LIB_DEPENDS+= aa.1:${PORTSDIR}/graphics/aalib
gst_aalib_PLIST_FILES= ${GST_LIB_DIR}/libgstaasink.so \
${GST_LIB_DIR}/libgstaasink.la
# amrnb
gst_amrnb_LIB_DEPENDS+= opencore-amrnb.0:${PORTSDIR}/audio/opencore-amr
gst_amrnb_PLIST_FILES= ${GST_LIB_DIR}/libgstamrnb.la \
${GST_LIB_DIR}/libgstamrnb.so \
share/gstreamer-${VERSION}/presets/GstAmrnbEnc.prs
gst_amrnb_PLIST_DIRS= share/gstreamer-${VERSION}/presets \
share/gstreamer-${VERSION}
gst_amrnb_DIST= ugly
# amrwbdec
gst_amrwbdec_LIB_DEPENDS+= opencore-amrwb.0:${PORTSDIR}/audio/opencore-amr
gst_amrwbdec_CONFIGURE_ARGS+= --enable-amrwb
gst_amrwbdec_PLIST_FILES= ${GST_LIB_DIR}/libgstamrwbdec.la \
${GST_LIB_DIR}/libgstamrwbdec.so
gst_amrwbdec_DIST= ugly
# annodex
gst_annodex_LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
gst_annodex_PLIST_FILES= ${GST_LIB_DIR}/libgstannodex.la \
${GST_LIB_DIR}/libgstannodex.so
# bz2
gst_bz2_PLIST_FILES= ${GST_LIB_DIR}/libgstbz2.la \
${GST_LIB_DIR}/libgstbz2.so
gst_bz2_DIST= bad
# cairo
gst_cairo_LIB_DEPENDS+= cairo.2:${PORTSDIR}/graphics/cairo
gst_cairo_PLIST_FILES= ${GST_LIB_DIR}/libgstcairo.la \
${GST_LIB_DIR}/libgstcairo.so
# cdaudio
gst_cdaudio_LIB_DEPENDS+=cdaudio.1:${PORTSDIR}/audio/libcdaudio
gst_cdaudio_PLIST_FILES= ${GST_LIB_DIR}/libgstcdaudio.la \
${GST_LIB_DIR}/libgstcdaudio.so
gst_cdaudio_DIST= bad
# cdparanoia
gst_cdparanoia_LIB_DEPENDS+= cdda_interface.0:${PORTSDIR}/audio/cdparanoia
gst_cdparanoia_EXTRA_LIBS+= -lgstcdda-${VERSION}
gst_cdparanoia_PLIST_FILES= ${GST_LIB_DIR}/libgstcdparanoia.la \
${GST_LIB_DIR}/libgstcdparanoia.so
gst_cdparanoia_DIST= base
# cdio
gst_cdio_LIB_DEPENDS+= cdio.13:${PORTSDIR}/sysutils/libcdio
gst_cdio_PLIST_FILES= ${GST_LIB_DIR}/libgstcdio.la \
${GST_LIB_DIR}/libgstcdio.so
gst_cdio_DIST= ugly
# dts
gst_dts_LIB_DEPENDS+= dca.0:${PORTSDIR}/multimedia/libdca
gst_dts_PLIST_FILES= ${GST_LIB_DIR}/libgstdtsdec.la \
${GST_LIB_DIR}/libgstdtsdec.so
gst_dts_EXTRA_LIBS+= -ldca
gst_dts_DIST= bad
# dv
gst_dv_LIB_DEPENDS+= dv.4:${PORTSDIR}/multimedia/libdv
gst_dv_PLIST_FILES= ${GST_LIB_DIR}/libgstdv.la \
${GST_LIB_DIR}/libgstdv.so
# dvd
gst_dvd_LIB_DEPENDS+= dvdread.4:${PORTSDIR}/multimedia/libdvdread
gst_dvd_GST_PLUGIN_DIR= ext/dvdread
gst_dvd_PLIST_FILES= ${GST_LIB_DIR}/libgstdvdread.la \
${GST_LIB_DIR}/libgstdvdread.so
gst_dvd_DIST= ugly
# esound
gst_esound_USE_GNOME+= esound
gst_esound_GST_PLUGIN_DIR= ext/esd
gst_esound_CONFIGURE_ENV+= ESD_CFLAGS="`pkg-config --cflags esound`" \
ESD_LIBS="`pkg-config --libs esound`"
gst_esound_PLIST_FILES= ${GST_LIB_DIR}/libgstesd.so \
${GST_LIB_DIR}/libgstesd.la
# exif
# hmm not a real plugin, seems to be part of metadata?
#gst_exif_LIB_DEPENDS+= exif.12:${PORTSDIR}/graphics/libexif
#gst_exif_PLIST_FILES= ${GST_LIB_DIR}/libgstexif.la \
# ${GST_LIB_DIR}/libgstexif.so
#gst_exif_DIST= bad
# faac
gst_faac_LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac
gst_faac_PLIST_FILES= ${GST_LIB_DIR}/libgstfaac.la \
${GST_LIB_DIR}/libgstfaac.so
gst_faac_DIST= bad
# faad
gst_faad_USE_GSTREAMER+= bad
gst_faad_LIB_DEPENDS+= faad.2:${PORTSDIR}/audio/faad
gst_faad_PLIST_FILES= ${GST_LIB_DIR}/libgstfaad.la \
${GST_LIB_DIR}/libgstfaad.so
gst_faad_DIST= bad
# flac
gst_flac_LIB_DEPENDS+= FLAC.10:${PORTSDIR}/audio/flac
gst_flac_PLIST_FILES= ${GST_LIB_DIR}/libgstflac.la \
${GST_LIB_DIR}/libgstflac.so
# flite
gst_flite_BUILD_DEPENDS+= ${LOCALBASE}/lib/libflite.a:${PORTSDIR}/audio/flite
gst_flite_PLIST_FILES= ${GST_LIB_DIR}/libgstflite.la \
${GST_LIB_DIR}/libgstflite.so
gst_flite_DIST= bad
# gconf
gst_gconf_USE_GNOME+= gnomeprefix gconf2
gst_gconf_GST_PLUGIN_DIR= ext/gconf \
gconf
gst_gconf_CONFIGURE_ARGS+= --enable-schemas-install
gst_gconf_GCONF_SCHEMAS= gstreamer-${GST_VERSION}.schemas
gst_gconf_PLIST_FILES= ${GST_LIB_DIR}/libgstgconfelements.so \
${GST_LIB_DIR}/libgstgconfelements.la
# gdk_pixbuf
gst_gdk_pixbuf_USE_GNOME+= gtk20
gst_gdk_pixbuf_GST_PLUGIN_DIR= ext/gdk_pixbuf
gst_gdk_pixbuf_PLIST_FILES= ${GST_LIB_DIR}/libgstgdkpixbuf.la \
${GST_LIB_DIR}/libgstgdkpixbuf.so
# gio
gst_gio_USE_GNOME+= glib20
gst_gio_CONFIGURE_ARGS+=--enable-experimental
gst_gio_PLIST_FILES= ${GST_LIB_DIR}/libgstgio.la \
${GST_LIB_DIR}/libgstgio.so
gst_gio_DIST= base
# gme
gst_gme_LIB_DEPENDS+= gme.0:${PORTSDIR}/audio/libgme
gst_gme_PLIST_FILES= ${GST_LIB_DIR}/libgstgme.la \
${GST_LIB_DIR}/libgstgme.so
gst_gme_DIST= bad
# gnomevfs
gst_gnomevfs_USE_GNOME+= gnomevfs2
gst_gnomevfs_CONFIGURE_ARGS+=--enable-gnome_vfs
gst_gnomevfs_PLIST_FILES= ${GST_LIB_DIR}/libgstgnomevfs.la \
${GST_LIB_DIR}/libgstgnomevfs.so
gst_gnomevfs_DIST= base
# gsm
gst_gsm_LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
gst_gsm_PLIST_FILES= ${GST_LIB_DIR}/libgstgsm.la \
${GST_LIB_DIR}/libgstgsm.so
gst_gsm_DIST= bad
# hal
gst_hal_LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal
gst_hal_PLIST_FILES= ${GST_LIB_DIR}/libgsthalelements.la \
${GST_LIB_DIR}/libgsthalelements.so
# jack
gst_jack_LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
gst_jack_PLIST_FILES= ${GST_LIB_DIR}/libgstjack.la \
${GST_LIB_DIR}/libgstjack.so
gst_jack_DIST= good
# jpeg
gst_jpeg_LIB_DEPENDS+= jpeg.11:${PORTSDIR}/graphics/jpeg
gst_jpeg_PLIST_FILES= ${GST_LIB_DIR}/libgstjpeg.la \
${GST_LIB_DIR}/libgstjpeg.so
# ladspa
gst_ladspa_BUILD_DEPENDS+= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
gst_ladspa_PLIST_FILES= ${GST_LIB_DIR}/libgstladspa.la \
${GST_LIB_DIR}/libgstladspa.so
gst_ladspa_DIST= bad
# lame
gst_lame_LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame
gst_lame_PLIST_FILES= ${GST_LIB_DIR}/libgstlame.la \
${GST_LIB_DIR}/libgstlame.so
gst_lame_DIST= ugly
# libcaca
gst_libcaca_LIB_DEPENDS+= caca.0:${PORTSDIR}/graphics/libcaca
gst_libcaca_PLIST_FILES= ${GST_LIB_DIR}/libgstcacasink.so \
${GST_LIB_DIR}/libgstcacasink.la
# libmms
gst_libmms_LIB_DEPENDS+= mms.0:${PORTSDIR}/net/libmms
gst_libmms_PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so \
${GST_LIB_DIR}/libgstmms.la
gst_libmms_DIST= bad
# libpng and the snapshot plugin
gst_libpng_LIB_DEPENDS+= png15:${PORTSDIR}/graphics/png
gst_libpng_GST_PLUGIN_DIR= ext/libpng
gst_libpng_PLIST_FILES= ${GST_LIB_DIR}/libgstpng.so \
${GST_LIB_DIR}/libgstpng.la
# libvisual
gst_libvisual_LIB_DEPENDS+= visual.0:${PORTSDIR}/graphics/libvisual
gst_libvisual_PLIST_FILES= ${GST_LIB_DIR}/libgstlibvisual.la \
${GST_LIB_DIR}/libgstlibvisual.so
gst_libvisual_DIST= base
# mad
gst_mad_LIB_DEPENDS+= mad.2:${PORTSDIR}/audio/libmad \
id3tag.0:${PORTSDIR}/audio/libid3tag
gst_mad_PLIST_FILES= ${GST_LIB_DIR}/libgstmad.la \
${GST_LIB_DIR}/libgstmad.so
gst_mad_DIST= ugly
# mpeg2enc
gst_mpeg2enc_LIB_DEPENDS+= mjpegutils-2.0.0:${PORTSDIR}/multimedia/mjpegtools
gst_mpeg2enc_PLIST_FILES= ${GST_LIB_DIR}/libgstmpeg2enc.la \
${GST_LIB_DIR}/libgstmpeg2enc.so
gst_mpeg2enc_DIST= bad
# mpeg2dec
gst_mpeg2dec_LIB_DEPENDS+= mpeg2.0:${PORTSDIR}/multimedia/libmpeg2
gst_mpeg2dec_PLIST_FILES= ${GST_LIB_DIR}/libgstmpeg2dec.la \
${GST_LIB_DIR}/libgstmpeg2dec.so
gst_mpeg2dec_DIST= ugly
# musepack
gst_musepack_LIB_DEPENDS+= mpcdec.7:${PORTSDIR}/audio/musepack
gst_musepack_PLIST_FILES= ${GST_LIB_DIR}/libgstmusepack.la \
${GST_LIB_DIR}/libgstmusepack.so
gst_musepack_DIST= bad
# musicbrainz
gst_musicbrainz_LIB_DEPENDS+= musicbrainz.4:${PORTSDIR}/audio/libmusicbrainz
gst_musicbrainz_PLIST_FILES= ${GST_LIB_DIR}/libgsttrm.so \
${GST_LIB_DIR}/libgsttrm.la
gst_musicbrainz_DIST= bad
# nas
gst_nas_LIB_DEPENDS+= audio.2:${PORTSDIR}/audio/nas
gst_nas_DIST= bad
gst_nas_PLIST_FILES= ${GST_LIB_DIR}/libgstnassink.la \
${GST_LIB_DIR}/libgstnassink.so
# neon
gst_neon_LIB_DEPENDS+= neon.27:${PORTSDIR}/www/neon29
gst_neon_CONFIGURE_ENV+= NEON_CFLAGS="-I${LOCALBASE}/include/neon"
gst_neon_PLIST_FILES= ${GST_LIB_DIR}/libgstneonhttpsrc.la \
${GST_LIB_DIR}/libgstneonhttpsrc.so
gst_neon_DIST= bad
# ogg
gst_ogg_LIB_DEPENDS+= ogg.7:${PORTSDIR}/audio/libogg
gst_ogg_EXTRA_LIBS+= -lgstriff-${VERSION}
gst_ogg_PLIST_FILES= ${GST_LIB_DIR}/libgstogg.la \
${GST_LIB_DIR}/libgstogg.so
gst_ogg_DIST= base
# opencv
gst_opencv_LIB_DEPENDS+=opencv_highgui.2:${PORTSDIR}/graphics/opencv
gst_opencv_PLIST_FILES= ${GST_LIB_DIR}/libgstopencv.la \
${GST_LIB_DIR}/libgstopencv.a \
${GST_LIB_DIR}/libgstopencv.so
gst_opencv_DIST= bad
# pango
gst_pango_USE_GNOME+= pango
gst_pango_PLIST_FILES= ${GST_LIB_DIR}/libgstpango.la \
${GST_LIB_DIR}/libgstpango.so
gst_pango_DIST= base
# pulse
gst_pulse_LIB_DEPENDS= pulse.0:${PORTSDIR}/audio/pulseaudio
gst_pulse_PLIST_FILES= ${GST_LIB_DIR}/libgstpulse.la \
${GST_LIB_DIR}/libgstpulse.so
gst_pulse_DIST= good
# resindvd
gst_resindvd_BUILD_DEPENDS+= libdvdnav>=4.1.2:${PORTSDIR}/multimedia/libdvdnav
gst_resindvd_RUN_DEPENDS+= libdvdnav>=4.1.2:${PORTSDIR}/multimedia/libdvdnav
gst_resindvd_PLIST_FILES= ${GST_LIB_DIR}/libresindvd.la \
${GST_LIB_DIR}/libresindvd.so
gst_resindvd_DIST= bad
# sdl
gst_sdl_USE_SDL+= sdl
gst_sdl_PLIST_FILES= ${GST_LIB_DIR}/libgstsdl.la \
${GST_LIB_DIR}/libgstsdl.so
gst_sdl_DIST= bad
# shout2
gst_shout2_LIB_DEPENDS+= shout.5:${PORTSDIR}/audio/libshout2
gst_shout2_PLIST_FILES= ${GST_LIB_DIR}/libgstshout2.la \
${GST_LIB_DIR}/libgstshout2.so
# sidplay
gst_sidplay_LIB_DEPENDS+= sidplay.1:${PORTSDIR}/audio/libsidplay
gst_sidplay_PLIST_FILES= ${GST_LIB_DIR}/libgstsid.so \
${GST_LIB_DIR}/libgstsid.la
gst_sidplay_DIST= ugly
# sndfile
gst_sndfile_LIB_DEPENDS+= sndfile.1:${PORTSDIR}/audio/libsndfile
gst_sndfile_PLIST_FILES= ${GST_LIB_DIR}/libgstsndfile.la \
${GST_LIB_DIR}/libgstsndfile.so
gst_sndfile_DIST= bad
# soundtouch
gst_soundtouch_LIB_DEPENDS+= SoundTouch.0:${PORTSDIR}/audio/soundtouch
gst_soundtouch_PLIST_FILES= ${GST_LIB_DIR}/libgstsoundtouch.la \
${GST_LIB_DIR}/libgstsoundtouch.so
gst_soundtouch_DIST= bad
# souphttpsrc
gst_soup_LIB_DEPENDS+= soup-2.4.1:${PORTSDIR}/devel/libsoup
gst_soup_GST_PLUGIN_DIR=ext/soup
gst_soup_PLIST_FILES= ${GST_LIB_DIR}/libgstsouphttpsrc.la \
${GST_LIB_DIR}/libgstsouphttpsrc.so
# spc
gst_spc_LIB_DEPENDS+= openspc.0:${PORTSDIR}/audio/libopenspc
gst_spc_PLIST_FILES= ${GST_LIB_DIR}/libgstspc.la \
${GST_LIB_DIR}/libgstspc.so
gst_spc_DIST= bad
# speex
gst_speex_LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex
gst_speex_PLIST_FILES= ${GST_LIB_DIR}/libgstspeex.la \
${GST_LIB_DIR}/libgstspeex.so
# schro(edinger)
gst_schroedinger_LIB_DEPENDS+= schroedinger-1.0.11:${PORTSDIR}/multimedia/schroedinger
gst_schroedinger_CONFIGURE_ARGS+=--enable-schro
gst_schroedinger_PLIST_FILES= ${GST_LIB_DIR}/libgstschro.la \
${GST_LIB_DIR}/libgstschro.so
gst_schroedinger_DIST= bad
# swfdec
gst_swfdec_LIB_DEPENDS+=swfdec-0.4.1:${PORTSDIR}/graphics/swfdec
gst_swfdec_DIST= bad
# taglib
gst_taglib_LIB_DEPENDS+= tag.1:${PORTSDIR}/audio/taglib
gst_taglib_PLIST_FILES= ${GST_LIB_DIR}/libgsttaglib.la \
${GST_LIB_DIR}/libgsttaglib.so
# theora
gst_theora_LIB_DEPENDS+= theora.0:${PORTSDIR}/multimedia/libtheora
gst_theora_PLIST_FILES= ${GST_LIB_DIR}/libgsttheora.la \
${GST_LIB_DIR}/libgsttheora.so
gst_theora_DIST= base
# twolame
gst_twolame_LIB_DEPENDS+= twolame.0:${PORTSDIR}/audio/twolame
gst_twolame_PLIST_FILES= ${GST_LIB_DIR}/libgsttwolame.la \
${GST_LIB_DIR}/libgsttwolame.so
gst_twolame_DIST= ugly
# gst_v4l2
gst_gst_v4l2_LIB_DEPENDS+= v4l2.0:${PORTSDIR}/multimedia/libv4l
.if ${OSVERSION} >= 800000
gst_gst_v4l2_RUN_DEPENDS+= webcamd:${PORTSDIR}/multimedia/webcamd
.endif
gst_gst_v4l2_PLIST_FILES= ${GST_LIB_DIR}/libgstvideo4linux2.la \
${GST_LIB_DIR}/libgstvideo4linux2.so
gst_gst_v4l2_CONFIGURE_ARGS+= --enable-gst_v4l2
gst_gst_v4l2_GST_PLUGIN_DIR=sys/v4l2
gst_gst_v4l2_DIST= good
# vdpau
gst_vdpau_LIB_DEPENDS+= vdpau.1:${PORTSDIR}/multimedia/libvdpau
gst_vdpau_GST_PLUGIN_DIR=sys/vdpau
gst_vdpau_PLIST_FILES= ${GST_INC_DIR}/gst/vdpau/gstvdp.h \
${GST_INC_DIR}/gst/vdpau/gstvdpbuffer.h \
${GST_INC_DIR}/gst/vdpau/gstvdpbufferpool.h \
${GST_INC_DIR}/gst/vdpau/gstvdpdecoder.h \
${GST_INC_DIR}/gst/vdpau/gstvdpdevice.h \
${GST_INC_DIR}/gst/vdpau/gstvdpoutputbuffer.h \
${GST_INC_DIR}/gst/vdpau/gstvdpoutputbufferpool.h \
${GST_INC_DIR}/gst/vdpau/gstvdpoutputsrcpad.h \
${GST_INC_DIR}/gst/vdpau/gstvdputils.h \
${GST_INC_DIR}/gst/vdpau/gstvdpvideobuffer.h \
${GST_INC_DIR}/gst/vdpau/gstvdpvideobufferpool.h \
${GST_INC_DIR}/gst/vdpau/gstvdpvideosrcpad.h \
${GST_LIB_DIR}/libgstvdpau.la \
${GST_LIB_DIR}/libgstvdpau.so \
lib/libgstvdp-${VERSION}.la \
lib/libgstvdp-${VERSION}.so \
lib/libgstvdp-${VERSION}.so.0
gst_vdpau_PLIST_DIRS= ${GST_INC_DIR}/gst/vdpau
gst_vdpau_DIST= bad
# vorbis
gst_vorbis_USE_GSTREAMER+= ogg
gst_vorbis_LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
gst_vorbis_EXTRA_LIBS+= -lgsttag-${VERSION} -lgstaudio-${VERSION}
gst_vorbis_PLIST_FILES= ${GST_LIB_DIR}/libgstvorbis.la \
${GST_LIB_DIR}/libgstvorbis.so
gst_vorbis_DIST= base
# vp8
gst_vp8_LIB_DEPENDS+= vpx.1:${PORTSDIR}/multimedia/libvpx
gst_vp8_PLIST_FILES= ${GST_LIB_DIR}/libgstvp8.la \
${GST_LIB_DIR}/libgstvp8.a \
${GST_LIB_DIR}/libgstvp8.so
gst_vp8_DIST= bad
# x264
gst_x264_LIB_DEPENDS+= x264.123:${PORTSDIR}/multimedia/x264
gst_x264_PLIST_FILES= ${GST_LIB_DIR}/libgstx264.la \
${GST_LIB_DIR}/libgstx264.so \
share/gstreamer-${VERSION}/presets/GstX264Enc.prs
gst_x264_PLIST_DIRS= share/gstreamer-${VERSION}/presets \
share/gstreamer-${VERSION}
gst_x264_DIST= ugly
# xvid
gst_xvid_LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid
gst_xvid_PLIST_FILES= ${GST_LIB_DIR}/libgstxvid.la \
${GST_LIB_DIR}/libgstxvid.so
gst_xvid_DIST= bad
# wavpack
gst_wavpack_LIB_DEPENDS+= wavpack.2:${PORTSDIR}/audio/wavpack
gst_wavpack_PLIST_FILES= ${GST_LIB_DIR}/libgstwavpack.la \
${GST_LIB_DIR}/libgstwavpack.so
.endif # NO_GSTREAMER_COMMON
gst_${GST_PLUGIN}_DIST?= good
DIST= ${gst_${GST_PLUGIN}_DIST}
.if !defined(NO_GSTREAMER_COMMON)
gst_${GST_PLUGIN}_BUILD_DEPENDS?=
gst_${GST_PLUGIN}_LIB_DEPENDS?=
gst_${GST_PLUGIN}_RUN_DEPENDS?=
gst_${GST_PLUGIN}_PLIST_FILES?=${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.so \
${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.a \
${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.la
gst_${GST_PLUGIN}_EXTRA_LIBS?=
gst_${GST_PLUGIN}_PREBUILD_DIR?=
gst_${GST_PLUGIN}_GST_PLUGIN_DIR?= ext/${GST_PLUGIN}
gst_${GST_PLUGIN}_POSTBUILD_DIR?=
gst_${GST_PLUGIN}_USE_GNOME?=
gst_${GST_PLUGIN}_CONFIGURE_ENV?=
gst_${GST_PLUGIN}_GCONF_SCHEMAS?=
gst_${GST_PLUGIN}_GLIB_SCHEMAS?=
gst_${GST_PLUGIN}_CONFIGURE_ARGS?=
gst_${GST_PLUGIN}_USE_SDL?=
gst_${GST_PLUGIN}_USE_GSTREAMER?=
BUILD_DEPENDS+= ${gst_${GST_PLUGIN}_BUILD_DEPENDS}
LIB_DEPENDS+= ${gst_${GST_PLUGIN}_LIB_DEPENDS}
RUN_DEPENDS+= ${gst_${GST_PLUGIN}_RUN_DEPENDS}
PLIST_FILES= ${gst_${GST_PLUGIN}_PLIST_FILES}
PLIST_DIRS= ${gst_${GST_PLUGIN}_PLIST_DIRS}
EXTRA_LIBS+= ${gst_${GST_PLUGIN}_EXTRA_LIBS}
USE_GNOME+= ${gst_${GST_PLUGIN}_USE_GNOME}
CONFIGURE_ENV+= ${gst_${GST_PLUGIN}_CONFIGURE_ENV}
.if ${gst_${GST_PLUGIN}_GCONF_SCHEMAS}!=""
GCONF_SCHEMAS= ${gst_${GST_PLUGIN}_GCONF_SCHEMAS}
.endif
.if ${gst_${GST_PLUGIN}_GLIB_SCHEMAS}!=""
GLIB_SCHEMAS= ${gst_${GST_PLUGIN}_GLIB_SCHEMAS}
.endif
CONFIGURE_ARGS+=${gst_${GST_PLUGIN}_CONFIGURE_ARGS}
.if ${gst_${GST_PLUGIN}_USE_SDL}!=""
USE_SDL= ${gst_${GST_PLUGIN}_USE_SDL}
.endif
USE_GSTREAMER+= ${gst_${GST_PLUGIN}_USE_GSTREAMER} ${DIST:S/base/yes/}
GST_PREBUILD_DIR=${gst_${GST_PLUGIN}_GST_PREBUILD_DIR}
GST_PLUGIN_DIR= ${gst_${GST_PLUGIN}_GST_PLUGIN_DIR}
GST_POSTBUILD_DIR=${gst_${GST_PLUGIN}_GST_POSTBUILD_DIR}
.if !target(do-build)
do-build:
.for dir in ${GST_PREBUILD_DIR} ${GST_PLUGIN_DIR} ${GST_POSTBUILD_DIR}
@cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}
.endfor
.endif
.if !target(do-install)
do-install:
.for dir in ${GST_PLUGIN_DIR}
@cd ${WRKSRC}/${dir}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}
.endfor
.endif
.endif
|