Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2000 16:24:38 +0300 (IDT)
From:      roman@xpert.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21669: MAINTAINER new port: graphics/xine
Message-ID:  <200010011324.e91DOcd35084@alchemy.oven.org>

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

>Number:         21669
>Category:       ports
>Synopsis:       MAINTAINER new port: graphics/xine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 01 06:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
Roman Shterenzon
>Environment:

	ports

>Description:
	This is a port of (still beta) freeware MPEG1/2 player

>How-To-Repeat:


>Fix:

# 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:
#
#	xine
#	xine/files
#	xine/files/md5
#	xine/patches
#	xine/patches/patch-aa
#	xine/pkg
#	xine/pkg/DESCR
#	xine/pkg/COMMENT
#	xine/pkg/PLIST
#	xine/Makefile
#
echo c - xine
mkdir -p xine > /dev/null 2>&1
echo c - xine/files
mkdir -p xine/files > /dev/null 2>&1
echo x - xine/files/md5
sed 's/^X//' >xine/files/md5 << 'END-of-xine/files/md5'
XMD5 (xine-0.2.0.tar.gz) = beed8106a2da997dc1ed5f4aa8214c6f
END-of-xine/files/md5
echo c - xine/patches
mkdir -p xine/patches > /dev/null 2>&1
echo x - xine/patches/patch-aa
sed 's/^X//' >xine/patches/patch-aa << 'END-of-xine/patches/patch-aa'
X--- configure.orig	Sun Oct  1 15:20:17 2000
X+++ configure	Sun Oct  1 15:27:25 2000
X@@ -2225,14 +2225,14 @@
X 
X 
X 
X-echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
X-echo "configure:2230: checking for pthread_create in -lc_r" >&5
X+echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6
X+echo "configure:2230: checking for pthread_create in -pthread" >&5
X ac_lib_var=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
X if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
X   echo $ac_n "(cached) $ac_c" 1>&6
X else
X   ac_save_LIBS="$LIBS"
X-LIBS="-lc_r  $LIBS"
X+LIBS="-pthread  $LIBS"
X cat > conftest.$ac_ext <<EOF
X #line 2238 "configure"
X #include "confdefs.h"
X@@ -2260,7 +2260,8 @@
X fi
X if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
X   echo "$ac_t""yes" 1>&6
X-  THREAD_LIBS="-lc_r"
X+  THREAD_LIBS="-pthread"
X+  CFLAGS="$CFLAGS -D_REENTRANT"
X else
X   echo "$ac_t""no" 1>&6
X echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
X@@ -3581,7 +3582,6 @@
X EOF
X  
X         case "$host_alias" in
X-                i386-*)                         GLOBAL_CFLAGS="$GLOBAL_CFLAGS -march=pentiumpro";;
X                 i486-*)                         GLOBAL_CFLAGS="$GLOBAL_CFLAGS -march=i486";;
X                 i586-*)
X                         GLOBAL_CFLAGS="$GLOBAL_CFLAGS -march=pentium";;
X@@ -3595,7 +3595,7 @@
X *) echo "$host is not currently supported by xine"; exit 1;;
X esac
X 
X-GLOBAL_CFLAGS="$GLOBAL_CFLAGS -Wall -O3 -g -static -funroll-loops -finline-functions"
X+GLOBAL_CFLAGS="$GLOBAL_CFLAGS $CFLAGS -Wall -static -funroll-loops -finline-functions"
X 
X 
X if test x$prefix = xNONE; then
END-of-xine/patches/patch-aa
echo c - xine/pkg
mkdir -p xine/pkg > /dev/null 2>&1
echo x - xine/pkg/DESCR
sed 's/^X//' >xine/pkg/DESCR << 'END-of-xine/pkg/DESCR'
Xxine is a free gpl-licensed video player for unix-like systems.
XWe support mpeg-2 and mpeg-1 system (audio + video multiplexed) streams,
Xeventually mpeg-4/divx and other formats might be added in the future.
X
Xxine plays the video and audio data of mpeg-2 videos and synchronizes
Xthe playback of both. Depending on the properties of the mpeg stream,
Xplayback will need more or less processor power, 100% frame rate
Xhas been seen on a 667 MHz P III system.
X
Xxine tries to be straightforward and effective. ...no bells and
Xwhistles are being developed at this time ;-) first we want to achieve
Xgood playback of video.
X
XWWW: http://xine.sourceforge.net/
X
XRoman Shterenzon <roman@xpert.com>
END-of-xine/pkg/DESCR
echo x - xine/pkg/COMMENT
sed 's/^X//' >xine/pkg/COMMENT << 'END-of-xine/pkg/COMMENT'
XMPEG1 and MPEG2 video player with sound support
END-of-xine/pkg/COMMENT
echo x - xine/pkg/PLIST
sed 's/^X//' >xine/pkg/PLIST << 'END-of-xine/pkg/PLIST'
Xbin/xine
Xlib/xine/plugins/input_file.so
Xlib/xine/plugins/input_file.la
Xshare/xine/skins/default/bg.png
Xshare/xine/skins/default/close.png
Xshare/xine/skins/default/exit.png
Xshare/xine/skins/default/next.png
Xshare/xine/skins/default/play.png
Xshare/xine/skins/default/stop.png
Xshare/xine/skins/default/button.png
Xshare/xine/skins/default/eject.png
Xshare/xine/skins/default/letters.png
Xshare/xine/skins/default/pause.png
Xshare/xine/skins/default/prev.png
Xshare/xine/skins/xine_logo.png
X@dirrm lib/xine/plugins
X@dirrm lib/xine
X@dirrm share/xine/skins/default
X@dirrm share/xine/skins
X@dirrm share/xine
END-of-xine/pkg/PLIST
echo x - xine/Makefile
sed 's/^X//' >xine/Makefile << 'END-of-xine/Makefile'
X# New ports collection makefile for:	xine
X# Date Created:				1 Oct 2000
X# Whom:					Roman Shterenzon <roman@xpert.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xine
XPORTVERSION=	0.2.0
XCATEGORIES=	graphics
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	xine
X
XMAINTAINER=	roman@xpert.com
X
XLIB_DEPENDS=	Imlib.5:${PORTSDIR}/graphics/imlib
X
XUSE_X_PREFIX=	yes
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=-prefix=${X11BASE}
X
Xpost-install:
X	@${ECHO_MSG}
X	@${ECHO_MSG} "Make sure you've enough shared memory, the xine FAQ"
X	@${ECHO_MSG} "advises to have the following sysctl settings:"
X	@${ECHO_MSG} "kern.ipc.shmmax=67108864"
X	@${ECHO_MSG} "kern.ipc.shmall=32768"
X	@${ECHO_MSG}
X
X.include <bsd.port.mk>
END-of-xine/Makefile
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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