Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 13:43:35 -0300
From:      "Alejandro Pulver" <alejandro@varnet.biz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   advocacy/82934: New port: multimedia/toxine - Text user interface using the xine library
Message-ID:  <1120409015.0@phobos.mars.bsd>
Resent-Message-ID: <200507031650.j63GoK0Q073285@freefall.freebsd.org>

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

>Number:         82934
>Category:       advocacy
>Synopsis:       New port: multimedia/toxine - Text user interface using the xine library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-advocacy
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 03 16:50:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alejandro Pulver
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 5.4-RELEASE #0: Sat May 21 12:14:47 ART 2005
    root@phobos.mars.bsd:/usr/src/sys/i386/compile/ATHLON-ALE



>Description:





>How-To-Repeat:





>Fix:


--- toxine.shar begins here ---
# 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:
#
#	toxine
#	toxine/Makefile
#	toxine/pkg-descr
#	toxine/pkg-plist
#	toxine/distinfo
#
echo c - toxine
mkdir -p toxine > /dev/null 2>&1
echo x - toxine/Makefile
sed 's/^X//' >toxine/Makefile << 'END-of-toxine/Makefile'
X# New ports collection makefile for:	multimedia/toxine
X# Date created:			3 August 2005
X# Whom:				Alejandro Pulver <alejandro@varnet.biz>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	toxine
XPORTVERSION=	0.6.3
XCATEGORIES=	multimedia
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	toxine
X
XMAINTAINER=	alejandro@varnet.biz
XCOMMENT=	Text user interface using the xine library
X
XLIB_DEPENDS=	xine.13:${PORTSDIR}/multimedia/libxine
X
XUSE_X_PREFIX=	yes
XUSE_REINPLACE=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib -I${X11BASE}/lib"
X
XMAN1=		toxine.1
X
XOPTIONS=	AALIB "Enable aalib support" on \
X		LIBCACA "Enable libcaca support" on \
X		OPTIMIZED_CFLAGS "Enable compilation optimizations" on
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 502000
XLIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
XCONFIGURE_ARGS+=	--with-readline=${LOCALBASE}
X.endif
X
X.if defined(WITH_AALIB)
XLIB_DEPENDS+=	aa.1:${PORTSDIR}/graphics/aalib
X.endif
X
X.if defined(WITH_LIBCACA)
XBUILD_DEPENDS+=	${LOCALBASE}/lib/libcaca.a:${PORTSDIR}/graphics/libcaca
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|alsa09|oss|g' ${WRKSRC}/misc/dvdplayer.sh.in
X.if defined(WITHOUT_OPTIMIZED_CFLAGS)
X	@${REINPLACE_CMD} -e 's|-mpreferred-stack-boundary=2||g ; \
X			s|-fno-strict-aliasing||g ; \
X			s|-fschedule-insns2||g ; \
X			s|-mwide-multiply||g ; \
X			s|-falign-functions=4||g ; \
X			s|-falign-loops=4||g ; \
X			s|-falign-jumps=4||g ; \
X			s|-fomit-frame-pointer||g ; \
X			s|-fexpensive-optimizations||g ; \
X			s|-ffast-math||g ; \
X			s|-funroll-loops||g ; \
X			s|-finline-functions||g' \
X				${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
X.endif
X
X.if defined(WITH_AALIB) || exists(${LOCALBASE}/lib/libaa.a)
XPLIST_SUB+=	AALIB=""
X.else
XPLIST_SUB+=	AALIB="@comment "
X.endif
X
X.if defined(WITH_LIBCACA) || exists(${LOCALBASE}/lib/libcaca.a)
XPLIST_SUB+=	LIBCACA=""
X.else
XPLIST_SUB+=	LIBCACA="@comment "
X.endif
X
X.include <bsd.port.post.mk>
END-of-toxine/Makefile
echo x - toxine/pkg-descr
sed 's/^X//' >toxine/pkg-descr << 'END-of-toxine/pkg-descr'
XToxine is a text user interface using the xine library. It permit to playback
Xall streams that xine supports, in interactive or in  script mode (using
Xtoxine syntax). It use xine's visualisation plugins (AAlib, X11, DXR3/HW+),
Xand/or his own 'none' one (audio only output).
X
XIt use the readline library, which permit, in interactive mode, to recall
Xcommands, completions, etc..
X
XYou can use it in a console (useful for DXR3/HW+ owners, using TV output), or
Xin a X11 terminal window.
XIf you're a developper, and you want to test/debug your own plugins, using
Xtoxine is useful due of script usage. This way, you can reproduce actions
Xwithout interactions, redirect outputs to a file (name given or not). You can
Xalso see how to implement your own xine library frontend, because toxine
Ximplement almost all xine's API calls.
X
XIf you don't like GUIs, or love console (and AAlib video output), toxine is
Xfor you ;-)
X
XWWW: http://toxine.sourceforge.net/
X
X- Alejandro Pulver
Xalejandro@vanet.biz
END-of-toxine/pkg-descr
echo x - toxine/pkg-plist
sed 's/^X//' >toxine/pkg-plist << 'END-of-toxine/pkg-plist'
Xbin/dvdplayer.sh
Xbin/toxine
X%%AALIB%%lib/toxine/plugins/toxine_vo_plugin_aa.so
X%%LIBCACA%%lib/toxine/plugins/toxine_vo_plugin_caca.so
Xlib/toxine/plugins/toxine_vo_plugin_dxr3.so
Xlib/toxine/plugins/toxine_vo_plugin_none.so
Xlib/toxine/plugins/toxine_vo_plugin_x11.so
X@dirrm lib/toxine/plugins
X@dirrm lib/toxine
END-of-toxine/pkg-plist
echo x - toxine/distinfo
sed 's/^X//' >toxine/distinfo << 'END-of-toxine/distinfo'
XMD5 (toxine-0.6.3.tar.gz) = 261c6ac24f77337a9311d39f42fb5be4
XSIZE (toxine-0.6.3.tar.gz) = 342432
END-of-toxine/distinfo
exit

--- toxine.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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