948d1c479e
* Use FFmpeg 3 Changelog: 2016-02-16, Tuesday :: MPlayer 1.3.0 released MPlayer 1.3.0 "worksforme" is out. Less than a month after 1.2.1, we're at it again. MPlayer 1.3.0 is compatible with the FFmpeg 3.0.x releases and (at the time of writing) with FFmpeg git. The tarball already includes a copy of FFmpeg 3.0, so you don't need to fetch it separately. This release brings you some new codecs and formats, a lot of fixes, and many cleanups. It also includes all the enhancements and speed-ups from FFmpeg; check their changelog if you are curious about the details. In addition to these, there were a lot of updates to accommodate the API changes made in FFmpeg. Some were simple renames, but others were quite invasive. None of them should have a user-visible effect, except maybe for some corner-cases in the channel order for multichannel files.
65 lines
1.8 KiB
Text
65 lines
1.8 KiB
Text
# $NetBSD: Makefile.common,v 1.58 2016/03/05 09:03:02 ryoon Exp $
|
|
# used by multimedia/gmplayer/Makefile
|
|
# used by multimedia/mencoder/Makefile
|
|
# used by multimedia/mplayer/Makefile
|
|
|
|
MPLAYER_VERSION= 1.3.0
|
|
|
|
DISTNAME= MPlayer-${MPLAYER_VERSION}
|
|
|
|
CATEGORIES?= multimedia
|
|
|
|
MASTER_SITES= http://www.mplayerhq.hu/MPlayer/releases/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
DIST_SUBDIR= mplayer
|
|
|
|
MAINTAINER?= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE?= http://www.mplayerhq.hu/
|
|
|
|
#
|
|
# NOTE: gmplayer has its own distinfo file. if you are also updating
|
|
# gmplayer, you must ensure that *both* distinfo files contain the
|
|
# correct, up-to-date files and checksums.
|
|
#
|
|
# NOTE: patches are shared between mplayer and gmplayer!
|
|
#
|
|
|
|
PATCHDIR= ${.CURDIR}/../../multimedia/mplayer-share/patches
|
|
DISTINFO_FILE= ${.CURDIR}/../../multimedia/mplayer-share/distinfo
|
|
|
|
RESTRICTED= Prohibited by USAs DMCA and patent law
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
USE_TOOLS+= gmake
|
|
HAS_CONFIGURE= YES
|
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
CONFIGURE_ARGS+= --disable-smb
|
|
CONFIGURE_ARGS+= --disable-ffmpeg_a
|
|
CONFIGURE_ARGS+= --yasm=""
|
|
|
|
# The configure script attempts to test-execute compiled programs in /tmp,
|
|
# but that directory may be mounted as noexec; work this around by setting
|
|
# TMPDIR to ${WRKDIR}
|
|
CONFIGURE_ENV+= TMPDIR=${WRKDIR}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# The configure script misdetects endianness on mipseb
|
|
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "mipseb"
|
|
CONFIGURE_ARGS+= --enable-big-endian
|
|
.endif
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-*-arm*) || \
|
|
!empty(MACHINE_PLATFORM:MNetBSD-*-earm*)
|
|
|
|
# autodetect code enables these options on NetBSD/arm but it should not
|
|
CONFIGURE_ARGS+= --disable-armv5te --disable-armv6 --disable-armv6t2
|
|
.endif
|
|
|
|
.include "../../multimedia/mplayer-share/options.mk"
|