1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
Jan Beich
e5ec3eafed multimedia/libvpx: unbreak on powerpc*
- newer libstdc++ ABI is required by many consumers
- -mspe and -maltivec are mutually exclusive
- implement VSX detection for powerpc and powerpc64

PR:		228586
Submitted by:	jhibbits (based on)
2018-06-13 12:33:00 +00:00
Jan Beich
ee06012058 multimedia/libvpx: chase HTTP redirect
Reported by:	Repology
2018-05-05 00:03:05 +00:00
Jan Beich
d4911c10e7 multimedia/libvpx: enable NEON on armv6 with more CPUTYPE values
PR:		224107
Submitted by:	Mikaël Urankar
2018-04-10 00:13:43 +00:00
Jan Beich
b639a8c291 multimedia/libvpx: merge static post-patch into file
PR:		224107
2018-04-10 00:13:23 +00:00
Jan Beich
e2b39d9b99 multimedia/libvpx: drop explicit targets
PR:		224107
2018-04-10 00:13:03 +00:00
Jan Beich
1bc81acd3b multimedia/libvpx: unbreak on armv7
vpx_ports/arm_cpudetect.c.o: In function `arm_cpu_caps':
arm_cpudetect.c:(.text+0x48): undefined reference to `getauxval'
arm_cpudetect.c:(.text+0x78): undefined reference to `getauxval'
c++: error: linker command failed with exit code 1 (use -v to see invocation)

PR:		224107
Reported by:	pkg-fallout
Submitted by:	Mikaël Urankar
2018-04-10 00:12:43 +00:00
Jan Beich
b964b053b6 multimedia/libvpx: update 1.7.0
Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.6.1..v1.7.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libvpx/
2018-01-25 21:20:12 +00:00
Alexey Dokuchaev
73f128faa2 Allow to build on sparc64 and powerpc. 2018-01-19 06:36:37 +00:00
Mathieu Arnold
cbcfde370c OPTIONS_SUB only cares about being defined, its content is ignored.
Sponsored by:	Absolight
2017-11-21 08:36:26 +00:00
Jan Beich
1e89dfe53a multimedia/libvpx: unbreak on amd64 after r454153
nasm -Ox -f elf64 -I./ -I"/wrkdirs/usr/ports/multimedia/libvpx/work/libvpx-1.6.1"/ -o vpx_dsp/x86/intrapred_sse2.asm.o vpx_dsp/x86/intrapred_sse2.asm
vpx_dsp/x86/intrapred_sse2.asm:64: error: invalid combination of opcode and operands
third_party/x86inc/x86inc.asm:1383: ... from macro `movd' defined here
third_party/x86inc/x86inc.asm:1283: ... from macro `RUN_AVX_INSTR' defined here

Reported by:	antoine
Pointy hat to:	jbeich
2017-11-14 10:14:45 +00:00
Jan Beich
334a989f2d multimedia/libvpx: use nasm by default, following ffmpeg 2017-11-13 22:22:03 +00:00
Jan Beich
805cf2a8e8 multimedia/libvpx: add missing glibc 2.19+ compat 2017-10-09 11:04:17 +00:00
Jan Beich
6a133361af multimedia/libvpx: oops, properly cast a_type 2017-10-08 20:22:48 +00:00
Jan Beich
a013e66d91 multimedia/libvpx: unblock build on mips*
mips* cannot use lang/gcc*, so let it use GCC 4.2 in base.
Other archs may work as well but x86 won't per r422956.
2017-10-08 18:57:40 +00:00
Jan Beich
3c521411c8 multimedia/libvpx: detect NEON on armv7 at runtime
- armv6 may have NEON depending on CPUTYPE
- aarch64 always has NEON but not AT_HWCAP
2017-10-08 18:57:28 +00:00
Jan Beich
1a54855849 multimedia/libvpx: adjust for real armv7 target
NEON is currently enabled by default.
2017-10-08 18:57:19 +00:00
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Jan Beich
71264b8bfa multimedia/libvpx: rename RUNTIME to RTCPU like ffmpeg, mplayer 2017-01-22 09:24:30 +00:00
Jan Beich
9970f5d7f5 multimedia/libvpx: slightly improve readability 2017-01-22 09:24:19 +00:00
Jan Beich
3b96621abd multimedia/libvpx: grab and drop architecture whitelist
PR:		216191
Approved by:	ashish (previous maintainer)
MFH:		2017Q1
2017-01-22 09:03:55 +00:00
Tijl Coosemans
02f27a83b4 The output of tools like awk, date, sort, tr,... depends on the current
locale set by the user.  Add LANG=C and LC_ALL=C at the beginning of
bsd.port.mk and export them so all commands are executed with the C locale.
LC_ALL=C overrides all other LC_* variables.  LANG is used by setlocale(3)
as default value for LC_* variables, so normally it isn't used when LC_ALL
is set, but there's code out there that looks at LANG directly so it's safer
to set it as well.  The only commands not captured by this are !=
assignments before any inclusion of bsd.port.*mk.

Introduce USE_LOCALE=<locale> that adds LANG=<locale> and LC_ALL=<locale> to
CONFIGURE_ENV and MAKE_ENV so upstream build systems can be executed with a
different locale (e.g. USE_LOCALE=en_US.UTF-8).

PR:		215882
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2017-01-18 13:20:31 +00:00
Jan Beich
74e55d606b multimedia/libvpx: unbreak SHARED=off after r394231
/usr/bin/strip: '.../stage/usr/local/lib/libvpx.so.*.*.*': No such file
2017-01-17 14:44:51 +00:00
Jan Beich
3531589f30 multimedia/libvpx: update 1.6.1
Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.6.0..v1.6.1
ACC report:	https://people.freebsd.org/~jbeich/compat_reports/libvpx/1.6.0_to_1.6.1/compat_report.html
MFH:		2017Q1 (maybe security from fuzz fixes)
2017-01-17 14:37:36 +00:00
Dmitry Marakasov
0190983d13 - Remove bogus (in presence of USE_GITHUB) USES=tar*
- While here, minor cosmetic and license fixes

Approved by:	portmgr blanket
2016-12-27 12:20:41 +00:00
Gerald Pfeifer
89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00
Jan Beich
adb3fa4aa4 multimedia/libvpx: update 1.6.0
ABI is incompatible... or not? SONAME has changed but the removed vp10
symbols weren't actually exposed (and still aren't).

Note, FreeBSD 9.x now builds with Clang 3.4 because GCC 4.2 fails:

  vp9/encoder/x86/vp9_frame_scale_ssse3.c: In function 'eight_tap_row_ssse3':
  vp9/encoder/x86/vp9_frame_scale_ssse3.c:93: internal compiler error: in simplify_binary_operation_1, at simplify-rtx.c:2563
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.5.0..v1.6.0
ACC report:	https://people.freebsd.org/~jbeich/compat_reports/libvpx/1.5.0_to_1.6.0/compat_report.html
2016-09-30 01:15:10 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Jan Beich
9e9a36ea74 multimedia/libvpx: bundled fixes from Firefox
Obtained from:	upstream, Mozilla
MFH:		2016Q1 (maybe security)
2016-03-15 12:16:16 +00:00
Mathieu Arnold
018eeadae5 Always set the DEFAULT github DISTFILE with .tar.gz for EXTRACT_SUFX.
Fix distinfo for the offending ports.

lang/yorick's tag was moved, and the added patch was no longer needed.

PR:			207644
Submitted by:		mat
Exp-run by by:		antoine
Sponsored by:		Absolight
Differential Revision:	https://reviews.freebsd.org/D4268
2016-03-08 13:09:12 +00:00
Jan Beich
64c06b959a multimedia/libvpx: unbreak build on aarch64
Approved by:	portmgr blanket
2015-11-14 19:34:50 +00:00
Jan Beich
1ad587fb06 multimedia/libvpx: update 1.5.0
ABI isn't compatible, so bump PORTREVISION in consumers.

Changes:	https://chromium.googlesource.com/webm/libvpx/+log/e67d45d..v1.5.0
ACC report:	https://people.freebsd.org/~jbeich/compat_reports/libvpx/1.4.0.488_1_to_1.5.0/compat_report.html
PR:		204478
Exp-run by:	antoine
Approved by:	ashish (maintainer)
2015-11-14 19:34:12 +00:00
Jan Beich
198e7f9a73 multimedia/libvpx: bring more Chromium defaults
- Add SIZE_LIMIT to work around CVE-2015-4506
- Add MULTIRES and extend POSTPROC
- Sort options

PR:		203410
Approved by:	maintainer timeout (6 weeks)
MFH:		2015Q4
Security:	6ca7eddd-d436-486a-b169-b948436bcf14
2015-11-10 22:24:48 +00:00
Jan Beich
ed2a0329d8 multimedia/libvpx: update to 1.4.0.488 (snapshot)
Sync system libvpx with bundled libvpx in Firefox 40 in order
to fix vulnerabilities in the former.

While here fix other issues:
- Add powerpc targets removed by upstream
- Add sparc64 support [1]
- Improve gcc42 workaround [2]
- Strip binaries as reported by stage-qa
- Drop unused -no-integrated-as hack for Clang

Changes:	https://chromium.googlesource.com/webm/libvpx/+log/v1.4.0..e67d45d
ACC report:	https://people.freebsd.org/~jbeich/compat_reports/libvpx/1.4.0_to_1.4.0.488/compat_report.html
PR:		202270
PR:		186394 [1] (based on)
PR:		189136 [2]
Exp-run by:	antoine
Approved by:	ashish (maintainer)
MFH:		2015Q3
Security:	http://www.vuxml.org/freebsd/34e60332-2448-4ed6-93f0-12713749f250.html
2015-08-14 16:35:26 +00:00
Ashish SHUKLA
d8fe84f936 - Remove dependency on bash, not required anymore
- Remove old %%DESTDIR%% REINPLACE_CMD from post-patch

PR:		200839
Submitted by:	tijl
2015-06-15 04:57:24 +00:00
Jan Beich
f2fc9d6de4 multimedia/libvpx: update to 1.4.0
ABI isn't compatible, so bump PORTREVISION in consumers.

Changes:	https://chromium.googlesource.com/webm/libvpx/+/v1.4.0
Differential Revision:	https://reviews.freebsd.org/D2570
Exp-run by:	antoine
Approved by:	ashish, multimedia (kwm)
Approved by:	maintainer timeout (ale, dinoex; 2 weeks)
2015-06-09 14:25:41 +00:00
Sean Bruno
b84c1e6963 Fix build error introduced by changes to default behavior of perl port.
Apply shebangfix to build/make/ads2gas.pl as it was invoking /usr/bin/perl.

PR:		200535
Reviewed by:	kwm
2015-05-31 18:58:16 +00:00
Mathieu Arnold
6172d4b590 Remove $FreeBSD$ from patches files everywhere.
With hat:	portmgr
Sponsored by:	Absolight
2015-05-22 20:34:27 +00:00
Dmitry Marakasov
79c2e1bacb - Add CPE info
Approved by:	portmgr blanket
2015-05-05 03:32:03 +00:00
John Marino
798eb9e9cb multimedia category: Remove $PTHREAD_LIBS
approved by:	PTHREAD blanket
2015-03-25 17:36:47 +00:00
Ashish SHUKLA
611b9a7a82 - Fix build with GCC 5
PR:		197624
Submitted by:	marino
2015-02-15 14:12:19 +00:00
Dmitry Marakasov
40f13c68dc - Drop @dirrm* from and add empty directories to pkg-plists
Approved by:	portmgr blanket
2015-02-01 20:24:27 +00:00
Ashish SHUKLA
c3f4f7709e - Add support for building on ARMv6 platforms
Thanks to sbruno@ for testing the port build on ARMv6

PR:		195466
Submitted by:	mikael.urankar <mikael.urankar at gmail dot com>
2014-12-10 15:47:19 +00:00
Ashish SHUKLA
3bf2500ad0 Add fix for building with clang 3.5 2014-12-08 09:13:22 +00:00
Dmitry Marakasov
3e60d29df6 - Convert USE_BZIP2 to USES
- Clarify LICENSE

Approved by:	portmgr blanket
2014-06-06 11:12:46 +00:00
Ashish SHUKLA
a04d8f3d28 - Fix breakage on 9-STABLE due to GCC changes in r260075
PR:		ports/185657
Submitted by:	Helge Oldach <ports-libvpx-jan14 at oldach.net>
2014-01-12 16:08:27 +00:00
Ashish SHUKLA
60f674b64a - Update to 1.3.0
- Use distfile provided by Debian
- Add dependency on GCC from ports when building on 8.x (amd64) due
  to code generation issue with built-in GCC

PR:		ports/185212
Submitted by:	Jan Beich <jbeich at tormail.org>
2014-01-09 11:30:53 +00:00
Ashish SHUKLA
68ff91f93b - Fix bug where upgrading port results in missing files[1]
- Use OptionsNG helpers
- Fix spacing in WWW line in pkg-descr to comply with portlint

Reported by:	Ole <ole at coalmont.net>[1]
2013-12-18 09:05:36 +00:00
Ashish SHUKLA
a9f0a8ca33 - Add staging support
- Fix ownership of installed files[0]
- Fix building on systems with non UTF-8 locale[1]
- Fix building on 10.x and later

PR:		ports/182693[0], ports/169369[1]
Submitted by:	Herbert J. Skuhra <h.skuhra@gmail.com> (via private mail)[1]
2013-10-25 07:11:22 +00:00
Baptiste Daroussin
855fb638fb Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia) 2013-09-20 20:57:48 +00:00