Commit graph

297 commits

Author SHA1 Message Date
Jan Beich
006180fddc multimedia/mplayer: lift BROKEN after r429960 2017-01-23 15:52:00 +00:00
Thomas Zander
72923f111f Convert remaining X-related OPTIONs to option helpers + deps via IMPLIES
MFH:		2017Q1
2017-01-14 12:48:30 +00:00
Thomas Zander
7cc82a4819 Convert GUI and SKINS to OPTION helpers; fix dependency: GUI implies ASS
PR:		216030
Reported by:	rjk@wintek.com
MFH:		2017Q1
2017-01-14 07:58:31 +00:00
Thomas Zander
e3c8a23fb6 Unbundle libass from mplayer / mencoder
Log:
- Use libass from ports instead of bundled version (this likely
  addresses some vulnerabilities since bundled libass is from 2013)
- New default OPTION ASS
- Bump portrevision

Reported by:	jbeich
MFH:		2017Q1
2017-01-02 21:15:34 +00:00
Thomas Zander
90286075f1 Simplify handling of CFLAGS, retire OCFLAGS OPTION
Log:
- Remove OCFLAGS option. This is no longer a big topic since all
  computationally expensive code is handled via external ffmpeg
  libraries now
- Remove BUILD_DEPENDS on yasm. No yasm asm files are compiled
  during mplayer / mencoder build process anymore
- Bump PORTREVISION
2017-01-01 18:55:22 +00:00
Thomas Zander
362a63e294 Log:
- Update to upstream snapshot as of 2016-12-28
- Unbundle ffmpeg; uses multimedia/ffmpeg now
- Refactor shared Makefile target
- GNU_CONFIGURE -> HAS_CONFIGURE

Differential Revision:	https://reviews.freebsd.org/D8930
2016-12-30 07:28:12 +00:00
Thomas Zander
a535f9db34 Introduce non-default OPTION SNDIO
Submitted by:	t@tobik.me (via mail)
2016-12-03 15:48:13 +00:00
Mark Linimon
6d5d36d741 Mark as broken on various tier-2 archs.
While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2016-11-16 00:34:36 +00:00
Thomas Zander
ad1847f8ce Update to recent upstream snapshot as of 2016-09-12
While on it:
- Add missing USE_XORG=xext for X11 OPTION
- Import patch by bar@ to deal with certain other ports
  e.g. x11/slim
2016-09-15 11:59:43 +00:00
Thomas Zander
6d141ce683 Resolve warning about bad symlink in stage-qa with GUI (gmplayer->mplayer) 2016-09-04 06:43:02 +00:00
Thomas Zander
71fadc0d4f Drop support for expired port multimedia/linux-realplayer
PR:		211675
Submitted by:	rene
Reviewed by:	riggs
2016-08-09 18:03:57 +00:00
Dmitry Marakasov
c86e9d9724 Remove NLS, DOCS, EXAMPLES and IPV6 from OPTIONS_DEFAULT, they are enabled by default anyway and don't need to be listed
Approved by:	portmgr blanket
2016-05-23 20:35:01 +00:00
Thomas Zander
9a3ec65015 Update to snapshots as of 2016-04-09 including bundled ffmpeg 2016-04-09 18:48:45 +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
Tijl Coosemans
6bc6f3a9e0 - Update security/gnutls to 3.4.10.
- Rename the LIBDANE option DANE because that's the name of the protocol
  supported by libgnutls-dane and gnutls-cli.  Also clarify the option
  description.
- Add an IDN option.
- libgnutls-openssl has been removed in 3.4.  Some ports used this library
  in their LIB_DEPENDS but no port actually required it.
- Some old API functions have been removed.  Ports that used these have been
  updated or patched to use the new API.
- Add a patch to print/cups to prevent overlinking of libgnutls.so.
- Bump PORTREVISION on dependent ports.

net-im/jabber: This port used the old API to give users fine grained
control over which crypto algorithms were used via a configuration file.
It's not immediately obvious how to port this to the new API so the port
always uses the defaults now.

www/hydra: Mark BROKEN.  This uses more removed calls than the other ports,
is said to be alpha quality and not fully functional and has been abandoned
10 years ago.

PR:		207768
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-03-27 14:57:59 +00:00
Thomas Zander
0e760209ba Enable speex audio codec as non-default OPTION
Proposed by:	Stefan Ehmann <shoesoft@gmx.net>
2016-03-20 20:40:34 +00:00
Alexey Dokuchaev
17246114ea Make dependency on `multimedia/libdvdnav' optional: riggs@ vaguely recalls
that there were build problems when disabling dvdnav some years ago, but I
had been building and running MPlayer without it for quite a while with no
issues.  It remains enabled by default anyways.

While here use our standard OPTIMIZED_CFLAGS_DESC for OCFLAGS_DESC and fix
minor indentation bug.

Approved by:	riggs (maintainer)
2016-03-04 15:39:39 +00:00
Thomas Zander
46afd447a6 Update to upstream version 1.3.0 from 2016-02-16
- Use released version instead of svn snapshot for this distfile
- Update MASTER_SITES to fetch from mplayer.hq instead of LOCAL for
  this distfile
- Use bundled ffmpeg-3.0
2016-02-27 17:48:11 +00:00
Koop Mast
71d5deb1f4 Move Mk/bsd.gnome.mk and Mk/bsd.mate.mk to Mk/Uses/.
To use the GNOME or MATE components activate it by adding gnome
or mate to USES. The usage of USE_GNOME/INSTALL_ICONS and for
example GLIB_SCHEMAS has stayed the same.

Like with USES, the use of USE_GNOME and so after bsd.port.pre.mk
is now forbidden. And adapt ports that where still doing that.

Exp-runs done by:	antoine@

PR:		205432
Reviewed by:	antoine@, mat@
Approved by:	portmgr (antoine@)
Differential Revision:	https://reviews.freebsd.org/D3653
2016-02-07 19:43:56 +00:00
Thomas Zander
2f6ab7bfa9 - Build with ffmpeg-2.8.6
- Fix CVE-2016-2213: out-of-bounds array read access in JPEG2000 decoder

MFH:		2016Q1
Security:	CVE-2016-2213
2016-02-06 10:43:29 +00:00
Thomas Zander
a61a04cd14 Build with ffmpeg-2.8.5; fix zero-day remote vulnerability
Both mentioned CVE IDs refer to vulnerabilities where a remote attacker
can read arbitrary files by using the subfile protocol in an HTTP Live
Streaming (HLS) M3U8 file. Building with 2.8.5 fixes those.

MFH:		2016Q1
Security:	CVE-2016-1897
		CVE-2016-1898
2016-01-17 10:21:21 +00:00
Thomas Zander
ba751ac7b2 Use ffmpeg 2.8.4 for mplayer / mencoder 2015-12-24 12:49:23 +00:00
Thomas Zander
e6497e21cf Update to mplayer snapshot as of 20151219 2015-12-19 20:22:02 +00:00
Antoine Brodin
0e8c3bf1b3 Update giflib to 5.1.1
PR:		204492
2015-12-03 20:01:03 +00:00
Thomas Zander
3b392083a8 Build with ffmpeg 2.8.3, bump PORTREVISION 2015-11-28 09:09:10 +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
Thomas Zander
273dbb13c0 Build mplayer/mencoder with latest ffmpeg release 2.8.2
- Let mplayer/mencoder use the most recent multimedia/ffmpeg distfile
- Bump PORTREVISION
2015-11-14 15:37:26 +00:00
Thomas Zander
23751bf83e Use ffmpeg 2.8.1 for en/decoding, convert more OPTIONs to helpers 2015-10-23 21:48:13 +00:00
Thomas Zander
2ee299f5a2 Use ffmpeg-2.8 with mplayer / mencoder 2015-09-19 12:07:12 +00:00
Thomas Zander
11538b8621 Use option helpers for post-patch 2015-09-12 11:13:59 +00:00
Thomas Zander
1355268bfa Correct arch dependent OPTIONS for powerpc
Discovered by:	jbeich
2015-09-01 20:08:53 +00:00
Thomas Zander
d5c038ec8c Enable VDPAU by default for mplayer on i386/amd64; general port cleanup
amd64/i386:
- Enable VDPAU by default for the large NVIDIA user base,
  proposed by ehaupt
- BUILD_DEPEND on yasm only on amd64/i386

General cleanups:
- Remove REINPLACE_CMD on CONFIGURE_SCRIPT conditional for post-8.x
  machines, is now part of patch-configure
- Offer RTCPU OPTION only on archs that support it (amd64, i386, ppc)
- Update RTCPU_DESC accordingly
- Use OPTION helper for RTCPU instead of complicated conditionals
- Remove superfluous check for ARCH when setting CFLAGS for armv6
2015-08-31 21:26:40 +00:00
Thomas Zander
6ea8dbba59 - Update to recent mplayer snapshot (2015-08-22)
- Unbundle ffmpeg and use the distfile from multimedia/ffmpeg
  (currently on version 2.7.2)
- Fix edge case assertion in av_free on 9.x/i386 upon stream close
  with mencoder (no change in behaviour)
- Include LICENSE_FILE
- Pet portlint
2015-08-23 16:41:23 +00:00
Thomas Zander
95f10edd34 - Retire WIN32 OPTION for win32 binary codecs support on i386, instead
- always compile in the loader code for win32 dlls on i386:
  i386 users can install multimedia/win32-codecs and just use them
  with mplayer/mencoder without compile-time knobs
- Bump PORTREVISION

Reported by:	Slawa Olhovchenkov <slw@zxy.spb.ru> via personal mail
2015-08-01 17:16:39 +00:00
Kubilay Kocak
9b08af5e1a multimedia/{lib}x264: Update to 0.144.2533 and major refactor
- Update to 0.144.2533 (from upstream stable branch) [1]
- Switch x264 and libx264 ports to master/slave ports respectively
- Bump PORTREVISION for dependent ports as the shared library version
  has changed.

multimedia/x264:

- Clean up and update "updating instructions" in Makefile header
- Tweak COMMENT
- Only LIB_DEPENDS on libx264 and add PLIST_FILES if this isn't the
  libx264 port.
- Allow COMMENT, USES, OPTIONS_*, CONFIGURE_ARGS to be overriden in
  libx264 port.
- Place common configure arguments in a CONFIGURE_COMMON_ARGS variable
  to make overriding values without duplication easier.
- Use --prefix configure argument over post-patch replacements
- Enable stripping of binaries and libraries if DEBUG is off. Remove
  post-install target STRIP_CMD accordingly.

- Delete patch-Makefile in favour of patching WRKSRC/configure to
  identify amd64, arm64 and mipsn32. powerpc and powerpc64 are now
  covered upstream without needing patches.

- Patch out a bogus compiler argument check (cc_check) that results
  in -Wno-maybe-uninitialized being added to CFLAGS causing causes
  warnings when clang is cc. The cc_check function checks for basename
  $CC to identify compiler type (icl, clang, gcc, etc).

multimedia/libx264:

- Remove all Makefile entries that are duplicated or common and found
  in the master port (x264).
- Set lib as the PKGNAMEPREFIX
- Tweak COMMENT
- Delete upstreamed ARM patches [1]
- Delete all but one patch, as they duplicate those in x264.
- Dont remove pkgconfig/libdata directory

Changes:

  https://git.videolan.org/?p=x264.git;a=shortlog;h=refs/heads/stable

Based on:

PR:		201260 [1]
Submitted by:	Andrey Cherkashin <andoriyu gmail com> [1]
2015-07-03 07:02:44 +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
Thomas Zander
30a5a15085 Fix runtime crash with certain MPEG2 files on pre-10 systems.
PR:		199283
MFH:		2015Q2
2015-04-12 14:37:50 +00:00
Thomas Zander
14912f59d4 - Update to new upstream snapshot as of 2015-04-03
(included ffmpeg snapshot as of 2015-04-03)
- Fix vulnerabilities CVE-2014-8544 and CVE-2014-9604
  with bundled ffmpeg snapshot in the process

MFH:		2015Q2
2015-04-04 07:07:20 +00:00
Mathieu Arnold
b1f1090c6f Depend on the package name rather than a directory.
Sponsored by:	Absolight
2015-02-19 14:47:48 +00:00
Ganael LAPLANCHE
4fc341b8ee Update multimedia/libdvdread and multimedia/libdvdnav
- Update multimedia/libdvdread to version 5.0.1
- Update multimedia/libdvdnav to version 5.0.2
- Bump revisions of ports that depend on multimedia/libdvdnav
  (library version is going backwards from 4.2.1 to 4.1.2)
- Ports depending on multimedia/libdvdread do not need to be bumped
  (the library keeps being numbered 4.1.2 and is binary compatible with the
  previous version)
2015-02-03 07:48:23 +00:00
Thomas Zander
5db77513a2 Fix cdio support
While on it:
Remove CDPARANOIA option
- broken with cdparanoia port anyway
- move CDIO from radio button group to standard (default off) OPTION
- remove radio button group CDPARANOIA/CDIO

Reported by:	Kris Moore (kris@pcbsd.org) via mail
MFH:		2015Q1
2015-01-24 18:32:07 +00:00
Antoine Brodin
364abe76fd Switch some dependencies from a directory name or a file generated by pkg-install
to a package name,  as the former can't be attributed to a package
2015-01-24 15:07:39 +00:00
Thomas Zander
dd5d1730cd Modernise compiler handling
- Retire OTCHAIN OPTION
- Retire support for gcc 4.2 from base
- Depend on c11 compliant compiler via USES=compiler:c11
- Respect CC,CXX,CPP from environment (fixes bug 196811)
- Bump PORTREVISION (default package on 8.x changes)
2015-01-18 17:00:48 +00:00
Thomas Zander
14b98461cf Handle arch-dependent CFLAGS in Makefile.options because it
should be included by mencoder as well.
2015-01-18 11:40:01 +00:00
Sean Bruno
42a1f84a57 These ports utilize GAS assembly and probably won't ever change. For the ARM
case, do not use -integrated-as.

PR:	196660 196774 196775 196776
Submitted by:	mikael.urankar@gmail.com
Approved by:	mentor (inplicit)
2015-01-16 22:34:22 +00:00
Thomas Zander
b05605bc33 - Upstream versions of mplayer and ffmpeg as of 2014-12-23
- Remove the following OPTIONS:
  - MEMALIGN (now used by default where supported)
  - PROFILE (shaky, unreliable, rarely used, nigh unsupportable)
  - DIRAC (codec support only via libschroedinger)
- Default-depends on external libdvdnav
  (mplayer no longer bundles internal dvd support libraries)
- Simplify CFLAGS handling
- Use -mstack-alignment=16 -mstackrealign on clang / i386
2014-12-29 08:39:33 +00:00
Baptiste Daroussin
bb21093773 Bump portrevision after png update 2014-12-25 20:54:41 +00:00
Tijl Coosemans
60945f0277 Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it.  Bump PORTREVISION on their dependent
ports except the ones that depend on these:

audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt

In these cases the same trick as in the recent gettext update is used.
The ports install a symlink with the old library version.  When enough
of their dependent ports have had regular updates the remaining ones can
get a PORTREVISION bump and the links can be removed.

Also remove the devel/pcre dependency from USE_GNOME=glib20.  It causes
over 2200 packages to depend on devel/pcre while less than 200 actually
link with it.  The glib20 package still depends on devel/pcre so this
should not make a difference for ports with USE_GNOME=glib20.  Also,
libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so
USE_GNOME=glib20 should not propagate it.

PR:		195724
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-12-08 16:48:38 +00:00
Thomas Zander
4d537e472d Enable network streaming via https and other encrypted connections
- Introduce GNUTLS OPTION and make it default
- Add extra patch for gnutls support from mplayer svn head

While on it
- Fix cflags/ldflags in mencoder: USES pkgconfig
2014-11-20 21:42:42 +00:00
Thomas Zander
fa8b448107 Correct iconv handling
Bump PORTREVISION

While on it:
- Remove @dirrm(try) from pkg-plists

PR:		195065
Submitted by:	yuri@rawbw.com
Reviewed by:	riggs
2014-11-16 17:20:32 +00:00