Ravenports generated: 06 Jan 2020 01:22
[ravenports.git] / bucket_31 / libav
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libav
4 VERSION=                12.3
5 REVISION=               2
6 KEYWORDS=               multimedia
7 VARIANTS=               standard
8 SDESC[standard]=        Realtime audio/video conversion library
9 HOMEPAGE=               https://libav.org/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            http://libav.org/releases/
14 DISTFILE[1]=            libav-12.3.tar.xz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 BUILD_DEPENDS=          yasm:single:standard
22                         gmp:static:standard
23                         bzip2:static:standard
24 BUILDRUN_DEPENDS=       gmp:shared:standard
25                         bzip2:shared:standard
26                         libvdpau:single:standard
27                         nettle:primary:standard
28                         frei0r:single:standard
29                         freetype:primary:standard
30                         gnutls:single:standard
31                         rtmpdump:library:standard
32                         schroedinger:primary:standard
33                         libtheora:single:standard
34                         libva:single:standard
35                         vo-aacenc:single:standard
36                         libvorbis:primary:standard
37                         wavpack:single:standard
38                         WebP:single:standard
39                         xvid:single:standard
40
41 USES=                   cpe gmake perl:build pkgconfig zlib
42 SDL_COMPONENTS=         sdl1
43 XORG_COMPONENTS=        x11
44
45 FPC_EQUIVALENT=         multimedia/libav
46
47 MUST_CONFIGURE=         yes
48 CONFIGURE_ARGS=         --prefix="{{PREFIX}}"
49                         --libdir="{{PREFIX}}/lib/libav"
50                         --shlibdir="{{PREFIX}}/lib/libav"
51                         --incdir="{{PREFIX}}/include/libav"
52                         --mandir="{{MANPREFIX}}/man"
53                         --datadir="{{PREFIX}}/share/libav"
54                         --extra-ldflags="-Wl,-rpath,{{PREFIX}}/lib/libav"
55                         --cc="{{CC}}"
56                         --enable-pthreads
57                         --enable-shared
58                         --enable-runtime-cpudetect
59                         --enable-bzlib
60                         --enable-frei0r
61                         --enable-libfreetype
62                         --enable-gnutls
63                         --enable-librtmp
64                         --enable-libschroedinger
65                         --enable-avplay
66                         --enable-libtheora
67                         --enable-vaapi
68                         --enable-vdpau
69                         --enable-libvo-aacenc
70                         --enable-libvorbis
71                         --enable-libwavpack
72                         --enable-libwebp
73                         --enable-libxvid
74                         --enable-zlib
75                         --enable-gpl
76                         --enable-version3
77                         --disable-debug
78                         --disable-indev=alsa
79                         --disable-outdev=alsa
80                         --disable-libopencore-amrnb
81                         --disable-libopencore-amrwb
82                         --disable-libcdio
83                         --disable-libdc1394
84                         --disable-libfaac
85                         --disable-libfdk-aac
86                         --disable-libgsm
87                         --disable-libilbc
88                         --disable-indev=jack
89                         --disable-libmp3lame
90                         --disable-libopenjpeg
91                         --disable-openssl
92                         --disable-libopus
93                         --disable-libspeex
94                         --disable-libvo-amrwbenc
95                         --disable-libvpx
96                         --disable-libx264
97                         --disable-indev=v4l2
98
99 CPPFLAGS=               -Wno-deprecated-declarations
100                         -Wno-attributes
101                         -Wno-incompatible-pointer-types
102                         -Wno-discarded-qualifiers
103                         -Wno-format-truncation
104                         -Wno-char-subscripts
105 VAR_OPSYS[sunos]=       CPPFLAGS=-D__EXTENSIONS__
106                         CONFIGURE_ARGS=--target-os=sunos
107
108 post-patch:
109         ${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${STAGEDIR}${PREFIX}/lib/pkgconfig|' \
110                 ${WRKSRC}/library.mak
111
112 post-install:
113         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/av*
114         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libav/*.so
115
116 post-configure:
117         ${REINPLACE_CMD} -e 's|CONFIG_TEXI2HTML=yes|!CONFIG_TEXI2HTML=yes|' \
118                 ${WRKSRC}/config.mak
119
120 [FILE:288:descriptions/desc.single]
121 Libav provides cross-platform tools and libraries to convert, manipulate
122 and stream a wide range of multimedia formats and protocols. It originates
123 from the FFmpeg codebase, but goes its own way these days, providing its
124 users with reliable releases and a clear vision how to go forward.
125
126
127 [FILE:96:distinfo]
128 6893cdbd7bc4b62f5d8fd6593c8e0a62babb53e323fbc7124db3658d04ab443b      5267988 libav-12.3.tar.xz
129
130
131 [FILE:2907:manifests/plist.single]
132 bin/
133  avconv
134  avplay
135  avprobe
136 include/libav/libavcodec/
137  avcodec.h
138  avfft.h
139  d3d11va.h
140  dirac.h
141  dv_profile.h
142  dxva2.h
143  qsv.h
144  vaapi.h
145  vda.h
146  vdpau.h
147  version.h
148  vorbis_parser.h
149  xvmc.h
150 include/libav/libavdevice/
151  avdevice.h
152  version.h
153 include/libav/libavfilter/
154  avfilter.h
155  avfiltergraph.h
156  buffersink.h
157  buffersrc.h
158  version.h
159 include/libav/libavformat/
160  avformat.h
161  avio.h
162  version.h
163 include/libav/libavresample/
164  avresample.h
165  version.h
166 include/libav/libavutil/
167  adler32.h
168  aes.h
169  attributes.h
170  audio_fifo.h
171  avassert.h
172  avconfig.h
173  avstring.h
174  avutil.h
175  base64.h
176  blowfish.h
177  bswap.h
178  buffer.h
179  channel_layout.h
180  common.h
181  cpu.h
182  crc.h
183  dict.h
184  display.h
185  downmix_info.h
186  error.h
187  eval.h
188  fifo.h
189  file.h
190  frame.h
191  hmac.h
192  hwcontext.h
193  hwcontext_cuda.h
194  hwcontext_dxva2.h
195  hwcontext_qsv.h
196  hwcontext_vaapi.h
197  hwcontext_vdpau.h
198  imgutils.h
199  intfloat.h
200  intreadwrite.h
201  lfg.h
202  log.h
203  lzo.h
204  macros.h
205  mathematics.h
206  md5.h
207  mem.h
208  opt.h
209  parseutils.h
210  pixdesc.h
211  pixfmt.h
212  random_seed.h
213  rational.h
214  replaygain.h
215  samplefmt.h
216  sha.h
217  stereo3d.h
218  time.h
219  version.h
220  xtea.h
221 include/libav/libswscale/
222  swscale.h
223  version.h
224 lib/libav/
225  libavcodec.a
226  libavcodec.so
227  libavcodec.so.57
228  libavcodec.so.57.25.0
229  libavdevice.a
230  libavdevice.so
231  libavdevice.so.56
232  libavdevice.so.56.1.0
233  libavfilter.a
234  libavfilter.so
235  libavfilter.so.6
236  libavfilter.so.6.7.0
237  libavformat.a
238  libavformat.so
239  libavformat.so.57
240  libavformat.so.57.7.2
241  libavresample.a
242  libavresample.so
243  libavresample.so.3
244  libavresample.so.3.0.0
245  libavutil.a
246  libavutil.so
247  libavutil.so.55
248  libavutil.so.55.20.0
249  libswscale.a
250  libswscale.so
251  libswscale.so.4
252  libswscale.so.4.0.0
253 lib/pkgconfig/
254  libavcodec-libav.pc
255  libavdevice-libav.pc
256  libavfilter-libav.pc
257  libavformat-libav.pc
258  libavresample-libav.pc
259  libavutil-libav.pc
260  libswscale-libav.pc
261 share/libav/
262  libvpx-1080p.avpreset
263  libvpx-1080p50_60.avpreset
264  libvpx-360p.avpreset
265  libvpx-720p.avpreset
266  libvpx-720p50_60.avpreset
267  libx264-baseline.avpreset
268  libx264-fast.avpreset
269  libx264-fast_firstpass.avpreset
270  libx264-faster.avpreset
271  libx264-faster_firstpass.avpreset
272  libx264-ipod320.avpreset
273  libx264-ipod640.avpreset
274  libx264-lossless_fast.avpreset
275  libx264-lossless_max.avpreset
276  libx264-lossless_medium.avpreset
277  libx264-lossless_slow.avpreset
278  libx264-lossless_slower.avpreset
279  libx264-lossless_ultrafast.avpreset
280  libx264-main.avpreset
281  libx264-medium.avpreset
282  libx264-medium_firstpass.avpreset
283  libx264-placebo.avpreset
284  libx264-placebo_firstpass.avpreset
285  libx264-slow.avpreset
286  libx264-slow_firstpass.avpreset
287  libx264-slower.avpreset
288  libx264-slower_firstpass.avpreset
289  libx264-superfast.avpreset
290  libx264-superfast_firstpass.avpreset
291  libx264-ultrafast.avpreset
292  libx264-ultrafast_firstpass.avpreset
293  libx264-veryfast.avpreset
294  libx264-veryfast_firstpass.avpreset
295  libx264-veryslow.avpreset
296  libx264-veryslow_firstpass.avpreset
297 share/man/man1/
298  avconv.1.gz
299  avplay.1.gz
300  avprobe.1.gz
301
302
303 [FILE:827:patches/patch-compat_solaris_make__sunver.pl]
304 --- compat/solaris/make_sunver.pl.orig  2018-02-12 21:25:59 UTC
305 +++ compat/solaris/make_sunver.pl
306 @@ -200,7 +200,8 @@ printf "# Omitted archives with correspo
307      (join ' ', @SHAREDOBJS) if $#SHAREDOBJS >= 0;
308  print "#\n\n";
309  
310 -print "\$mapfile_version 2\n";
311 +# solaris 10u8 only knows version 1
312 +# print "\$mapfile_version 2\n";
313  
314  while (<F>) {
315      # Lines of the form '};'
316 @@ -232,7 +233,7 @@ while (<F>) {
317      if (/^[ \t]*$/) { print; next; }
318  
319      # Lines of the form '{'
320 -    if (/^([ \t]*){$/) {
321 +    if (/^([ \t]*)\{$/) {
322      if ($in_extern) {
323          print "$1##{\n";
324      } else {
325 @@ -248,7 +249,7 @@ while (<F>) {
326      # Reset match attempts, #matched symbols for this version.
327      $matches_attempted = 0;
328      $matched_symbols = 0;
329 -    print "SYMBOL_VERSION $1 {\n";
330 +    print "$1 {\n";
331      next;
332      }
333  
334
335
336 [FILE:1714:patches/patch-configure]
337 --- configure.orig      2018-02-12 21:25:59 UTC
338 +++ configure
339 @@ -837,8 +837,8 @@ ld_o(){
340  
341  check_ld(){
342      log check_ld "$@"
343 -    flags=$(filter_out '-l*' "$@")
344 -    libs=$(filter '-l*' "$@")
345 +    flags=$(filter_out '-l*|*.so' "$@")
346 +    libs=$(filter '-l*|*.so' "$@")
347      check_cc $($cflags_filter $flags) || return
348      flags=$($ldflags_filter $flags)
349      libs=$($ldflags_filter $libs)
350 @@ -4614,7 +4614,7 @@ enabled libfaac           && require2 li
351  enabled libfdk_aac        && require_pkg_config fdk-aac "fdk-aac/aacenc_lib.h" aacEncOpen
352  enabled libfontconfig     && require_pkg_config fontconfig "fontconfig/fontconfig.h" FcInit
353  enabled libfreetype       && require_pkg_config freetype2 "ft2build.h FT_FREETYPE_H" FT_Init_FreeType
354 -enabled libgsm            && { for gsm_hdr in "gsm.h" "gsm/gsm.h"; do
355 +enabled libgsm            && { for gsm_hdr in "gsm.h" ; do
356                                     check_lib "${gsm_hdr}" gsm_create -lgsm && break;
357                                 done || die "ERROR: libgsm not found"; }
358  enabled libhdcd           && require_pkg_config libhdcd "hdcd/hdcd_simple.h" hdcd_new
359 @@ -4956,6 +4956,7 @@ elif enabled llvm_gcc; then
360      check_cflags -mllvm -stack-alignment=16
361  elif enabled clang; then
362      check_cflags -mllvm -stack-alignment=16
363 +    check_cflags -mstack-alignment=16
364      check_cflags -Qunused-arguments
365      check_cflags -Werror=implicit-function-declaration
366      check_cflags -Werror=missing-prototypes
367 @@ -5398,7 +5399,7 @@ pkgconfig_generate(){
368      requires=${requires%, }
369      enabled ${name#lib} || return 0
370      mkdir -p $name
371 -    cat <<EOF > $name/$name.pc
372 +    cat <<EOF > $name/$name-libav.pc
373  prefix=$prefix
374  exec_prefix=\${prefix}
375  libdir=$libdir
376
377
378 [FILE:393:patches/patch-library.mak]
379 --- library.mak.orig    2018-02-12 21:25:59 UTC
380 +++ library.mak
381 @@ -71,7 +71,7 @@ install-lib$(NAME)-headers: $(addprefix
382         $(Q)mkdir -p "$(INCINSTDIR)"
383         $$(INSTALL) -m 644 $$^ "$(INCINSTDIR)"
384  
385 -install-lib$(NAME)-pkgconfig: $(SUBDIR)lib$(NAME).pc
386 +install-lib$(NAME)-pkgconfig: $(SUBDIR)lib$(NAME)-libav.pc
387         $(Q)mkdir -p "$(LIBDIR)/pkgconfig"
388         $$(INSTALL) -m 644 $$^ "$(LIBDIR)/pkgconfig"
389  
390