Commit graph

143 commits

Author SHA1 Message Date
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
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
Koop Mast
07297fc5b2 Replace HAVE_GNOME based check for esound with a exists() based one. 2015-09-13 16:16:32 +00:00
Alexey Dokuchaev
914d89b6af Fix small typo that prevented successful builds on big-endian systems. 2015-09-07 11:34:31 +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
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
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
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
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
Tijl Coosemans
216b5a285f - Fix missing library problems when the linker enforces explicit linking
PR:		192062
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-08-26 14:06:08 +00:00
Dmitry Marakasov
6763f2ce33 - Switch multimedia/mp4v2 to USES=libtool, drop .la files
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-07-25 20:09:16 +00:00
Thomas Zander
8cb69a98e7 - Unbreak build with clang
- Update shared lib handling: mp3lame -> libmp3lame.so etc.
- USES libtool
- Stagify
- Pet portlint
  - Makefile cleanup
  - Rename files/patch-include::mpeg4ip_byteswap.h -> get rid of colons
- Bump PORTREVISION

Approved by:	mentors (implicit)
MFH:	2014Q2
2014-06-15 12:17:56 +00:00
Tijl Coosemans
9f8b4bcde3 Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS.  Also remove references to
  PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
  required additional patches.

Somewhat simplified a linker command line looks like:

${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}

where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us.  If possible -L and -l flags need to be
added to LIBS to make sure they appear after any -L and -l flags set by
upstream.  Many ports currently add -L${LOCALBASE}/lib to LDFLAGS but this
may appear too early on the command line causing installed libraries to
be linked in instead of freshly built ones.

Additional changes:
benchmarks/netio: Replace WITH_IPV6 with an IPV6 option.
comms/gnokii: Replace some patches with USES=pathfix.  Also remove -fPIC.
graphics/gimageview: USES=libtool and install desktop file in DESKTOPDIR.
graphics/visionworkbench: Remove FreeBSD 7 support.
multimedia/libmovtar: New LIB_DEPENDS syntax.
multimedia/opencinematools: Use standard do-build.
net/siproxd: USES=libtool:keepla (port actually needs .la files for plugins)
net-mgmt/nagios: Remove -fPIC.
net-mgmt/nagios4: Remove -fPIC.
print/cups-base: Only add -lssp_nonshared on i386 and OSVERSION < 1000036.
security/p11-kit: Replace PTHREAD_LIBS in CONFIGURE_ENV with
ac_cv_func_pthread_mutexattr_init=no in CONFIGURE_ARGS.  This skips a test
in configure that falsely detects pthread_mutexattr_init in our libc.
sysutils/dar: Fix iconv detection.
x11/rxvt-unicode: Remove -lstdc++ and patch configure to remove a FreeBSD
hack and use $CXX as linker as on other platforms.

PR:		190592
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2014-06-11 14:49:59 +00:00
Martin Wilke
4ec433d559 - Convert gmake,xz,bzip to USES
Approved by:	portmgr
2014-05-26 12:06:10 +00:00
William Grzybowski
ddef80a87d multimedia/mpeg4ip: link using ffmpeg0
- Link using ffmpeg0

Approved by:	portmgr (bapt, implicit)
2013-10-09 01:54:21 +00:00
Kubilay Kocak
51bfa6a800 multimedia/x264: Update to 20130827 snapshot
- Update to 20130827 snapshot
- Add CONFIGURE_ARGS to disable OpenCL, fixes configure failure
- Chase library version bump in dependent ports

PR:		ports/182484
Submitted by:	mm
Reviewed by:	kwm, bapt
2013-10-07 09:21:13 +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
Alex Kozlov
d4041784dc - Remove MAKE_JOBS_SAFE variable
Approved by:	portmgr (bdrewery)
2013-08-14 22:35:50 +00:00
Baptiste Daroussin
b49524071e Remove non default ARTS option 2013-07-26 23:34:57 +00:00
Baptiste Daroussin
a3f118f28c Convert to OptionsNG
Removed shlib numbers
2012-09-26 08:33:16 +00:00
Carlo Strub
a9f85911cd Fix typos and make small modifications in COMMENT (according to Porter's
Handbook)

Approved by:	portmgr@ (implicit)
2012-08-03 15:54:35 +00:00
Martin Matuska
1a43bc6e54 Update multimedia/x264 to 0.125.2201
Switch to new options framework
2012-07-23 19:27:25 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Martin Matuska
f74b3c4c83 Update x264 to 0.123.2189 2012-04-25 14:19:00 +00:00
Marcus von Appen
fbd0197639 - Update devel/sdl12 to 1.2.15
- Update audio/sdl_mixer to 1.2.15
- Update graphics/sdl_image to 1.2.12
- Update graphics/sdl_ttf to 2.0.11
- Update graphics/sdl_gfx to 2.0.23
- Update net/sdl_net to 1.2.8
- Bump PORTREVISIONs on ports that depend on one or more packages due to
ABI and shared library version changes
- Update Mk/bsd.sdl.mk accordingly for the new shared library versions

Tested by:	exp-run by pav
2012-02-18 10:18:33 +00:00
Ashish SHUKLA
97ddb4e13d - Bump PORTREVISION to chase the update of multimedia/libvpx 2012-02-16 15:57:34 +00:00
Alexander Leidinger
e269a2b517 Update lame to 3.99.3.
Bump portrevision of all ports which depend upon it.
2012-01-14 22:27:02 +00:00
Martin Matuska
26cbc33e1b Update x264 to 0.119.2113 2011-12-21 08:48:28 +00:00
Mark Linimon
7d8608ab13 Mark broken on powerpc as well as sparc64. (In fact, on all the tier-2s.)
Hat:		portmgr
2011-11-10 05:38:32 +00:00
Martin Matuska
a159546d4a Bump x264 library version and PORTREVISION
Reported by:	pointyhat (pav)
2011-10-13 08:32:31 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Olli Hauer
4c503beb39 - remove MD5 2011-07-03 13:38:45 +00:00
Martin Matuska
f789a1eda2 Fix C++ build with new ffmpeg (0.7.1) 2011-06-27 22:59:39 +00:00
Martin Matuska
6a5f84f7bb Update ffmpeg 0.7.1 compatibility patch 2011-06-25 09:50:19 +00:00
Martin Matuska
c86cd8cae2 Bump due to ffmpeg update to 0.7.1 2011-06-24 22:39:03 +00:00
Martin Matuska
0c0dda15f1 Update to 0.115.2000 2011-06-23 18:09:46 +00:00
Philip M. Gollucci
4a50fe7414 - remove empty files 2010-12-27 15:50:55 +00:00
Stanislav Sedov
b7e48f54aa - Use getopt_long from libc, rather than the bundled implementation.
The bundled implementation fails to compile.
- Bump portrevision.

Approved by:	maintainer timeout (multimedia@, 14 days)
2010-12-23 08:59:07 +00:00
Martin Matuska
8746c8ffeb - Update x264 to 0.110.1804 2010-11-30 09:50:47 +00:00
Max Brazhnikov
526f368c1f Chase multimedia/mp4v2 update.
PR:		ports/148643
Submitted by:	Christopher Key <cjk32 at cam.ac.uk>
2010-08-11 20:58:04 +00:00
Martin Matuska
ab5c533c96 - Update ffmpeg to 0.6 2010-07-24 16:38:20 +00:00
Martin Matuska
165386783b - Update x264 to 20100624 (build 98) 2010-07-24 15:30:17 +00:00
Pav Lucistnik
bae0de7d86 - Disable MMX autodetection on pointyhat to achieve predictable dependency list 2010-06-13 19:07:30 +00:00
Alexander Leidinger
a23bcd1501 - update audio/lame to 3.98.4
- use ?= for the portrevision of a master port to make it possible to
  change it in a slave port which depends upon lame
- bump portrevisions of ports which depend upon lame
  - done via a semi-automated way (manual review and fixup)
  - I tried to take care to not bump ports which only depend optionaly on
    lame (with a default of no dependency)
2010-06-03 08:55:01 +00:00
Martin Matuska
159cf134b0 - Update x264 to shared library version 85 2010-04-21 12:56:46 +00:00
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Martin Matuska
9819af920c - Fix build error with ffmpeg 0.5
- Add MAKE_JOBS_SAFE for SMP compilation
- Bump portrevision
2009-08-12 09:17:51 +00:00
Dirk Meyer
eca78ec61b - bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
2009-07-31 13:57:52 +00:00