Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2007 10:01:35 +0800
From:      "Thomas E. Zander" <riggs@rrr.de>
To:        sem@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/115170: [Maintainer-update] multimedia/mplayer
Message-ID:  <20070807020135.GC3298@hueftgold.dyndns.org>
In-Reply-To: <200708041450.l74Eoxfo037840@freefall.freebsd.org>
References:  <200708041450.l74Eoxfo037840@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline

I noticed you committed the changes to the mplayer port.
Are you going to commit the mencoder part as well? Because, currently
there is no mencoder in the ports...that's why I submitted these two
chenges together, as they should be committed at the same time...

TIA,
Riggs

P.S. For the pr trace, I attached the mencoder port as shar again

-- 
- "[...] I talked to the computer at great length and
-- explained my view of the Universe to it" said Marvin.
--- And what happened?" pressed Ford.
---- "It committed suicide." said Marvin.

--LQksG6bCIzRHxTLp
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: attachment; filename="m.txt"

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mencoder
#	mencoder/Makefile
#	mencoder/distinfo
#	mencoder/pkg-plist
#	mencoder/pkg-descr
#
echo c - mencoder
mkdir -p mencoder > /dev/null 2>&1
echo x - mencoder/Makefile
sed 's/^X//' >mencoder/Makefile << 'END-of-mencoder/Makefile'
X# New ports collection makefile for:	mencoder
X# Date created:		23 June 2007
X# Whom:			Thomas E. Zander
X# $FreeBSD:$
X#
X
XPORTNAME=	mencoder
XPORTVERSION=	${MPLAYER_PORT_VERSION}
XCOMMENT=	Convenient video file and movie encoder
XRESTRICTED=	Port has restricted dependencies
X
X.include "${.CURDIR}/../mplayer/Makefile.shared"
X
XOPTIONS=	DEBUG "Include debug symbols in mencoder's binary files" off
XOPTIONS+=	RTCPU "Let mplayer dynamically check for CPU features" on
XOPTIONS+=	OCFLAGS "Use optimized compiler flags" on
XOPTIONS+=	SIMD "Allow mplayer to use vector engines (MMX...)" on
XOPTIONS+=	IPV6 "Include inet6 network support" on
XOPTIONS+=	JACK "Enable JackIt audio server support" off
X#OPTIONS+=	POLYP "Enable polyp sound server support" off
XOPTIONS+=	NAS "Enable NAS sound server support" off
XOPTIONS+=	OPENAL "Enable OpenAL sound support" off
XOPTIONS+=	LIBUNGIF "Enable gif support" on
XOPTIONS+=	LIBDV "Enable libdv support" off
XOPTIONS+=	MAD "Enable mad MPEG audio engine support" off
XOPTIONS+=	TWOLAME "Enable twolame MPEG audio codec support" off
XOPTIONS+=	DTS "Enable DTS audio codec support" on
XOPTIONS+=	LIBMPCDEC "Enable libmpcdec support" off
XOPTIONS+=	FAAC "Enable FAAC audio codec support" off
XOPTIONS+=	LADSPA "Enable LADSPA plugin support" off
XOPTIONS+=	SPEEX "Enable speex audio codec support" off
XOPTIONS+=	TREMOR "Use built-in tremor instead of libvorbis" off
XOPTIONS+=	XMMS "Enable XMMS plugin support" off
XOPTIONS+=	WIN32 "Enable win32 codec set on the IA32 arch" on
XOPTIONS+=	THEORA "Enable ogg theora video support" off
XOPTIONS+=	X264 "Enable x264 (H.264) video codec support" off
XOPTIONS+=	XANIM "Enable xanim DLL support" off
XOPTIONS+=	XVID "Enable XVID video codec support" on
XOPTIONS+=	REALPLAYER "Enable real player plugin" off
XOPTIONS+=	LIVEMEDIA "Enable LIVE555 streaming support" off
XOPTIONS+=	SMB "Enable Samba input support" off
XOPTIONS+=	FRIBIDI "Enable FriBiDi support" off
XOPTIONS+=	LIBCDIO "Enable libcdio support" off
XOPTIONS+=	CDPARANOIA "Enable cdparanoia support" off
XOPTIONS+=	LIBLZO "Enable external liblzo library" off
X
XMLINKS=		mplayer.1 mencoder.1
X
XPATCHDIR=	${.CURDIR}/../mplayer/files
XDATADIR=	${TARGETDIR}/share/mplayer
X
XTOOLFILES=	calcbpp.pl countquant.pl dvd2divxscript.pl \
X		menc2pass mencvcd mp.pl subedit.pl subsearch.sh \
X		sws-test w32codec_dl.pl wma2ogg.pl x2mpsub.sh
X
X.include <bsd.port.pre.mk>
X
XLIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
XBUILD_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
XRUN_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
X
XCONFIGURE_ARGS+=	--disable-vidix-internal \
X			--disable-freetype \
X			--disable-x11 \
X			--disable-fontconfig \
X			--disable-rtc \
X			--disable-arts \
X			--disable-esd \
X			--disable-caca \
X			--disable-lirc \
X			--disable-sdl \
X			--disable-svga \
X			--disable-aa \
X			--disable-joystick
X
X.include "${.CURDIR}/../mplayer/Makefile.options"
X
X.if defined(WITH_TWOLAME)
XLIB_DEPENDS+=	twolame.0:${PORTSDIR}/audio/twolame
X.else
XCONFIGURE_ARGS+=	--disable-twolame
X.endif
X
X.if defined(WITH_FAAC)
XLIB_DEPENDS+=	faac.0:${PORTSDIR}/audio/faac
X.else
XCONFIGURE_ARGS+=	--disable-faac
X.endif
X
Xpre-everything::
X	@${ECHO_MSG} "N - O - T - E"
X	@${ECHO_MSG} ""
X	@${ECHO_MSG} "There are some knobs which *can* *not* be selected via the"
X	@${ECHO_MSG} "OPTIONS framework. As this one is a slave port of multimedia/"
X	@${ECHO_MSG} "mplayer, you might want to check mplayer's Makefile(s) in"
X	@${ECHO_MSG} "order to learn more about them."
X
Xpost-patch:
X	@${REINPLACE_CMD} -e \
X		's|libxmms.so.1|libxmms.so|' \
X		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
X	@${REINPLACE_CMD} -e 's|/dev/dvd|${DEFAULT_DVD_DEVICE}|; \
X		s|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \
X		${WRKSRC}/${CONFIGURE_SCRIPT}
X	@${REINPLACE_CMD} -e 's!/usr/local!${PREFIX}!' \
X		${WRKSRC}/${CONFIGURE_SCRIPT}
X	@${FIND} -E ${WRKSRC} -type f \
X		-iregex ".*(configure|.sh|Makefile)" -print0 | \
X		${XARGS} -x -0 -n 10 \
X		${REINPLACE_CMD} -E \
X			-e 's|[[:space:]]gcc[-[:digit:]\.]+| ${CC}|' \
X			-e 's|[[:space:]]gcc| ${CC}|' \
X			-e 's|\$$\(CC\)|${CC}|' \
X			-e 's|/usr/X11R6|${X11BASE}|'
X	@${FIND} ${WRKSRC}/DOCS/man -name "mplayer.1" | ${XARGS} ${REINPLACE_CMD} -E -e \
X		's|/usr/\\:local/\\:etc/\\:mplayer|${DATADIR:S/\//\/\\\:/g}|g ; \
X		 s|/dev/\\:(dvd[[:alnum:]]*[[:>:]])|${DEFAULT_DVD_DEVICE:S/dev\//dev\/\\\:/}|g ; \
X		 s|/dev/\\:(cdrom[[:alnum:]]*[[:>:]])|${DEFAULT_CDROM_DEVICE:S/dev\//dev\/\\\:/}|g'
X
Xpost-configure:
X	@${REINPLACE_CMD} -e 's#-pthread#${PTHREAD_LIBS}#g' \
X		${WRKSRC}/config.mak
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/mencoder ${PREFIX}/bin
X
Xpost-install:
X	@${MKDIR} ${DATADIR}
X	@${CHMOD} 755 ${DATADIR}
X	@${MKDIR} ${DATADIR}/tools
X	@${CHMOD} 755 ${DATADIR}/tools
X.for tool in ${TOOLFILES}
X	@${INSTALL_SCRIPT} ${WRKSRC}/TOOLS/${tool} ${DATADIR}/tools
X.endfor
X
X.include <bsd.port.post.mk>
END-of-mencoder/Makefile
echo x - mencoder/distinfo
sed 's/^X//' >mencoder/distinfo << 'END-of-mencoder/distinfo'
XMD5 (MPlayer-1.0rc1.tar.bz2) = 18c05d88e22c3b815a43ca8d7152ccdc
XSHA256 (MPlayer-1.0rc1.tar.bz2) = 8dd9dd61a0fe56904f5b76ddedb99bd359abaaf486e0b83b45e3357fecc81063
XSIZE (MPlayer-1.0rc1.tar.bz2) = 8414213
XMD5 (asmrules_fix_20061231.diff) = f0b71c38b1207c1d604be091876ac051
XSHA256 (asmrules_fix_20061231.diff) = 3f71e6f4e07940d4d55084d0df12404371bc4e534a3a6b0756ca73e44ddbc3c4
XSIZE (asmrules_fix_20061231.diff) = 1450
END-of-mencoder/distinfo
echo x - mencoder/pkg-plist
sed 's/^X//' >mencoder/pkg-plist << 'END-of-mencoder/pkg-plist'
Xbin/mencoder
X%%DATADIR%%/tools/calcbpp.pl
X%%DATADIR%%/tools/countquant.pl
X%%DATADIR%%/tools/dvd2divxscript.pl
X%%DATADIR%%/tools/menc2pass
X%%DATADIR%%/tools/mencvcd
X%%DATADIR%%/tools/mp.pl
X%%DATADIR%%/tools/subedit.pl
X%%DATADIR%%/tools/subsearch.sh
X%%DATADIR%%/tools/sws-test
X%%DATADIR%%/tools/w32codec_dl.pl
X%%DATADIR%%/tools/wma2ogg.pl
X%%DATADIR%%/tools/x2mpsub.sh
X@dirrm %%DATADIR%%/tools
X@dirrmtry %%DATADIR%%
END-of-mencoder/pkg-plist
echo x - mencoder/pkg-descr
sed 's/^X//' >mencoder/pkg-descr << 'END-of-mencoder/pkg-descr'
XThe "mencoder" component of the MPlayer project is a tool which
Xallows creation of video streams. It supports almost the same set
Xof input sources as the player component and supports encoding from
Xthese sources through various codecs, including the popular ffmpeg,
XXviD and x264 families. "Transcoding" DVDs into avi files is also
Xpossible.
X
XWWW: http://www.mplayerhq.hu/
END-of-mencoder/pkg-descr
exit


--LQksG6bCIzRHxTLp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070807020135.GC3298>