Index: head/audio/Makefile =================================================================== --- head/audio/Makefile (revision 557408) +++ head/audio/Makefile (revision 557409) @@ -1,885 +1,886 @@ # $FreeBSD$ # COMMENT = Audio tools SUBDIR += GxSwitchlessWah-lv2 SUBDIR += HVSC-Update SUBDIR += Maaate SUBDIR += aacgain SUBDIR += aacplusenc SUBDIR += abcde SUBDIR += abcselect SUBDIR += abgate-lv2 SUBDIR += abx SUBDIR += adplay SUBDIR += afsp SUBDIR += aften SUBDIR += alac SUBDIR += alienwah SUBDIR += alo-lv2 SUBDIR += alsa-lib SUBDIR += alsa-plugins SUBDIR += alsa-sndio SUBDIR += alsa-utils SUBDIR += alure SUBDIR += amarok SUBDIR += amb-plugins SUBDIR += ample SUBDIR += amsynth SUBDIR += aqualung SUBDIR += ardour SUBDIR += ardour6 SUBDIR += ario SUBDIR += arss SUBDIR += artyfx-lv2 SUBDIR += asmix SUBDIR += asmixer SUBDIR += asterisk-espeak SUBDIR += asterisk-flite SUBDIR += asunder SUBDIR += atunes SUBDIR += aubio SUBDIR += audacity SUBDIR += audiere SUBDIR += audiocd-kio SUBDIR += aumix SUBDIR += autocd SUBDIR += autotalent SUBDIR += autozen SUBDIR += avldrums-lv2 SUBDIR += aylet SUBDIR += bambootracker SUBDIR += baresip SUBDIR += baudline SUBDIR += bcg729 SUBDIR += bchoppr-lv2 SUBDIR += beatslash-lv2 SUBDIR += beep SUBDIR += beets SUBDIR += bharvestr-lv2 SUBDIR += bjumblr-lv2 SUBDIR += bliss SUBDIR += blop SUBDIR += bristol SUBDIR += bsequencer-lv2 SUBDIR += bshapr-lv2 SUBDIR += bslizr-lv2 SUBDIR += cadence SUBDIR += calf-lv2 SUBDIR += cam SUBDIR += cantata SUBDIR += caps-lv2 SUBDIR += caps-plugins SUBDIR += carla SUBDIR += cava SUBDIR += ccaudio2 SUBDIR += cd-discid SUBDIR += cd2mp3 SUBDIR += cddb-bundle SUBDIR += cdparanoia SUBDIR += cdplay SUBDIR += celt SUBDIR += checkmate SUBDIR += chordpack SUBDIR += chromaprint SUBDIR += clementine-player SUBDIR += cli-visualizer SUBDIR += clunk SUBDIR += cmp3 SUBDIR += cmt SUBDIR += cmus SUBDIR += codec2 SUBDIR += cpige SUBDIR += crip SUBDIR += csound SUBDIR += csoundqt SUBDIR += ctronome SUBDIR += cue2toc SUBDIR += cuetools SUBDIR += cutmp3 SUBDIR += cyanrip SUBDIR += dagrab SUBDIR += darkice SUBDIR += dcd SUBDIR += deadbeef SUBDIR += deadbeef-jack-plugin SUBDIR += deadbeef-mpris2-plugin SUBDIR += deadbeef-musical-spectrum-plugin SUBDIR += deadbeef-playback-status-plugin SUBDIR += deadbeef-quick-search-plugin SUBDIR += deadbeef-spectrogram-plugin SUBDIR += deadbeef-vu-meter-plugin SUBDIR += deadbeef-waveform-seekbar-plugin SUBDIR += dekagen SUBDIR += denemo SUBDIR += din SUBDIR += discid SUBDIR += dpf-plugins-lv2 SUBDIR += dragonfly-reverb-lv2 SUBDIR += drumgizmo SUBDIR += drumkv1-lv2 SUBDIR += drumpiler SUBDIR += drumstick SUBDIR += dsbmixer SUBDIR += dssi SUBDIR += dtmfdial SUBDIR += dumb SUBDIR += dumb-allegro SUBDIR += easytag SUBDIR += eawpats SUBDIR += eawplus SUBDIR += ecasound SUBDIR += elisa SUBDIR += emms SUBDIR += enscribe SUBDIR += epos-devel SUBDIR += eq10q-lv2 SUBDIR += espeak SUBDIR += espressivo-lv2 SUBDIR += etcd SUBDIR += eteroj-lv2 SUBDIR += etktab SUBDIR += exaile SUBDIR += exhale SUBDIR += ezstream SUBDIR += faac SUBDIR += faad SUBDIR += fabla2-lv2 SUBDIR += fapg SUBDIR += fasttracker2 SUBDIR += faudio SUBDIR += faust SUBDIR += faust-lv2 SUBDIR += faustlive SUBDIR += fcplay SUBDIR += fdk-aac SUBDIR += fdmf SUBDIR += festalon SUBDIR += festival SUBDIR += festival-freebsoft-utils SUBDIR += festlex-cmu SUBDIR += festlex-czech SUBDIR += festlex-oald SUBDIR += festlex-ogi SUBDIR += festlex-poslex SUBDIR += festvox-cmu_us_awb_arctic SUBDIR += festvox-cmu_us_bdl_arctic SUBDIR += festvox-cmu_us_clb_arctic SUBDIR += festvox-cmu_us_jmk_arctic SUBDIR += festvox-cmu_us_ksp_arctic SUBDIR += festvox-cmu_us_rms_arctic SUBDIR += festvox-cmu_us_slt_arctic SUBDIR += festvox-don SUBDIR += festvox-el11 SUBDIR += festvox-kal16 SUBDIR += festvox-kal8 SUBDIR += festvox-ked16 SUBDIR += festvox-ked8 SUBDIR += festvox-rab16 SUBDIR += festvox-rab8 SUBDIR += festvox-russian SUBDIR += flac SUBDIR += flac123 SUBDIR += flacon SUBDIR += flake SUBDIR += flite SUBDIR += fluid-soundfont SUBDIR += fluidplug-lv2 SUBDIR += fluidsynth SUBDIR += fluidsynth-dssi SUBDIR += fmit SUBDIR += fogpad-lv2 SUBDIR += fomp-lv2 SUBDIR += foo-yc20 SUBDIR += forked-daapd SUBDIR += fossmixer SUBDIR += fpc-a52 SUBDIR += fpc-mad SUBDIR += fpc-modplug SUBDIR += fpc-oggvorbis SUBDIR += fpc-openal SUBDIR += fplib SUBDIR += freealut SUBDIR += freedesktop-sound-theme SUBDIR += freepats SUBDIR += funktrackergold SUBDIR += ganv SUBDIR += gbemol SUBDIR += gbsplay SUBDIR += geonkick-lv2 SUBDIR += gervill SUBDIR += ghostess SUBDIR += giada SUBDIR += gimmix SUBDIR += glurp SUBDIR += gmpc SUBDIR += gmpc-alarm SUBDIR += gmpc-albumview SUBDIR += gmpc-discogs SUBDIR += gmpc-extraplaylist SUBDIR += gmpc-lastfm SUBDIR += gmpc-libnotify SUBDIR += gmpc-lyrics SUBDIR += gmpc-lyricsplugin SUBDIR += gmpc-magnatune SUBDIR += gmpc-mdcover SUBDIR += gmpc-mserver SUBDIR += gmpc-shout SUBDIR += gmsynth-lv2 SUBDIR += gmtp SUBDIR += gmusicbrowser SUBDIR += gnaural SUBDIR += gnome-music SUBDIR += gnormalize SUBDIR += gnuitar SUBDIR += gnupod SUBDIR += gnuspeechsa SUBDIR += gnustep-cdplayer SUBDIR += goattracker SUBDIR += gogglesmm SUBDIR += gonic SUBDIR += goobox SUBDIR += gqradio SUBDIR += gradio SUBDIR += gramofile SUBDIR += grip SUBDIR += gsequencer SUBDIR += gsm SUBDIR += gsound SUBDIR += gstreamer-plugins-a52dec SUBDIR += gstreamer-plugins-amrnb SUBDIR += gstreamer-plugins-amrwbdec SUBDIR += gstreamer-plugins-cdaudio SUBDIR += gstreamer-plugins-cdparanoia SUBDIR += gstreamer-plugins-faac SUBDIR += gstreamer-plugins-faad SUBDIR += gstreamer-plugins-flac SUBDIR += gstreamer-plugins-flite SUBDIR += gstreamer-plugins-fluendo-mp3 SUBDIR += gstreamer-plugins-gme SUBDIR += gstreamer-plugins-gsm SUBDIR += gstreamer-plugins-jack SUBDIR += gstreamer-plugins-ladspa SUBDIR += gstreamer-plugins-lame SUBDIR += gstreamer-plugins-mad SUBDIR += gstreamer-plugins-mp3 SUBDIR += gstreamer-plugins-musepack SUBDIR += gstreamer-plugins-nas SUBDIR += gstreamer-plugins-ogg SUBDIR += gstreamer-plugins-opus SUBDIR += gstreamer-plugins-pulse SUBDIR += gstreamer-plugins-shout2 SUBDIR += gstreamer-plugins-sidplay SUBDIR += gstreamer-plugins-sndfile SUBDIR += gstreamer-plugins-sndio SUBDIR += gstreamer-plugins-soundtouch SUBDIR += gstreamer-plugins-spc SUBDIR += gstreamer-plugins-speex SUBDIR += gstreamer-plugins-taglib SUBDIR += gstreamer-plugins-twolame SUBDIR += gstreamer-plugins-vorbis SUBDIR += gstreamer-plugins-wavpack SUBDIR += gstreamer1-plugins-a52dec SUBDIR += gstreamer1-plugins-amrnb SUBDIR += gstreamer1-plugins-amrwbdec SUBDIR += gstreamer1-plugins-bs2b SUBDIR += gstreamer1-plugins-cdparanoia SUBDIR += gstreamer1-plugins-chromaprint SUBDIR += gstreamer1-plugins-faac SUBDIR += gstreamer1-plugins-faad SUBDIR += gstreamer1-plugins-flac SUBDIR += gstreamer1-plugins-flite SUBDIR += gstreamer1-plugins-gme SUBDIR += gstreamer1-plugins-gsm SUBDIR += gstreamer1-plugins-jack SUBDIR += gstreamer1-plugins-ladspa SUBDIR += gstreamer1-plugins-lame SUBDIR += gstreamer1-plugins-lv2 SUBDIR += gstreamer1-plugins-modplug SUBDIR += gstreamer1-plugins-mpg123 SUBDIR += gstreamer1-plugins-musepack SUBDIR += gstreamer1-plugins-ogg SUBDIR += gstreamer1-plugins-openmpt SUBDIR += gstreamer1-plugins-opus SUBDIR += gstreamer1-plugins-pulse SUBDIR += gstreamer1-plugins-shout2 SUBDIR += gstreamer1-plugins-sidplay SUBDIR += gstreamer1-plugins-sndfile SUBDIR += gstreamer1-plugins-sndio SUBDIR += gstreamer1-plugins-soundtouch SUBDIR += gstreamer1-plugins-speex SUBDIR += gstreamer1-plugins-taglib SUBDIR += gstreamer1-plugins-twolame SUBDIR += gstreamer1-plugins-vorbis SUBDIR += gstreamer1-plugins-wavpack SUBDIR += gstreamer1-plugins-webrtcdsp SUBDIR += gtick SUBDIR += gtkguitune SUBDIR += gtkpod SUBDIR += gtmixer SUBDIR += guidolib SUBDIR += guitarix-lv2 SUBDIR += guspat SUBDIR += gvolwheel SUBDIR += gxmms2 SUBDIR += gxplugins-lv2 SUBDIR += harp SUBDIR += headsetcontrol SUBDIR += herrie SUBDIR += hexter SUBDIR += hpsjam SUBDIR += hts_engine-API SUBDIR += hvl2wav SUBDIR += hydrogen SUBDIR += icecast SUBDIR += icecast-kh SUBDIR += icegenerator SUBDIR += ices SUBDIR += id3ed SUBDIR += id3el SUBDIR += id3lib SUBDIR += id3mtag SUBDIR += id3ren SUBDIR += id3tool SUBDIR += id3v2 SUBDIR += ifp-line SUBDIR += infamous-plugins-lv2 SUBDIR += intersect-lv2 SUBDIR += invada-studio-plugins-lv2 SUBDIR += ir-lv2 SUBDIR += jack SUBDIR += jack-keyboard SUBDIR += jack-smf-utils SUBDIR += jack_ghero SUBDIR += jack_umidi SUBDIR += jacktrip SUBDIR += jalv SUBDIR += jalv-select SUBDIR += jamin SUBDIR += jamulus SUBDIR += jid3lib SUBDIR += juk SUBDIR += juke SUBDIR += julius SUBDIR += kexis SUBDIR += kid3-kf5 SUBDIR += kid3-qt5 SUBDIR += kmix SUBDIR += ksmp3play SUBDIR += kwave SUBDIR += ladspa SUBDIR += lame SUBDIR += lash SUBDIR += lenticular-lv2 SUBDIR += liba52 SUBDIR += libaacplus SUBDIR += libadplug SUBDIR += libaiff SUBDIR += libamrnb SUBDIR += libamrwb SUBDIR += libao SUBDIR += libaudec SUBDIR += libaudiofile SUBDIR += libbpm SUBDIR += libbs2b SUBDIR += libcanberra SUBDIR += libcanberra-gtk3 SUBDIR += libcdaudio SUBDIR += libcddb SUBDIR += libcddb-doc SUBDIR += libconvolve SUBDIR += libcoverart SUBDIR += libdiscid SUBDIR += libdssialsacompat SUBDIR += libebur128 SUBDIR += libechonest SUBDIR += libfilteraudio SUBDIR += libfishsound SUBDIR += libg722 SUBDIR += libgig SUBDIR += libgme SUBDIR += libgpod SUBDIR += libgpod-sharp SUBDIR += libgroove SUBDIR += libid3tag SUBDIR += libinstpatch SUBDIR += libkcddb SUBDIR += libkcompactdisc SUBDIR += liblastfm-qt5 SUBDIR += liblo SUBDIR += liblscp SUBDIR += libltc SUBDIR += libmad SUBDIR += libmatemixer SUBDIR += libmikmod SUBDIR += libmodplug SUBDIR += libmp3-archive-perl SUBDIR += libmp3splt SUBDIR += libmpd SUBDIR += libmpdclient SUBDIR += libmusicbrainz5 SUBDIR += libmusicxml SUBDIR += libmysofa SUBDIR += libnjb SUBDIR += libnoise SUBDIR += libogg SUBDIR += liboggz SUBDIR += libopenmpt SUBDIR += libopenshot-audio SUBDIR += libopenspc SUBDIR += libopusenc SUBDIR += libsamplerate SUBDIR += libshairport SUBDIR += libshout SUBDIR += libsidplay SUBDIR += libsidplay2 SUBDIR += libsidplayfp SUBDIR += libsmf SUBDIR += libsndfile SUBDIR += libsonic SUBDIR += libsoxr SUBDIR += libtremor SUBDIR += libumidi SUBDIR += libvorbis SUBDIR += libworkman SUBDIR += libxmp SUBDIR += lilv SUBDIR += lingot SUBDIR += linux-c7-alsa-lib SUBDIR += linux-c7-alsa-lib-devel SUBDIR += linux-c7-alsa-plugins-oss SUBDIR += linux-c7-alsa-plugins-pulseaudio SUBDIR += linux-c7-alsa-utils SUBDIR += linux-c7-audiofile SUBDIR += linux-c7-flac SUBDIR += linux-c7-gsm SUBDIR += linux-c7-libogg SUBDIR += linux-c7-libsndfile SUBDIR += linux-c7-libvorbis SUBDIR += linux-c7-openal-soft SUBDIR += linux-c7-pulseaudio-libs SUBDIR += linux-c7-pulseaudio-utils SUBDIR += linux-c7-sdl_mixer SUBDIR += linux-laudio SUBDIR += linuxsampler SUBDIR += liquidsfz SUBDIR += listener SUBDIR += lmms SUBDIR += logitechmediaserver SUBDIR += logitechmediaserver-dynamicplaylist SUBDIR += logitechmediaserver-lazysearch SUBDIR += logitechmediaserver-sqlplaylist SUBDIR += logitechmediaserver-trackstat SUBDIR += lollypop SUBDIR += lpac SUBDIR += lsp-plugins-lv2 SUBDIR += lua-mpd SUBDIR += luppp SUBDIR += lv2 SUBDIR += lv2file SUBDIR += lv2lint SUBDIR += lv2proc SUBDIR += lvtk SUBDIR += lxmusic SUBDIR += mac SUBDIR += madfufw SUBDIR += madplay SUBDIR += malint SUBDIR += mate-media SUBDIR += mclk-lv2 SUBDIR += mctoolame-decoder SUBDIR += mctoolame-encoder SUBDIR += mda-lv2 SUBDIR += mhwaveedit SUBDIR += midi-matrix-lv2 SUBDIR += midiomatic-lv2 SUBDIR += midipp SUBDIR += mikmod SUBDIR += milkytracker SUBDIR += mio2jack SUBDIR += mixer.app SUBDIR += mixertui SUBDIR += mixxx SUBDIR += mixxx21 SUBDIR += mkcue SUBDIR += moc SUBDIR += modplugplay SUBDIR += moodbar SUBDIR += moony-lv2 SUBDIR += mous SUBDIR += mp-player SUBDIR += mp3-archive-tools SUBDIR += mp32ogg SUBDIR += mp3_check SUBDIR += mp3asm SUBDIR += mp3blaster SUBDIR += mp3burn SUBDIR += mp3c SUBDIR += mp3check SUBDIR += mp3ck SUBDIR += mp3gain SUBDIR += mp3guessenc SUBDIR += mp3info SUBDIR += mp3lint SUBDIR += mp3mover SUBDIR += mp3plot SUBDIR += mp3rename SUBDIR += mp3riot SUBDIR += mp3splt SUBDIR += mp3splt-gtk SUBDIR += mp3stat SUBDIR += mp3unicode SUBDIR += mp3val SUBDIR += mp3wrap SUBDIR += mpdas SUBDIR += mpdcon SUBDIR += mpdscribble SUBDIR += mpg123 SUBDIR += mpg123.el SUBDIR += mpg321 SUBDIR += mpiosh SUBDIR += mps SUBDIR += mpz SUBDIR += mumble SUBDIR += murmur SUBDIR += murmur-cli SUBDIR += muse-sequencer SUBDIR += musepack SUBDIR += musescore SUBDIR += musicbox-tag-editor SUBDIR += musiccontrol SUBDIR += musicpc SUBDIR += musicpd SUBDIR += mythplugin-mythmusic SUBDIR += nas SUBDIR += ncmpc SUBDIR += ncmpcpp SUBDIR += ncpamixer SUBDIR += ncspot SUBDIR += nekobi-lv2 SUBDIR += noise-repellent-lv2 SUBDIR += normalize SUBDIR += nosefart SUBDIR += noson-app SUBDIR += nspmod SUBDIR += oaml SUBDIR += ocp SUBDIR += ogg2mp3 SUBDIR += openal-soft SUBDIR += opencore-amr SUBDIR += openspc SUBDIR += optimfrog SUBDIR += optimfrog-sse2 SUBDIR += opus SUBDIR += opus-tools SUBDIR += opusfile SUBDIR += opustags SUBDIR += orbit-lv2 SUBDIR += osalp SUBDIR += osd-lyrics SUBDIR += osdmixer SUBDIR += oss SUBDIR += p5-Audio-CD SUBDIR += p5-Audio-Ecasound SUBDIR += p5-Audio-FLAC-Header SUBDIR += p5-Audio-MPD SUBDIR += p5-Audio-MPD-Common SUBDIR += p5-Audio-Mixer SUBDIR += p5-Audio-Musepack SUBDIR += p5-Audio-Scan SUBDIR += p5-Audio-Scrobbler SUBDIR += p5-Audio-WMA SUBDIR += p5-Audio-Wav SUBDIR += p5-CDDB SUBDIR += p5-CDDB-File SUBDIR += p5-CDDB_get SUBDIR += p5-Filesys-Virtual-DAAP SUBDIR += p5-MIDI SUBDIR += p5-MP3-Find SUBDIR += p5-MP3-ID3v1Tag SUBDIR += p5-MP3-Info SUBDIR += p5-MP3-Tag SUBDIR += p5-MP3-Tag-Utils SUBDIR += p5-MPEG-ID3v2Tag SUBDIR += p5-Music-Audioscrobbler-MPD SUBDIR += p5-Music-Audioscrobbler-Submit SUBDIR += p5-MusicBrainz-DiscID SUBDIR += p5-Net-DAAP-Client SUBDIR += p5-Net-DAAP-DMAP SUBDIR += p5-Net-FreeDB SUBDIR += p5-Net-LibLO SUBDIR += p5-Ogg-Vorbis-Header SUBDIR += p5-Ogg-Vorbis-Header-PurePerl SUBDIR += p5-Shout SUBDIR += p5-Test-Corpus-Audio-MPD SUBDIR += p5-libvorbis SUBDIR += p5-tagged SUBDIR += pacpl SUBDIR += padthv1-lv2 SUBDIR += paman SUBDIR += paprefs SUBDIR += pavucontrol SUBDIR += pavucontrol-qt SUBDIR += pavumeter SUBDIR += pc-mixer SUBDIR += pd SUBDIR += pear-Text_Spell_Audio SUBDIR += penguinsap SUBDIR += pianobar SUBDIR += pianobooster SUBDIR += pianod2 SUBDIR += picard SUBDIR += picard-plugins SUBDIR += pithos SUBDIR += plasma5-plasma-pa SUBDIR += play SUBDIR += playgsf SUBDIR += playmidi SUBDIR += playumidi SUBDIR += pm3umpdl SUBDIR += pms SUBDIR += pms-devel SUBDIR += pocketsphinx SUBDIR += polyphone SUBDIR += portaudio SUBDIR += praat SUBDIR += pragha SUBDIR += protracker SUBDIR += pulseaudio SUBDIR += pulseaudio-module-sndio SUBDIR += pulseaudio-module-xrdp SUBDIR += pulseaudio-qt SUBDIR += pulseeffects SUBDIR += py-SoundFile SUBDIR += py-al SUBDIR += py-apetag SUBDIR += py-aubio SUBDIR += py-audioread SUBDIR += py-discid SUBDIR += py-discogs-client SUBDIR += py-eyed3 SUBDIR += py-fmoo-audiotools SUBDIR += py-gmusicapi SUBDIR += py-gtts SUBDIR += py-hsaudiotag3k SUBDIR += py-mpd SUBDIR += py-music21 SUBDIR += py-musicbrainzngs SUBDIR += py-mutagen SUBDIR += py-opuslib SUBDIR += py-pyacoustid SUBDIR += py-pyaudio SUBDIR += py-pylast SUBDIR += py-pyliblo SUBDIR += py-pymad SUBDIR += py-pysndfile SUBDIR += py-python-mpd2 SUBDIR += py-soundcloud SUBDIR += py-sounddevice SUBDIR += py-soundscrape SUBDIR += py-speechrecognition SUBDIR += py-tagpy SUBDIR += py-wavio SUBDIR += py-webrtcvad SUBDIR += qaudiosonar SUBDIR += qjackctl SUBDIR += qmidiarp SUBDIR += qmidictl SUBDIR += qsampler SUBDIR += qsynth SUBDIR += quimup SUBDIR += raul SUBDIR += rawrec SUBDIR += re SUBDIR += rebot3 SUBDIR += rem SUBDIR += resid SUBDIR += rexima SUBDIR += rezound SUBDIR += rhvoice SUBDIR += rhvoice-dictionary SUBDIR += rhythmbox SUBDIR += rioutil SUBDIR += ripit SUBDIR += ripperx SUBDIR += rkr-lv2 SUBDIR += rnnoise-nu SUBDIR += rosegarden SUBDIR += rplay SUBDIR += rsynth SUBDIR += rtaudio SUBDIR += rtmidi SUBDIR += rubberband SUBDIR += ruby-smf SUBDIR += ruby-taglib SUBDIR += rubygem-librmpd SUBDIR += rubygem-ruby-mp3info SUBDIR += rubygem-ruby-ogginfo SUBDIR += rubygem-ruby-shout SUBDIR += s3mod SUBDIR += samplv1-lv2 SUBDIR += sayonara SUBDIR += sbagen SUBDIR += sc3-plugins SUBDIR += schismtracker SUBDIR += screcord-lv2 SUBDIR += sdl2_mixer SUBDIR += sdl_mixer SUBDIR += sdl_sound SUBDIR += sfizz SUBDIR += sfront SUBDIR += shairplay SUBDIR += shairport-sync SUBDIR += sherlock-lv2 SUBDIR += shntool SUBDIR += shout SUBDIR += sidplay SUBDIR += sidplay2 SUBDIR += sidplayer SUBDIR += simplemod SUBDIR += siren SUBDIR += snack SUBDIR += snd SUBDIR += sndio SUBDIR += so-synth-lv2 SUBDIR += somafm-cli SUBDIR += sonata SUBDIR += sonic-visualiser SUBDIR += sorcer-lv2 SUBDIR += sound-juicer SUBDIR += soundgrab SUBDIR += soundkonverter SUBDIR += soundtouch SUBDIR += sox SUBDIR += spc2it SUBDIR += spectacle-lv2 SUBDIR += spectrogram SUBDIR += speech-denoiser-lv2 SUBDIR += speex SUBDIR += speexdsp SUBDIR += spek SUBDIR += sphinx SUBDIR += sphinx3 SUBDIR += sphinxbase SUBDIR += spiralloops SUBDIR += spiralsynth SUBDIR += spiralsynthmodular SUBDIR += splay SUBDIR += splaytk SUBDIR += spotify-qt SUBDIR += spotify-tui SUBDIR += spotifyd SUBDIR += squash SUBDIR += squeezelite SUBDIR += sratom SUBDIR += stegosaurus-lv2 SUBDIR += stk SUBDIR += stone-phaser-lv2 SUBDIR += strawberry SUBDIR += streamripper SUBDIR += streamtranscoder SUBDIR += string-machine-lv2 SUBDIR += stymulator SUBDIR += suil SUBDIR += supercollider SUBDIR += surge-synthesizer-lv2 SUBDIR += sweep SUBDIR += swh-lv2 SUBDIR += swhplugins SUBDIR += synthpod-lv2 SUBDIR += synthv1-lv2 SUBDIR += taglib SUBDIR += taglib-extras SUBDIR += taglookup SUBDIR += tagtool SUBDIR += tagutil SUBDIR += tamgamp-lv2 SUBDIR += tap-plugins SUBDIR += tap-plugins-lv2 SUBDIR += tcd SUBDIR += teamspeak3-server SUBDIR += tempest_for_eliza SUBDIR += thunar-media-tags-plugin SUBDIR += timely-lv2 SUBDIR += timemachine SUBDIR += timidity SUBDIR += timidity++ SUBDIR += timidity++-emacs SUBDIR += timidity++-gtk SUBDIR += timidity++-motif SUBDIR += timidity++-slang SUBDIR += timidity++-xaw SUBDIR += timidity++-xskin SUBDIR += tkeca SUBDIR += toolame SUBDIR += tosha SUBDIR += traverso SUBDIR += tse3 SUBDIR += tta SUBDIR += tuneradio SUBDIR += tuxguitar SUBDIR += twolame SUBDIR += uade SUBDIR += umix SUBDIR += umodplayer SUBDIR += umurmur SUBDIR += vamp-plugin-sdk SUBDIR += vgmplay SUBDIR += vimpc SUBDIR += virtual_oss SUBDIR += virtual_oss_ctl SUBDIR += vitunes SUBDIR += vm-lv2 SUBDIR += vmpk SUBDIR += vo-aacenc SUBDIR += vo-amrwbenc SUBDIR += voipong SUBDIR += volumeicon SUBDIR += vorbis-tools SUBDIR += vorbisgain SUBDIR += vsound SUBDIR += waon SUBDIR += wav2cdr SUBDIR += wavbreaker SUBDIR += wavegain SUBDIR += waveplay SUBDIR += wavpack SUBDIR += wavplay SUBDIR += webrtc-audio-processing + SUBDIR += webrtc-audio-processing0 SUBDIR += welle.io SUBDIR += whysynth SUBDIR += wildmidi SUBDIR += wmix SUBDIR += wmmp SUBDIR += wmrecord SUBDIR += wmsmixer SUBDIR += wxguitar SUBDIR += x42-plugins-lv2 SUBDIR += xanalyser SUBDIR += xcd SUBDIR += xcdplayer SUBDIR += xfce4-mpc-plugin SUBDIR += xfce4-pulseaudio-plugin SUBDIR += xfmpc SUBDIR += ximp3 SUBDIR += xmcd SUBDIR += xmix SUBDIR += xmixer SUBDIR += xmmix SUBDIR += xmms2 SUBDIR += xmp SUBDIR += xmradio SUBDIR += xoscope SUBDIR += xsynth-dssi SUBDIR += xwave SUBDIR += yell SUBDIR += ympd SUBDIR += yoshimi SUBDIR += zam-plugins-lv2 SUBDIR += zita-convolver SUBDIR += zita-resampler SUBDIR += zrythm SUBDIR += zynaddsubfx .include Index: head/audio/gstreamer1-plugins-webrtcdsp/Makefile =================================================================== --- head/audio/gstreamer1-plugins-webrtcdsp/Makefile (revision 557408) +++ head/audio/gstreamer1-plugins-webrtcdsp/Makefile (revision 557409) @@ -1,15 +1,15 @@ # $FreeBSD$ -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio COMMENT= GStreamer WebRTC Audio Processing plugin GST_PLUGIN= webrtcdsp DIST= bad USES+= compiler:c++11-lang MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins .include "${MASTERDIR}/Makefile" Index: head/audio/pulseaudio/Makefile =================================================================== --- head/audio/pulseaudio/Makefile (revision 557408) +++ head/audio/pulseaudio/Makefile (revision 557409) @@ -1,131 +1,131 @@ # Created by: Joe Marcus Clarke # $FreeBSD$ # # !!!NOTE!!! Any PORTVERSION update to this port must be accompanied by # PORTREVISION bumps of depending ports. PORTNAME= pulseaudio PORTVERSION= 13.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/ MAINTAINER= desktop@FreeBSD.org COMMENT= Sound server for UNIX LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LGPL BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float \ libdbus-1.so:devel/dbus \ libltdl.so:devel/libltdl \ libck-connector.so:sysutils/consolekit2 USES= compiler:c11 cpe gettext gmake gnome iconv libtool \ pathfix pkgconfig python:run shebangfix ssl tar:xz xorg USE_GNOME= glib20 USE_XORG= ice sm x11 xcb xtst USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= PTHREAD_LIBS="-lpthread" \ OPENSSL_CFLAGS="-I${OPENSSLINC}" \ OPENSSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" \ LIBS="-lm -lintl" \ ac_cv_header_linux_input_h="" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib INSTALL_TARGET= install-strip SHEBANG_FILES= shell-completion/bash/pulseaudio \ src/utils/pa-info \ src/utils/qpaeq bash_CMD= ${SETENV} bash SUB_FILES= pkg-message CONFIGURE_ARGS= --localstatedir=/var \ --without-caps \ --disable-esound \ --disable-udev \ --disable-gtk3 \ --disable-systemd-daemon \ --disable-systemd-journal \ --disable-systemd-login \ --disable-neon-opt \ --disable-lirc # untested USERS= pulse GROUPS= pulse pulse-access pulse-rt OPTIONS_SUB= yes OPTIONS_DEFINE= AVAHI GCONF GSETTINGS SIMD TEST OPTIONS_DEFAULT=AVAHI SIMD SIMPLE SOXR SPEEX WEBRTC_AEC AVAHI_CONFIGURE_ENABLE= avahi AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app GCONF_CONFIGURE_ENABLE= gconf GCONF_USE= GNOME=gconf2 GSETTINGS_DESC= GSettings configuration backend support GSETTINGS_CONFIGURE_ENABLE= gsettings GSETTINGS_VARS= GLIB_SCHEMAS=org.freedesktop.pulseaudio.gschema.xml SIMD_CONFIGURE_ENABLE= orc SIMD_LIB_DEPENDS= liborc-0.4.so:devel/orc TEST_TEST_TARGET= check TEST_CONFIGURE_ENABLE= tests default-build-tests TEST_BUILD_DEPENDS= check>0:devel/check OPTIONS_GROUP= AUDIO OPTIONS_GROUP_AUDIO= ALSA JACK SOXR SPEEX WEBRTC_AEC AUDIO_DESC= Audio support ALSA_CONFIGURE_ENABLE= alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib JACK_CONFIGURE_ENABLE= jack JACK_LIB_DEPENDS= libjack.so:audio/jack SOXR_CONFIGURE_WITH= soxr SOXR_LIB_DEPENDS= libsoxr.so:audio/libsoxr SPEEX_DESC= Speex resampler and AEC support SPEEX_CONFIGURE_WITH= speex SPEEX_LIB_DEPENDS= libspeexdsp.so:audio/speexdsp WEBRTC_AEC_DESC= WebRTC-based echo canceller -WEBRTC_AEC_LIB_DEPENDS= libwebrtc_audio_processing.so:audio/webrtc-audio-processing +WEBRTC_AEC_LIB_DEPENDS= libwebrtc_audio_processing.so:audio/webrtc-audio-processing0 WEBRTC_AEC_CONFIGURE_ENABLE= webrtc-aec OPTIONS_SINGLE= DATABASE OPTIONS_SINGLE_DATABASE= TDB GDBM SIMPLE DATABASE_DESC= Database support GDBM_DESC= GNU database manager support GDBM_CONFIGURE_ON= --with-database=gdbm GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm SIMPLE_DESC= Simple database support SIMPLE_CONFIGURE_ON= --with-database=simple TDB_DESC= Trivial database support TDB_CONFIGURE_ON= --with-database=tdb TDB_LIB_DEPENDS= libtdb.so:databases/tdb PULSE_VERSION= ${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} PLIST_SUB= PULSE_VERSION=${PULSE_VERSION} post-patch: @${REINPLACE_CMD} -e 's|/usr/share|${LOCALBASE}/share|g' \ ${WRKSRC}/src/daemon/default.pa.in @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' \ -e 's|--directory|-d|g' \ ${WRKSRC}/src/utils/pa-info @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure pre-install-TEST-on: do-test post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/pulse .for ii in default.pa daemon.conf client.conf system.pa ${INSTALL_DATA} ${WRKSRC}/src/${ii} \ ${STAGEDIR}${PREFIX}/etc/pulse/${ii}.sample .endfor # Delete ${STAGEDIR}${PREFIX}/libexec/pulse directory, if it's empty @(cd ${STAGEDIR}${PREFIX}/libexec && \ ${FIND} * -maxdepth 0 -type d -empty -name pulse -delete) .include Index: head/audio/webrtc-audio-processing/files/patch-big-endian =================================================================== --- head/audio/webrtc-audio-processing/files/patch-big-endian (revision 557408) +++ head/audio/webrtc-audio-processing/files/patch-big-endian (nonexistent) @@ -1,113 +0,0 @@ -https://bugs.freedesktop.org/show_bug.cgi?id=95738 - ---- webrtc/common_audio/wav_file.cc.orig 2018-07-23 14:02:57 UTC -+++ webrtc/common_audio/wav_file.cc -@@ -64,9 +64,6 @@ WavReader::~WavReader() { - } - - size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) { --#ifndef WEBRTC_ARCH_LITTLE_ENDIAN --#error "Need to convert samples to big-endian when reading from WAV file" --#endif - // There could be metadata after the audio; ensure we don't read it. - num_samples = std::min(rtc::checked_cast(num_samples), - num_samples_remaining_); -@@ -76,6 +73,12 @@ size_t WavReader::ReadSamples(size_t num_samples, int1 - RTC_CHECK(read == num_samples || feof(file_handle_)); - RTC_CHECK_LE(read, num_samples_remaining_); - num_samples_remaining_ -= rtc::checked_cast(read); -+#ifndef WEBRTC_ARCH_LITTLE_ENDIAN -+ //convert to big-endian -+ for(size_t idx = 0; idx < num_samples; idx++) { -+ samples[idx] = (samples[idx]<<8) | (samples[idx]>>8); -+ } -+#endif - return read; - } - -@@ -120,10 +123,17 @@ WavWriter::~WavWriter() { - - void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) { - #ifndef WEBRTC_ARCH_LITTLE_ENDIAN --#error "Need to convert samples to little-endian when writing to WAV file" --#endif -+ int16_t * le_samples = new int16_t[num_samples]; -+ for(size_t idx = 0; idx < num_samples; idx++) { -+ le_samples[idx] = (samples[idx]<<8) | (samples[idx]>>8); -+ } - const size_t written = -+ fwrite(le_samples, sizeof(*le_samples), num_samples, file_handle_); -+ delete []le_samples; -+#else -+ const size_t written = - fwrite(samples, sizeof(*samples), num_samples, file_handle_); -+#endif - RTC_CHECK_EQ(num_samples, written); - num_samples_ += static_cast(written); - RTC_CHECK(written <= std::numeric_limits::max() || ---- webrtc/common_audio/wav_header.cc.orig 2018-07-23 14:02:57 UTC -+++ webrtc/common_audio/wav_header.cc -@@ -129,7 +129,39 @@ static inline std::string ReadFourCC(uint32_t x) { - return std::string(reinterpret_cast(&x), 4); - } - #else --#error "Write be-to-le conversion functions" -+static inline void WriteLE16(uint16_t* f, uint16_t x) { -+ *f = ((x << 8) & 0xff00) | ( ( x >> 8) & 0x00ff); -+} -+ -+static inline void WriteLE32(uint32_t* f, uint32_t x) { -+ *f = ( (x & 0x000000ff) << 24 ) -+ | ((x & 0x0000ff00) << 8) -+ | ((x & 0x00ff0000) >> 8) -+ | ((x & 0xff000000) >> 24 ); -+} -+ -+static inline void WriteFourCC(uint32_t* f, char a, char b, char c, char d) { -+ *f = (static_cast(a) << 24 ) -+ | (static_cast(b) << 16) -+ | (static_cast(c) << 8) -+ | (static_cast(d) ); -+} -+ -+static inline uint16_t ReadLE16(uint16_t x) { -+ return (( x & 0x00ff) << 8 )| ((x & 0xff00)>>8); -+} -+ -+static inline uint32_t ReadLE32(uint32_t x) { -+ return ( (x & 0x000000ff) << 24 ) -+ | ( (x & 0x0000ff00) << 8 ) -+ | ( (x & 0x00ff0000) >> 8) -+ | ( (x & 0xff000000) >> 24 ); -+} -+ -+static inline std::string ReadFourCC(uint32_t x) { -+ x = ReadLE32(x); -+ return std::string(reinterpret_cast(&x), 4); -+} - #endif - - static inline uint32_t RiffChunkSize(uint32_t bytes_in_payload) { ---- webrtc/typedefs.h.orig 2018-07-23 14:02:57 UTC -+++ webrtc/typedefs.h -@@ -48,7 +48,19 @@ - #define WEBRTC_ARCH_32_BITS - #define WEBRTC_ARCH_LITTLE_ENDIAN - #else --#error Please add support for your architecture in typedefs.h -+/* instead of failing, use typical unix defines... */ -+#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ -+#define WEBRTC_ARCH_LITTLE_ENDIAN -+#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ -+#define WEBRTC_ARCH_BIG_ENDIAN -+#else -+#error __BYTE_ORDER__ is not defined -+#endif -+#if defined(__LP64__) -+#define WEBRTC_ARCH_64_BITS -+#else -+#define WEBRTC_ARCH_32_BITS -+#endif - #endif - - #if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN)) Property changes on: head/audio/webrtc-audio-processing/files/patch-big-endian ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing/files/patch-configure.ac =================================================================== --- head/audio/webrtc-audio-processing/files/patch-configure.ac (revision 557408) +++ head/audio/webrtc-audio-processing/files/patch-configure.ac (nonexistent) @@ -1,18 +0,0 @@ -- Add WEBRTC_BSD as it's closer to WEBRTC_LINUX than WEBRTC_MAC - ---- configure.ac.orig 2018-07-23 14:02:57 UTC -+++ configure.ac -@@ -63,6 +63,13 @@ AS_CASE(["${host}"], - OS_LDFLAGS="-lrt -lpthread" - HAVE_POSIX=1 - ], -+ [*-*dragonfly*|*-*bsd*], -+ [ -+ OS_CFLAGS="-DWEBRTC_BSD -DWEBRTC_THREAD_RR" -+ PLATFORM_CFLAGS="-DWEBRTC_POSIX" -+ OS_LDFLAGS="-lpthread" -+ HAVE_POSIX=1 -+ ], - [*-*darwin*], - [ - OS_CFLAGS="-DWEBRTC_MAC -DWEBRTC_THREAD_RR -DWEBRTC_CLOCK_TYPE_REALTIME" Property changes on: head/audio/webrtc-audio-processing/files/patch-configure.ac ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing/files/patch-webrtc_base_stringutils.h =================================================================== --- head/audio/webrtc-audio-processing/files/patch-webrtc_base_stringutils.h (revision 557408) +++ head/audio/webrtc-audio-processing/files/patch-webrtc_base_stringutils.h (nonexistent) @@ -1,13 +0,0 @@ -- BSD macro (in sys/param.h) is an archaic of the (University of California) past - ---- webrtc/base/stringutils.h.orig 2018-07-23 14:02:57 UTC -+++ webrtc/base/stringutils.h -@@ -23,7 +23,7 @@ - #endif // WEBRTC_WIN - - #if defined(WEBRTC_POSIX) --#ifdef BSD -+#ifdef WEBRTC_BSD - #include - #else // BSD - #include Property changes on: head/audio/webrtc-audio-processing/files/patch-webrtc_base_stringutils.h ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing/files/patch-webrtc_base_platform__thread.cc =================================================================== --- head/audio/webrtc-audio-processing/files/patch-webrtc_base_platform__thread.cc (revision 557408) +++ head/audio/webrtc-audio-processing/files/patch-webrtc_base_platform__thread.cc (nonexistent) @@ -1,42 +0,0 @@ -- Implement CurrentThreadId() using global thread ID -- Implement SetCurrentThreadName() - ---- webrtc/base/platform_thread.cc.orig 2018-07-23 14:02:57 UTC -+++ webrtc/base/platform_thread.cc -@@ -19,6 +19,12 @@ - #include - #endif - -+#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__) // WEBRTC_BSD -+#include -+#elif defined(__NetBSD__) // WEBRTC_BSD -+#include -+#endif -+ - namespace rtc { - - PlatformThreadId CurrentThreadId() { -@@ -32,6 +38,12 @@ PlatformThreadId CurrentThreadId() { - ret = syscall(__NR_gettid); - #elif defined(WEBRTC_ANDROID) - ret = gettid(); -+#elif defined(__DragonFly__) || defined(__FreeBSD__) // WEBRTC_BSD -+ ret = pthread_getthreadid_np(); -+#elif defined(__NetBSD__) // WEBRTC_BSD -+ ret = _lwp_self(); -+#elif defined(__OpenBSD__) // WEBRTC_BSD -+ ret = getthrid(); - #else - // Default implementation for nacl and solaris. - ret = reinterpret_cast(pthread_self()); -@@ -76,6 +88,10 @@ void SetCurrentThreadName(const char* name) { - prctl(PR_SET_NAME, reinterpret_cast(name)); - #elif defined(WEBRTC_MAC) || defined(WEBRTC_IOS) - pthread_setname_np(name); -+#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__) // WEBRTC_BSD -+ pthread_set_name_np(pthread_self(), name); -+#elif defined(__NetBSD__) // WEBRTC_BSD -+ pthread_setname_np(pthread_self(), "%s", (void*)name); - #endif - } - Property changes on: head/audio/webrtc-audio-processing/files/patch-webrtc_base_platform__thread.cc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing/files/patch-webrtc_system__wrappers_source_condition__variable.cc =================================================================== --- head/audio/webrtc-audio-processing/files/patch-webrtc_system__wrappers_source_condition__variable.cc (revision 557408) +++ head/audio/webrtc-audio-processing/files/patch-webrtc_system__wrappers_source_condition__variable.cc (nonexistent) @@ -1,22 +0,0 @@ -- Match conditional in webrtc/system_wrappers/Makefile.am - ---- webrtc/system_wrappers/source/condition_variable.cc.orig 2018-07-23 14:02:57 UTC -+++ webrtc/system_wrappers/source/condition_variable.cc -@@ -14,7 +14,7 @@ - #include - #include "webrtc/system_wrappers/source/condition_variable_event_win.h" - #include "webrtc/system_wrappers/source/condition_variable_native_win.h" --#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) -+#elif defined(WEBRTC_POSIX) - #include - #include "webrtc/system_wrappers/source/condition_variable_posix.h" - #endif -@@ -31,7 +31,7 @@ ConditionVariableWrapper* ConditionVariableWrapper::Cr - ret_val = new ConditionVariableEventWin(); - } - return ret_val; --#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) -+#elif defined(WEBRTC_POSIX) - return ConditionVariablePosix::Create(); - #else - return NULL; Property changes on: head/audio/webrtc-audio-processing/files/patch-webrtc_system__wrappers_source_condition__variable.cc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing/files/patch-webrtc_base_checks.cc =================================================================== --- head/audio/webrtc-audio-processing/files/patch-webrtc_base_checks.cc (revision 557408) +++ head/audio/webrtc-audio-processing/files/patch-webrtc_base_checks.cc (nonexistent) @@ -1,70 +0,0 @@ -- Drop unnecessary dependency on libexecinfo for GCC build - https://chromium.googlesource.com/external/webrtc/+/7c4dedade158%5E!/ - ---- webrtc/base/checks.cc.orig 2018-07-23 14:02:57 UTC -+++ webrtc/base/checks.cc -@@ -11,16 +11,10 @@ - // Most of this was borrowed (with minor modifications) from V8's and Chromium's - // src/base/logging.cc. - --// Use the C++ version to provide __GLIBCXX__. - #include - #include - #include - --#if defined(__GLIBCXX__) && !defined(__UCLIBC__) --#include --#include --#endif -- - #if defined(WEBRTC_ANDROID) - #define LOG_TAG "rtc" - #include // NOLINT -@@ -51,39 +45,6 @@ void PrintError(const char* format, ...) { - va_end(args); - } - --// TODO(ajm): This works on Mac (although the parsing fails) but I don't seem --// to get usable symbols on Linux. This is copied from V8. Chromium has a more --// advanced stace trace system; also more difficult to copy. --void DumpBacktrace() { --#if defined(__GLIBCXX__) && !defined(__UCLIBC__) -- void* trace[100]; -- int size = backtrace(trace, sizeof(trace) / sizeof(*trace)); -- char** symbols = backtrace_symbols(trace, size); -- PrintError("\n==== C stack trace ===============================\n\n"); -- if (size == 0) { -- PrintError("(empty)\n"); -- } else if (symbols == NULL) { -- PrintError("(no symbols)\n"); -- } else { -- for (int i = 1; i < size; ++i) { -- char mangled[201]; -- if (sscanf(symbols[i], "%*[^(]%*[(]%200[^)+]", mangled) == 1) { // NOLINT -- PrintError("%2d: ", i); -- int status; -- size_t length; -- char* demangled = abi::__cxa_demangle(mangled, NULL, &length, &status); -- PrintError("%s\n", demangled != NULL ? demangled : mangled); -- free(demangled); -- } else { -- // If parsing failed, at least print the unparsed symbol. -- PrintError("%s\n", symbols[i]); -- } -- } -- } -- free(symbols); --#endif --} -- - FatalMessage::FatalMessage(const char* file, int line) { - Init(file, line); - } -@@ -99,7 +60,6 @@ NO_RETURN FatalMessage::~FatalMessage() { - fflush(stderr); - stream_ << std::endl << "#" << std::endl; - PrintError(stream_.str().c_str()); -- DumpBacktrace(); - fflush(stderr); - abort(); - } Property changes on: head/audio/webrtc-audio-processing/files/patch-webrtc_base_checks.cc ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing/Makefile =================================================================== --- head/audio/webrtc-audio-processing/Makefile (revision 557408) +++ head/audio/webrtc-audio-processing/Makefile (revision 557409) @@ -1,19 +1,27 @@ # $FreeBSD$ PORTNAME= webrtc-audio-processing -PORTVERSION= 0.3.1 -PORTREVISION= 2 +DISTVERSION= 1.0 CATEGORIES= audio MASTER_SITES= https://freedesktop.org/software/pulseaudio/${PORTNAME}/ +PATCH_SITES= https://gitlab.freedesktop.org/pulseaudio/${PORTNAME}/-/commit/ +PATCHFILES+= 2083c9a5dd34.diff:-p1 # https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/6 + MAINTAINER= jbeich@FreeBSD.org COMMENT= AudioProcessing module from WebRTC project LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING -USES= autoreconf compiler:c++11-lib libtool pkgconfig tar:xz +LIB_DEPENDS= libabsl_strings.so:devel/abseil + +USES= compiler:c++14-lang localbase:ldflags meson USE_LDCONFIG= yes -GNU_CONFIGURE= yes +CFLAGS_i386= -msse # https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/5 + +post-patch: +# https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/4 + @${REINPLACE_CMD} '/absl/s/registry/reflection/' ${WRKSRC}/meson.build .include Index: head/audio/webrtc-audio-processing/distinfo =================================================================== --- head/audio/webrtc-audio-processing/distinfo (revision 557408) +++ head/audio/webrtc-audio-processing/distinfo (revision 557409) @@ -1,3 +1,5 @@ -TIMESTAMP = 1532354746 -SHA256 (webrtc-audio-processing-0.3.1.tar.xz) = a0fdd938fd85272d67e81572c5a4d9e200a0c104753cb3c209ded175ce3c5dbf -SIZE (webrtc-audio-processing-0.3.1.tar.xz) = 695920 +TIMESTAMP = 1606505453 +SHA256 (webrtc-audio-processing-1.0.tar.gz) = 441a30d2717b2eb4145c6eb96c2d5a270fe0b4bc71aebf76716750c47be1936f +SIZE (webrtc-audio-processing-1.0.tar.gz) = 856721 +SHA256 (2083c9a5dd34.diff) = e61660be88366621317924a3bbd6a852e07ee0912e96cbcbe332bf76a57761b9 +SIZE (2083c9a5dd34.diff) = 2243 Index: head/audio/webrtc-audio-processing/pkg-plist =================================================================== --- head/audio/webrtc-audio-processing/pkg-plist (revision 557408) +++ head/audio/webrtc-audio-processing/pkg-plist (revision 557409) @@ -1,18 +1,29 @@ -include/webrtc_audio_processing/webrtc/base/arraysize.h -include/webrtc_audio_processing/webrtc/base/basictypes.h -include/webrtc_audio_processing/webrtc/base/checks.h -include/webrtc_audio_processing/webrtc/base/constructormagic.h -include/webrtc_audio_processing/webrtc/base/maybe.h -include/webrtc_audio_processing/webrtc/base/platform_file.h -include/webrtc_audio_processing/webrtc/common.h -include/webrtc_audio_processing/webrtc/common_types.h -include/webrtc_audio_processing/webrtc/modules/audio_processing/beamformer/array_util.h -include/webrtc_audio_processing/webrtc/modules/audio_processing/include/audio_processing.h -include/webrtc_audio_processing/webrtc/modules/interface/module_common_types.h -include/webrtc_audio_processing/webrtc/system_wrappers/include/trace.h -include/webrtc_audio_processing/webrtc/typedefs.h -lib/libwebrtc_audio_processing.a -lib/libwebrtc_audio_processing.so -lib/libwebrtc_audio_processing.so.1 -lib/libwebrtc_audio_processing.so.1.0.0 -libdata/pkgconfig/webrtc-audio-processing.pc +include/webrtc-audio-processing-1/api/array_view.h +include/webrtc-audio-processing-1/api/audio/echo_canceller3_config.h +include/webrtc-audio-processing-1/api/audio/echo_control.h +include/webrtc-audio-processing-1/api/scoped_refptr.h +include/webrtc-audio-processing-1/modules/audio_coding/codecs/isac/bandwidth_info.h +include/webrtc-audio-processing-1/modules/audio_coding/codecs/isac/main/include/isac.h +include/webrtc-audio-processing-1/modules/audio_coding/codecs/isac/main/source/settings.h +include/webrtc-audio-processing-1/modules/audio_processing/include/audio_processing.h +include/webrtc-audio-processing-1/modules/audio_processing/include/audio_processing_statistics.h +include/webrtc-audio-processing-1/modules/audio_processing/include/config.h +include/webrtc-audio-processing-1/rtc_base/arraysize.h +include/webrtc-audio-processing-1/rtc_base/checks.h +include/webrtc-audio-processing-1/rtc_base/constructor_magic.h +include/webrtc-audio-processing-1/rtc_base/deprecation.h +include/webrtc-audio-processing-1/rtc_base/numerics/safe_compare.h +include/webrtc-audio-processing-1/rtc_base/ref_count.h +include/webrtc-audio-processing-1/rtc_base/system/file_wrapper.h +include/webrtc-audio-processing-1/rtc_base/system/inline.h +include/webrtc-audio-processing-1/rtc_base/system/rtc_export.h +include/webrtc-audio-processing-1/rtc_base/type_traits.h +include/webrtc-audio-processing-1/system_wrappers/include/cpu_features_wrapper.h +include/webrtc-audio-processing-1/system_wrappers/include/metrics.h +include/webrtc-audio-processing-1/system_wrappers/include/sleep.h +lib/libwebrtc-audio-coding-1.so +lib/libwebrtc-audio-coding-1.so.0 +lib/libwebrtc-audio-processing-1.so +lib/libwebrtc-audio-processing-1.so.0 +libdata/pkgconfig/webrtc-audio-coding-1.pc +libdata/pkgconfig/webrtc-audio-processing-1.pc Index: head/audio/webrtc-audio-processing0/Makefile =================================================================== --- head/audio/webrtc-audio-processing0/Makefile (nonexistent) +++ head/audio/webrtc-audio-processing0/Makefile (revision 557409) @@ -0,0 +1,20 @@ +# $FreeBSD$ + +PORTNAME= webrtc-audio-processing +PORTVERSION= 0.3.1 +PORTREVISION= 2 +CATEGORIES= audio +MASTER_SITES= https://freedesktop.org/software/pulseaudio/${PORTNAME}/ +PKGNAMESUFFIX= 0 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= AudioProcessing module from WebRTC project (legacy version) + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= autoreconf compiler:c++11-lib libtool pkgconfig tar:xz +USE_LDCONFIG= yes +GNU_CONFIGURE= yes + +.include Property changes on: head/audio/webrtc-audio-processing0/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing0/files/patch-webrtc_base_platform__thread.cc =================================================================== --- head/audio/webrtc-audio-processing0/files/patch-webrtc_base_platform__thread.cc (nonexistent) +++ head/audio/webrtc-audio-processing0/files/patch-webrtc_base_platform__thread.cc (revision 557409) @@ -0,0 +1,42 @@ +- Implement CurrentThreadId() using global thread ID +- Implement SetCurrentThreadName() + +--- webrtc/base/platform_thread.cc.orig 2018-07-23 14:02:57 UTC ++++ webrtc/base/platform_thread.cc +@@ -19,6 +19,12 @@ + #include + #endif + ++#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__) // WEBRTC_BSD ++#include ++#elif defined(__NetBSD__) // WEBRTC_BSD ++#include ++#endif ++ + namespace rtc { + + PlatformThreadId CurrentThreadId() { +@@ -32,6 +38,12 @@ PlatformThreadId CurrentThreadId() { + ret = syscall(__NR_gettid); + #elif defined(WEBRTC_ANDROID) + ret = gettid(); ++#elif defined(__DragonFly__) || defined(__FreeBSD__) // WEBRTC_BSD ++ ret = pthread_getthreadid_np(); ++#elif defined(__NetBSD__) // WEBRTC_BSD ++ ret = _lwp_self(); ++#elif defined(__OpenBSD__) // WEBRTC_BSD ++ ret = getthrid(); + #else + // Default implementation for nacl and solaris. + ret = reinterpret_cast(pthread_self()); +@@ -76,6 +88,10 @@ void SetCurrentThreadName(const char* name) { + prctl(PR_SET_NAME, reinterpret_cast(name)); + #elif defined(WEBRTC_MAC) || defined(WEBRTC_IOS) + pthread_setname_np(name); ++#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__OpenBSD__) // WEBRTC_BSD ++ pthread_set_name_np(pthread_self(), name); ++#elif defined(__NetBSD__) // WEBRTC_BSD ++ pthread_setname_np(pthread_self(), "%s", (void*)name); + #endif + } + Property changes on: head/audio/webrtc-audio-processing0/files/patch-webrtc_base_platform__thread.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing0/files/patch-big-endian =================================================================== --- head/audio/webrtc-audio-processing0/files/patch-big-endian (nonexistent) +++ head/audio/webrtc-audio-processing0/files/patch-big-endian (revision 557409) @@ -0,0 +1,113 @@ +https://bugs.freedesktop.org/show_bug.cgi?id=95738 + +--- webrtc/common_audio/wav_file.cc.orig 2018-07-23 14:02:57 UTC ++++ webrtc/common_audio/wav_file.cc +@@ -64,9 +64,6 @@ WavReader::~WavReader() { + } + + size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) { +-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN +-#error "Need to convert samples to big-endian when reading from WAV file" +-#endif + // There could be metadata after the audio; ensure we don't read it. + num_samples = std::min(rtc::checked_cast(num_samples), + num_samples_remaining_); +@@ -76,6 +73,12 @@ size_t WavReader::ReadSamples(size_t num_samples, int1 + RTC_CHECK(read == num_samples || feof(file_handle_)); + RTC_CHECK_LE(read, num_samples_remaining_); + num_samples_remaining_ -= rtc::checked_cast(read); ++#ifndef WEBRTC_ARCH_LITTLE_ENDIAN ++ //convert to big-endian ++ for(size_t idx = 0; idx < num_samples; idx++) { ++ samples[idx] = (samples[idx]<<8) | (samples[idx]>>8); ++ } ++#endif + return read; + } + +@@ -120,10 +123,17 @@ WavWriter::~WavWriter() { + + void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) { + #ifndef WEBRTC_ARCH_LITTLE_ENDIAN +-#error "Need to convert samples to little-endian when writing to WAV file" +-#endif ++ int16_t * le_samples = new int16_t[num_samples]; ++ for(size_t idx = 0; idx < num_samples; idx++) { ++ le_samples[idx] = (samples[idx]<<8) | (samples[idx]>>8); ++ } + const size_t written = ++ fwrite(le_samples, sizeof(*le_samples), num_samples, file_handle_); ++ delete []le_samples; ++#else ++ const size_t written = + fwrite(samples, sizeof(*samples), num_samples, file_handle_); ++#endif + RTC_CHECK_EQ(num_samples, written); + num_samples_ += static_cast(written); + RTC_CHECK(written <= std::numeric_limits::max() || +--- webrtc/common_audio/wav_header.cc.orig 2018-07-23 14:02:57 UTC ++++ webrtc/common_audio/wav_header.cc +@@ -129,7 +129,39 @@ static inline std::string ReadFourCC(uint32_t x) { + return std::string(reinterpret_cast(&x), 4); + } + #else +-#error "Write be-to-le conversion functions" ++static inline void WriteLE16(uint16_t* f, uint16_t x) { ++ *f = ((x << 8) & 0xff00) | ( ( x >> 8) & 0x00ff); ++} ++ ++static inline void WriteLE32(uint32_t* f, uint32_t x) { ++ *f = ( (x & 0x000000ff) << 24 ) ++ | ((x & 0x0000ff00) << 8) ++ | ((x & 0x00ff0000) >> 8) ++ | ((x & 0xff000000) >> 24 ); ++} ++ ++static inline void WriteFourCC(uint32_t* f, char a, char b, char c, char d) { ++ *f = (static_cast(a) << 24 ) ++ | (static_cast(b) << 16) ++ | (static_cast(c) << 8) ++ | (static_cast(d) ); ++} ++ ++static inline uint16_t ReadLE16(uint16_t x) { ++ return (( x & 0x00ff) << 8 )| ((x & 0xff00)>>8); ++} ++ ++static inline uint32_t ReadLE32(uint32_t x) { ++ return ( (x & 0x000000ff) << 24 ) ++ | ( (x & 0x0000ff00) << 8 ) ++ | ( (x & 0x00ff0000) >> 8) ++ | ( (x & 0xff000000) >> 24 ); ++} ++ ++static inline std::string ReadFourCC(uint32_t x) { ++ x = ReadLE32(x); ++ return std::string(reinterpret_cast(&x), 4); ++} + #endif + + static inline uint32_t RiffChunkSize(uint32_t bytes_in_payload) { +--- webrtc/typedefs.h.orig 2018-07-23 14:02:57 UTC ++++ webrtc/typedefs.h +@@ -48,7 +48,19 @@ + #define WEBRTC_ARCH_32_BITS + #define WEBRTC_ARCH_LITTLE_ENDIAN + #else +-#error Please add support for your architecture in typedefs.h ++/* instead of failing, use typical unix defines... */ ++#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ ++#define WEBRTC_ARCH_LITTLE_ENDIAN ++#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ ++#define WEBRTC_ARCH_BIG_ENDIAN ++#else ++#error __BYTE_ORDER__ is not defined ++#endif ++#if defined(__LP64__) ++#define WEBRTC_ARCH_64_BITS ++#else ++#define WEBRTC_ARCH_32_BITS ++#endif + #endif + + #if !(defined(WEBRTC_ARCH_LITTLE_ENDIAN) ^ defined(WEBRTC_ARCH_BIG_ENDIAN)) Property changes on: head/audio/webrtc-audio-processing0/files/patch-big-endian ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing0/files/patch-configure.ac =================================================================== --- head/audio/webrtc-audio-processing0/files/patch-configure.ac (nonexistent) +++ head/audio/webrtc-audio-processing0/files/patch-configure.ac (revision 557409) @@ -0,0 +1,18 @@ +- Add WEBRTC_BSD as it's closer to WEBRTC_LINUX than WEBRTC_MAC + +--- configure.ac.orig 2018-07-23 14:02:57 UTC ++++ configure.ac +@@ -63,6 +63,13 @@ AS_CASE(["${host}"], + OS_LDFLAGS="-lrt -lpthread" + HAVE_POSIX=1 + ], ++ [*-*dragonfly*|*-*bsd*], ++ [ ++ OS_CFLAGS="-DWEBRTC_BSD -DWEBRTC_THREAD_RR" ++ PLATFORM_CFLAGS="-DWEBRTC_POSIX" ++ OS_LDFLAGS="-lpthread" ++ HAVE_POSIX=1 ++ ], + [*-*darwin*], + [ + OS_CFLAGS="-DWEBRTC_MAC -DWEBRTC_THREAD_RR -DWEBRTC_CLOCK_TYPE_REALTIME" Property changes on: head/audio/webrtc-audio-processing0/files/patch-configure.ac ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing0/files/patch-webrtc_base_checks.cc =================================================================== --- head/audio/webrtc-audio-processing0/files/patch-webrtc_base_checks.cc (nonexistent) +++ head/audio/webrtc-audio-processing0/files/patch-webrtc_base_checks.cc (revision 557409) @@ -0,0 +1,70 @@ +- Drop unnecessary dependency on libexecinfo for GCC build + https://chromium.googlesource.com/external/webrtc/+/7c4dedade158%5E!/ + +--- webrtc/base/checks.cc.orig 2018-07-23 14:02:57 UTC ++++ webrtc/base/checks.cc +@@ -11,16 +11,10 @@ + // Most of this was borrowed (with minor modifications) from V8's and Chromium's + // src/base/logging.cc. + +-// Use the C++ version to provide __GLIBCXX__. + #include + #include + #include + +-#if defined(__GLIBCXX__) && !defined(__UCLIBC__) +-#include +-#include +-#endif +- + #if defined(WEBRTC_ANDROID) + #define LOG_TAG "rtc" + #include // NOLINT +@@ -51,39 +45,6 @@ void PrintError(const char* format, ...) { + va_end(args); + } + +-// TODO(ajm): This works on Mac (although the parsing fails) but I don't seem +-// to get usable symbols on Linux. This is copied from V8. Chromium has a more +-// advanced stace trace system; also more difficult to copy. +-void DumpBacktrace() { +-#if defined(__GLIBCXX__) && !defined(__UCLIBC__) +- void* trace[100]; +- int size = backtrace(trace, sizeof(trace) / sizeof(*trace)); +- char** symbols = backtrace_symbols(trace, size); +- PrintError("\n==== C stack trace ===============================\n\n"); +- if (size == 0) { +- PrintError("(empty)\n"); +- } else if (symbols == NULL) { +- PrintError("(no symbols)\n"); +- } else { +- for (int i = 1; i < size; ++i) { +- char mangled[201]; +- if (sscanf(symbols[i], "%*[^(]%*[(]%200[^)+]", mangled) == 1) { // NOLINT +- PrintError("%2d: ", i); +- int status; +- size_t length; +- char* demangled = abi::__cxa_demangle(mangled, NULL, &length, &status); +- PrintError("%s\n", demangled != NULL ? demangled : mangled); +- free(demangled); +- } else { +- // If parsing failed, at least print the unparsed symbol. +- PrintError("%s\n", symbols[i]); +- } +- } +- } +- free(symbols); +-#endif +-} +- + FatalMessage::FatalMessage(const char* file, int line) { + Init(file, line); + } +@@ -99,7 +60,6 @@ NO_RETURN FatalMessage::~FatalMessage() { + fflush(stderr); + stream_ << std::endl << "#" << std::endl; + PrintError(stream_.str().c_str()); +- DumpBacktrace(); + fflush(stderr); + abort(); + } Property changes on: head/audio/webrtc-audio-processing0/files/patch-webrtc_base_checks.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing0/files/patch-webrtc_base_stringutils.h =================================================================== --- head/audio/webrtc-audio-processing0/files/patch-webrtc_base_stringutils.h (nonexistent) +++ head/audio/webrtc-audio-processing0/files/patch-webrtc_base_stringutils.h (revision 557409) @@ -0,0 +1,13 @@ +- BSD macro (in sys/param.h) is an archaic of the (University of California) past + +--- webrtc/base/stringutils.h.orig 2018-07-23 14:02:57 UTC ++++ webrtc/base/stringutils.h +@@ -23,7 +23,7 @@ + #endif // WEBRTC_WIN + + #if defined(WEBRTC_POSIX) +-#ifdef BSD ++#ifdef WEBRTC_BSD + #include + #else // BSD + #include Property changes on: head/audio/webrtc-audio-processing0/files/patch-webrtc_base_stringutils.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing0/files/patch-webrtc_system__wrappers_source_condition__variable.cc =================================================================== --- head/audio/webrtc-audio-processing0/files/patch-webrtc_system__wrappers_source_condition__variable.cc (nonexistent) +++ head/audio/webrtc-audio-processing0/files/patch-webrtc_system__wrappers_source_condition__variable.cc (revision 557409) @@ -0,0 +1,22 @@ +- Match conditional in webrtc/system_wrappers/Makefile.am + +--- webrtc/system_wrappers/source/condition_variable.cc.orig 2018-07-23 14:02:57 UTC ++++ webrtc/system_wrappers/source/condition_variable.cc +@@ -14,7 +14,7 @@ + #include + #include "webrtc/system_wrappers/source/condition_variable_event_win.h" + #include "webrtc/system_wrappers/source/condition_variable_native_win.h" +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_POSIX) + #include + #include "webrtc/system_wrappers/source/condition_variable_posix.h" + #endif +@@ -31,7 +31,7 @@ ConditionVariableWrapper* ConditionVariableWrapper::Cr + ret_val = new ConditionVariableEventWin(); + } + return ret_val; +-#elif defined(WEBRTC_LINUX) || defined(WEBRTC_MAC) ++#elif defined(WEBRTC_POSIX) + return ConditionVariablePosix::Create(); + #else + return NULL; Property changes on: head/audio/webrtc-audio-processing0/files/patch-webrtc_system__wrappers_source_condition__variable.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing0/distinfo =================================================================== --- head/audio/webrtc-audio-processing0/distinfo (nonexistent) +++ head/audio/webrtc-audio-processing0/distinfo (revision 557409) @@ -0,0 +1,3 @@ +TIMESTAMP = 1532354746 +SHA256 (webrtc-audio-processing-0.3.1.tar.xz) = a0fdd938fd85272d67e81572c5a4d9e200a0c104753cb3c209ded175ce3c5dbf +SIZE (webrtc-audio-processing-0.3.1.tar.xz) = 695920 Property changes on: head/audio/webrtc-audio-processing0/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing0/pkg-descr =================================================================== --- head/audio/webrtc-audio-processing0/pkg-descr (nonexistent) +++ head/audio/webrtc-audio-processing0/pkg-descr (revision 557409) @@ -0,0 +1,12 @@ +Audio processing routines extracted from WebRTC project into a +standalone library. It provides the following features: + +- Acoustic echo cancellation +- Acoustic echo control for mobile +- Automatic gain control +- High-pass filter +- Level estimator +- Noise suppression +- Voice activity detection + +WWW: https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/ Property changes on: head/audio/webrtc-audio-processing0/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/webrtc-audio-processing0/pkg-plist =================================================================== --- head/audio/webrtc-audio-processing0/pkg-plist (nonexistent) +++ head/audio/webrtc-audio-processing0/pkg-plist (revision 557409) @@ -0,0 +1,18 @@ +include/webrtc_audio_processing/webrtc/base/arraysize.h +include/webrtc_audio_processing/webrtc/base/basictypes.h +include/webrtc_audio_processing/webrtc/base/checks.h +include/webrtc_audio_processing/webrtc/base/constructormagic.h +include/webrtc_audio_processing/webrtc/base/maybe.h +include/webrtc_audio_processing/webrtc/base/platform_file.h +include/webrtc_audio_processing/webrtc/common.h +include/webrtc_audio_processing/webrtc/common_types.h +include/webrtc_audio_processing/webrtc/modules/audio_processing/beamformer/array_util.h +include/webrtc_audio_processing/webrtc/modules/audio_processing/include/audio_processing.h +include/webrtc_audio_processing/webrtc/modules/interface/module_common_types.h +include/webrtc_audio_processing/webrtc/system_wrappers/include/trace.h +include/webrtc_audio_processing/webrtc/typedefs.h +lib/libwebrtc_audio_processing.a +lib/libwebrtc_audio_processing.so +lib/libwebrtc_audio_processing.so.1 +lib/libwebrtc_audio_processing.so.1.0.0 +libdata/pkgconfig/webrtc-audio-processing.pc Property changes on: head/audio/webrtc-audio-processing0/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/multimedia/gstreamer1-plugins/Makefile.common =================================================================== --- head/multimedia/gstreamer1-plugins/Makefile.common (revision 557408) +++ head/multimedia/gstreamer1-plugins/Makefile.common (revision 557409) @@ -1,616 +1,616 @@ # $FreeBSD$ BASE_GST_ALL_PLUGINS= \ alsa \ cdparanoia \ gl \ ivorbis \ libvisual \ ogg \ opengl \ opus \ pango \ theora \ vorbis \ x \ xvideo BASE_GST_NON_PLUGINS= \ --disable-gles2 \ --disable-egl \ --disable-glx BAD_GST_ALL_PLUGINS+= \ aom \ assrender \ bs2b \ chromaprint \ curl \ dash \ dtls \ dts \ faac \ faad \ flite \ gme \ gsm \ hls \ kate \ kms \ ladspa \ libde265 \ libmms \ lv2 \ modplug \ mpeg2enc \ mplex \ msdk \ musepack \ neon \ ofa \ openal \ opencv \ openexr \ openh264 \ openjpeg \ openmpt \ resindvd \ rtmp \ rsvg \ smoothstreaming \ sndfile \ soundtouch \ spandsp \ srtp \ ttml \ vdpau \ vulkan \ wayland \ webp \ webrtcdsp \ x265 \ zbar \ BAD_GST_NON_PLUGINS= \ --enable-bz2 \ --enable-dvb \ --enable-shm \ --disable-acm \ --disable-android_media \ --disable-apple_media \ --disable-avc \ --disable-bluez \ --disable-directfb \ --disable-direct3d \ --disable-directsound \ --disable-nvenc \ --disable-nvdec \ --disable-sbc \ --disable-spc \ --disable-tinyalsa \ --disable-uvch264 \ --disable-vcd \ --disable-wasapi \ --disable-winks \ --disable-winscreencap GOOD_GST_ALL_PLUGINS+= \ aalib \ cairo \ flac \ gdk_pixbuf \ gst_v4l2 \ gtk3 \ jack \ jpeg \ lame \ libcaca \ libdv \ libpng \ mpg123 \ pulse \ qt \ shout2 \ soup \ speex \ taglib \ twolame \ vpx \ wavpack \ x GOOD_GST_NON_PLUGINS= \ --disable-dv1394 \ --disable-directsound \ --disable-osx_audio \ --disable-osx_video \ --disable-waveform \ --enable-bz2 \ --enable-oss \ --enable-oss4 \ --enable-zlib UGLY_GST_ALL_PLUGINS+= \ a52dec \ amrnb \ amrwb \ cdio \ dvdread \ mpeg2dec \ sidplay \ x264 UGLY_GST_NON_PLUGINS= # Disable all plugins by default .if ${DIST}=="base" .for d in ${BASE_GST_ALL_PLUGINS} CONFIGURE_ARGS+= --disable-${d} .endfor CONFIGURE_ARGS+= ${BASE_GST_NON_PLUGINS} .endif .if ${DIST}=="bad" .for d in ${BAD_GST_ALL_PLUGINS} CONFIGURE_ARGS+= --disable-${d} .endfor CONFIGURE_ARGS+= ${BAD_GST_NON_PLUGINS} .endif .if ${DIST}=="good" .for d in ${GOOD_GST_ALL_PLUGINS} CONFIGURE_ARGS+= --disable-${d} .endfor CONFIGURE_ARGS+= ${GOOD_GST_NON_PLUGINS} .endif .if ${DIST}=="ugly" .for d in ${UGLY_GST_ALL_PLUGINS} CONFIGURE_ARGS+= --disable-${d} .endfor CONFIGURE_ARGS+= ${UGLY_GST_NON_PLUGINS} .endif .if ${GST_PLUGIN}!="base" && ${GST_PLUGIN}!="bad" && \ ${GST_PLUGIN}!="good" && ${GST_PLUGIN}!="ugly" CONFIGURE_ARGS+= --enable-${GST_PLUGIN} .endif .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} # ------- plugins --------- # a52dec gst_a52dec_LIB_DEPENDS= liba52.so:audio/liba52 # aalib gst_aalib_LIB_DEPENDS= libaa.so:graphics/aalib gst_aalib_USES= ncurses gst_aalib_PLIST_FILES= ${GST_LIB_DIR}/libgstaasink.so # amrnb gst_amrnb_LIB_DEPENDS= libopencore-amrnb.so:audio/opencore-amr gst_amrnb_PLIST_FILES= ${GST_LIB_DIR}/libgstamrnb.so \ share/gstreamer-${VERSION}/presets/GstAmrnbEnc.prs # amrwb gst_amrwb_LIB_DEPENDS= libopencore-amrwb.so:audio/opencore-amr gst_amrwb_GST_PLUGIN_DIR= ext/amrwbdec gst_amrwb_PLIST_FILES= ${GST_LIB_DIR}/libgstamrwbdec.so # aom gst_aom_LIB_DEPENDS= libaom.so:multimedia/aom # assrender gst_assrender_LIB_DEPENDS= libass.so:multimedia/libass gst_assrender_USES= compiler:c11 # bs2b gst_bs2b_LIB_DEPENDS= libbs2b.so:audio/libbs2b # cairo gst_cairo_USE_GNOME= cairo # cdparanoia gst_cdparanoia_LIB_DEPENDS= libcdda_interface.so:audio/cdparanoia # cdio gst_cdio_LIB_DEPENDS= libcdio.so:sysutils/libcdio # chromaprint gst_chromaprint_LIB_DEPENDS= libchromaprint.so:audio/chromaprint # curl gst_curl_LIB_DEPENDS= libcurl.so:ftp/curl \ libssh2.so:security/libssh2 # dash gst_dash_USE_GNOME= libxml2 gst_dash_PLIST_FILES= ${GST_LIB_DIR}/libgstdashdemux.so # dtls gst_dtls_USES= compiler:c11 ssl gst_dtls_CONFIGURE_ENV= DTLS_CFLAGS="-I${OPENSSLINC}" \ DTLS_LIBS="-L${OPENSSLLIB} -lcrypto -lssl" # dts gst_dts_LIB_DEPENDS= libdca.so:multimedia/libdca gst_dts_PLIST_FILES= ${GST_LIB_DIR}/libgstdtsdec.so # libdv gst_libdv_LIB_DEPENDS= libdv.so:multimedia/libdv gst_libdv_GST_PLUGIN_DIR= ext/dv gst_libdv_PLIST_FILES= ${GST_LIB_DIR}/libgstdv.so # dvdread gst_dvdread_LIB_DEPENDS=libdvdread.so:multimedia/libdvdread # faac gst_faac_LIB_DEPENDS= libfaac.so:audio/faac # faad gst_faad_LIB_DEPENDS= libfaad.so:audio/faad # flac gst_flac_LIB_DEPENDS= libFLAC.so:audio/flac # flite gst_flite_LIB_DEPENDS= libflite.so:audio/flite # gdk_pixbuf gst_gdk_pixbuf_USE_GNOME= gdkpixbuf2 gst_gdk_pixbuf_PLIST_FILES= ${GST_LIB_DIR}/libgstgdkpixbuf.so # gl gst_gl_USES= gl gst_gl_USE_GL= gl glu glesv2 egl gst_gl_BUILD_DEPENDS= ${LOCALBASE}/include/linux/input.h:devel/evdev-proto gst_gl_LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene gst_gl_CONFIGURE_ARGS= --enable-gl --enable-glx \ --enable-egl --enable-gles2 gst_gl_GST_PLUGIN_DIR= gst-libs/gst/gl ext/gl gst_gl_PLIST_FILES= # # gme gst_gme_LIB_DEPENDS= libgme.so:audio/libgme # gsm gst_gsm_LIB_DEPENDS= libgsm.so:audio/gsm # gtk3 gst_gtk3_USES= gnome gst_gtk3_USE_GSTREAMER1= gl gst_gtk3_USE_GNOME= cairo gdkpixbuf2 gtk30 gst_gtk3_CONFIGURE_ARGS=--enable-gtk3 gst_gtk3_GST_PLUGIN_DIR=ext/gtk gst_gtk3_PLIST_FILES= ${GST_LIB_DIR}/libgstgtk.so # hls gst_hls_LIB_DEPENDS= libnettle.so:security/nettle # jack gst_jack_LIB_DEPENDS= libjack.so:audio/jack # jpeg gst_jpeg_USES= jpeg # kate gst_kate_LIB_DEPENDS= libkate.so:multimedia/libkate # kms gst_kms_LIB_DEPENDS= libkms.so:graphics/libdrm gst_kms_GST_PLUGIN_DIR= sys/kms # ladspa gst_ladspa_BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa # lame gst_lame_LIB_DEPENDS= libmp3lame.so:audio/lame # libcaca gst_libcaca_LIB_DEPENDS= libcaca.so:graphics/libcaca gst_libcaca_PLIST_FILES= ${GST_LIB_DIR}/libgstcacasink.so # libde265 gst_libde265_LIB_DEPENDS= libde265.so:multimedia/libde265 gst_libde265_PLIST_FILES= ${GST_LIB_DIR}/libgstde265.so # libmms gst_libmms_LIB_DEPENDS= libmms.so:net/libmms gst_libmms_PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so # librfb gst_librfb_USES= xorg gst_librfb_USE_XORG= x11 # liblv2 gst_lv2_USES= pkgconfig gst_lv2_BUILD_DEPENDS= lv2>=1.14.0:audio/lv2 gst_lv2_LIB_DEPENDS= libsord-0.so:devel/sord \ libserd-0.so:devel/serd \ libsratom-0.so:audio/sratom \ liblilv-0.so:audio/lilv # png gst_libpng_LIB_DEPENDS= libpng.so:graphics/png gst_libpng_PLIST_FILES= ${GST_LIB_DIR}/libgstpng.so # libvisual gst_libvisual_LIB_DEPENDS= libvisual-0.4.so:graphics/libvisual04 # modplug gst_modplug_LIB_DEPENDS= libmodplug.so:audio/libmodplug # mpeg2enc gst_mpeg2enc_LIB_DEPENDS= libmjpegutils.so:multimedia/mjpegtools # mpeg2dec gst_mpeg2dec_LIB_DEPENDS= libmpeg2.so:multimedia/libmpeg2 # mplex gst_mplex_LIB_DEPENDS= libmplex2.so:multimedia/mjpegtools # mpg123 gst_mpg123_LIB_DEPENDS= libmpg123.so:audio/mpg123 # msdk gst_msdk_LIB_DEPENDS= libgudev-1.0.so:devel/libgudev \ libmfx.so:multimedia/intel-media-sdk \ libva-drm.so:multimedia/libva gst_msdk_GST_PLUGIN_DIR= sys/msdk # musepack gst_musepack_LIB_DEPENDS=libmpcdec.so:audio/musepack # neon gst_neon_LIB_DEPENDS+= libneon.so:www/neon gst_neon_PLIST_FILES= ${GST_LIB_DIR}/libgstneonhttpsrc.so # ogg gst_ogg_LIB_DEPENDS= libogg.so:audio/libogg # opencv gst_opencv_LIB_DEPENDS= libopencv_core.so:graphics/opencv-core \ libopencv_highgui.so:graphics/opencv gst_opencv_GST_PLUGIN_DIR= gst-libs/gst/opencv ext/opencv gst_opencv_PLIST_FILES= # gst_opencv_USES= compiler:c++11-lib # openexr gst_openexr_LIB_DEPENDS=libImath.so:graphics/ilmbase \ libIlmImf.so:graphics/openexr # openjpeg gst_openjpeg_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg # openh264 gst_openh264_LIB_DEPENDS= libopenh264.so:multimedia/openh264 # openmpt gst_openmpt_LIB_DEPENDS= libopenmpt.so:audio/libopenmpt # opus gst_opus_LIB_DEPENDS= libopus.so:audio/opus # pango gst_pango_USE_GNOME= cairo pango # pulse gst_pulse_LIB_DEPENDS= libpulse.so:audio/pulseaudio gst_pulse_PLIST_FILES= ${GST_LIB_DIR}/libgstpulseaudio.so # qt gst_qt_USES= compiler:c++11-lang qt:5 gst_qt_USE_QT= core gui declarative buildtools_build network x11extras gst_qt_USE_GSTREAMER1= gl gst_qt_PLIST_FILES= ${GST_LIB_DIR}/libgstqmlgl.so # resindvd gst_resindvd_BUILD_DEPENDS= libdvdnav>=4.1.2:multimedia/libdvdnav gst_resindvd_LIB_DEPENDS= libdvdread.so:multimedia/libdvdread gst_resindvd_RUN_DEPENDS= libdvdnav>=4.1.2:multimedia/libdvdnav # rtmp gst_rtmp_LIB_DEPENDS= librtmp.so:multimedia/librtmp # rsvg gst_rsvg_USE_GNOME= cairo librsvg2 # shout2 gst_shout2_LIB_DEPENDS= libshout.so:audio/libshout # sidplay gst_sidplay_LIB_DEPENDS= libsidplay.so:audio/libsidplay gst_sidplay_PLIST_FILES= ${GST_LIB_DIR}/libgstsid.so # smoothstreaming gst_smoothstreaming_USE_GNOME= libxml2 # sndfile gst_sndfile_LIB_DEPENDS= libsndfile.so:audio/libsndfile # soundtouch gst_soundtouch_LIB_DEPENDS= libSoundTouch.so:audio/soundtouch # souphttpsrc gst_soup_LIB_DEPENDS= libsoup-2.4.so:devel/libsoup # spandsp gst_spandsp_LIB_DEPENDS= libspandsp.so:comms/spandsp # speex gst_speex_LIB_DEPENDS= libspeex.so:audio/speex # srtp gst_srtp_LIB_DEPENDS= libsrtp2.so:net/libsrtp2 # taglib gst_taglib_LIB_DEPENDS= libtag.so:audio/taglib # theora gst_theora_LIB_DEPENDS= libtheora.so:multimedia/libtheora \ libogg.so:audio/libogg # ttml gst_ttml_USE_GNOME= cairo libxml2 pango gst_ttml_PLIST_FILES= ${GST_LIB_DIR}/libgstttmlsubs.so # twolame gst_twolame_LIB_DEPENDS= libtwolame.so:audio/twolame # gst_v4l2 gst_gst_v4l2_BUILD_DEPENDS= v4l_compat>0:multimedia/v4l_compat gst_gst_v4l2_LIB_DEPENDS= libv4l2.so:multimedia/libv4l gst_gst_v4l2_RUN_DEPENDS= webcamd:multimedia/webcamd gst_gst_v4l2_PLIST_FILES= ${GST_LIB_DIR}/libgstvideo4linux2.so gst_gst_v4l2_GST_PLUGIN_DIR= sys/v4l2 # vorbis gst_vorbis_USE_GSTREAMER1= ogg gst_vorbis_LIB_DEPENDS= libvorbis.so:audio/libvorbis # vpx gst_vpx_LIB_DEPENDS= libvpx.so:multimedia/libvpx gst_vpx_PLIST_FILES= ${GST_LIB_DIR}/libgstvpx.so \ share/gstreamer-${VERSION}/presets/GstVP8Enc.prs # vdpau gst_vdpau_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau gst_vdpau_GST_PLUGIN_DIR= sys/vdpau # vulkan gst_vulkan_USE_GSTREAMER1= gl gst_vulkan_BUILD_DEPENDS= ${LOCALBASE}/include/vulkan/vulkan.h:devel/vulkan-headers \ ${LOCALBASE}/include/linux/input.h:devel/evdev-proto \ wayland-protocols>=0:graphics/wayland-protocols gst_vulkan_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \ libwayland-client.so:graphics/wayland gst_vulkan_CONFIGURE_ARGS= --enable-wayland # webp gst_webp_LIB_DEPENDS= libwebp.so:graphics/webp # webrtcdsp -gst_webrtcdsp_LIB_DEPENDS= libwebrtc_audio_processing.so:audio/webrtc-audio-processing +gst_webrtcdsp_LIB_DEPENDS= libwebrtc_audio_processing.so:audio/webrtc-audio-processing0 # X ximage and xvimage sinks aka output .if ${DIST} == base gst_x_USES= xorg gst_x_USE_XORG= x11 xv xext gst_x_CONFIGURE_ARGS= --enable-xvideo --enable-xshm gst_x_GST_PLUGIN_DIR= sys/ximage sys/xvimage gst_x_PLIST_FILES= ${GST_LIB_DIR}/libgstximagesink.so \ ${GST_LIB_DIR}/libgstxvimagesink.so .endif .if ${DIST} == good # Ximagesrc gst_x_USES= xorg gst_x_USE_XORG= x11 xfixes xdamage xext gst_x_CONFIGURE_ARGS= --enable-x gst_x_GST_PLUGIN_DIR= sys/ximage gst_x_PLIST_FILES= ${GST_LIB_DIR}/libgstximagesrc.so .endif # x264 gst_x264_LIB_DEPENDS= libx264.so:multimedia/libx264 gst_x264_PLIST_FILES= ${GST_LIB_DIR}/libgstx264.so \ share/gstreamer-${VERSION}/presets/GstX264Enc.prs # x265 gst_x265_LIB_DEPENDS= libx265.so:multimedia/x265 # xvid gst_xvid_LIB_DEPENDS= libxvidcore.so:multimedia/xvid # wavpack gst_wavpack_LIB_DEPENDS= libwavpack.so:audio/wavpack # zbar gst_zbar_LIB_DEPENDS= libzbar.so:graphics/zbar .endif # NO_GSTREAMER_COMMON .if !defined(NO_GSTREAMER_COMMON) gst_${GST_PLUGIN}_BUILD_DEPENDS?= gst_${GST_PLUGIN}_LIB_DEPENDS?= gst_${GST_PLUGIN}_RUN_DEPENDS?= gst_${GST_PLUGIN}_USES?= gst_${GST_PLUGIN}_USE_QT?= gst_${GST_PLUGIN}_USE_XORG?= gst_${GST_PLUGIN}_PLIST_FILES?= \ ${GST_LIB_DIR}/libgst${GST_PLUGIN}${GST_PLIST_SUFFIX}.so 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_XORG?= gst_${GST_PLUGIN}_USE_GNOME?= gst_${GST_PLUGIN}_CONFIGURE_ENV?= gst_${GST_PLUGIN}_USE_GL?= gst_${GST_PLUGIN}_GLIB_SCHEMAS?= gst_${GST_PLUGIN}_CONFIGURE_ARGS?= gst_${GST_PLUGIN}_USE_SDL?= gst_${GST_PLUGIN}_USE_GSTREAMER1?= BUILD_DEPENDS+= ${gst_${GST_PLUGIN}_BUILD_DEPENDS} LIB_DEPENDS+= ${gst_${GST_PLUGIN}_LIB_DEPENDS} RUN_DEPENDS+= ${gst_${GST_PLUGIN}_RUN_DEPENDS} USES+= ${gst_${GST_PLUGIN}_USES} PLIST_FILES= ${gst_${GST_PLUGIN}_PLIST_FILES} EXTRA_LIBS+= ${gst_${GST_PLUGIN}_EXTRA_LIBS} .if ${gst_${GST_PLUGIN}_USE_XORG}!="" USE_XORG+= ${gst_${GST_PLUGIN}_USE_XORG} .endif .if ${gst_${GST_PLUGIN}_USE_GNOME}!="" USE_GNOME+= ${gst_${GST_PLUGIN}_USE_GNOME} .endif .if ${gst_${GST_PLUGIN}_USE_QT}!="" USE_QT+= ${gst_${GST_PLUGIN}_USE_QT} .endif CONFIGURE_ENV+= ${gst_${GST_PLUGIN}_CONFIGURE_ENV} .if ${gst_${GST_PLUGIN}_USE_GL}!="" USE_GL+= ${gst_${GST_PLUGIN}_USE_GL} .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_GSTREAMER1+= ${gst_${GST_PLUGIN}_USE_GSTREAMER1} ${DIST: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} ${MAKE_CMD} ${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} ${MAKE_CMD} ${MAKE_FLAGS} \ ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET} .endfor .endif .endif