Commit graph

347 commits

Author SHA1 Message Date
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
68ec7939af Update to snapshots of mplayer and ffmpeg as of 2016-05-08 2016-05-08 18:05:42 +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
Dmitry Marakasov
7cffd3c8f9 Remove support for WANT_SDL/HAVE_SDL knobs
WANT_SDL/HAVE_SDL macros allowed a port to check which SDL components
are installed. This goes against the policy of avoiding automatic
dependencies, and there are actually no cases in the portstree where
these knobs are used properly, so axe them out.

Approved by:	portmgr (mat)
Differential Revision:	D4093
2015-11-09 14:30:02 +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
Mathieu Arnold
60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +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
Thomas Zander
449a649bbd Prevent accidental linking to libEGL
Reported by:	Florian Degner <f.degner@gmx.de> via personal mail
MFH:		2015Q1
2015-03-28 13:35:02 +00:00
John Marino
798eb9e9cb multimedia category: Remove $PTHREAD_LIBS
approved by:	PTHREAD blanket
2015-03-25 17:36:47 +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
Antoine Brodin
7ae46e9b12 Change libpng15.so to libpng.so in LIB_DEPENDS to prepare the upgrade 2014-12-25 19:04:25 +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
Johannes Jost Meixner
4f12f3b178 multimedia/x264: General overhaul
- Split x264 into two ports: the CLI application (x264), and the library
  (libx264). This will allow x264 to use lavf and friends from ffmpeg for
  decoding and demuxing while preventing a circular dependency between the
  two: x264 can depend on ffmpeg, but ffmpeg will depend on libx264 rather
  than x264.
- Add the LAVF option to the CLI port, making the dependency on ffmpeg
  optional.
- Update to 0.142.2455.
- Amend fixes to local patches so that they can apply to the new upstream
  files.
- Provide the git revision and other version information to the build
  environment, allowing the CLI binary to display this information (like the
  Windows builds).
- Remove unsupported build options (X11_OUTPUT).
- Ensure that the library and CLI ports each have the appropriate options.
- Add notes for future contributors who wish to update the ports.
- Bump PORTREVISION for all dependent ports.

PR:           187805
Differential Revision:	https://reviews.freebsd.org/D1159
Submitted by: Andrew Berg <aberg010@my.hennepintech.edu>
Approved by:  koobs (maintainer, mentor)
2014-11-22 16:23:34 +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
Thomas Zander
7dc69aaa57 Fix build on armv6
- Merge patch to configure script from upstream r37258

PR:		194687
Submitted by:	mikael.urankar@gmail.com
Reviewed by:	riggs
MFH:		2014Q4
2014-11-01 11:09:00 +00:00
Thomas Zander
eeab05ac62 - Make FONTCONFIG a default OPTION
- improves compatibility with umplayer
  - does not require manual config modification for subtitle display
- Bump PORTREVISION

PR:		193675
Submitted by:	loox@e-shell.net
2014-09-18 12:08:11 +00:00
Thomas Zander
0030c323d5 - Add experimental OPTION to avoid memory alignment hacks 2014-09-13 12:46:27 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00