Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2001 22:59:59 +0200 (IST)
From:      roman@xpert.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24939: [NEW PORT] graphics/xmms-avi - .avi and .asf (avifile based) plugin for xmms
Message-ID:  <200102072059.f17KxxF63874@alchemy.oven.org>

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

>Number:         24939
>Category:       ports
>Synopsis:       [NEW PORT] graphics/xmms-avi - .avi and .asf (avifile based) plugin for xmms
>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:   Wed Feb 07 13:10:02 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Roman Shterenzon
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:


>Description:

It's really, really nice :)
I also sent a patch which allows building avifile without QT to avifile
maintainer.

>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:
#
#	xmms-avi
#	xmms-avi/pkg-plist
#	xmms-avi/pkg-descr
#	xmms-avi/pkg-comment
#	xmms-avi/Makefile
#	xmms-avi/files
#	xmms-avi/files/patch-aa
#	xmms-avi/files/patch-ab
#	xmms-avi/distinfo
#
echo c - xmms-avi
mkdir -p xmms-avi > /dev/null 2>&1
echo x - xmms-avi/pkg-plist
sed 's/^X//' >xmms-avi/pkg-plist << 'END-of-xmms-avi/pkg-plist'
Xlib/xmms/Input/libavixmms.so
END-of-xmms-avi/pkg-plist
echo x - xmms-avi/pkg-descr
sed 's/^X//' >xmms-avi/pkg-descr << 'END-of-xmms-avi/pkg-descr'
XAn avifile and SDL based .avi and .asf file playback plugin for XMMS.
X
XWWW: http://www.xmms.org/
X
XRoman Shterenzon <roman@xpert.com>
END-of-xmms-avi/pkg-descr
echo x - xmms-avi/pkg-comment
sed 's/^X//' >xmms-avi/pkg-comment << 'END-of-xmms-avi/pkg-comment'
XAn avifile based .avi and .asf file playback plugin for XMMS
END-of-xmms-avi/pkg-comment
echo x - xmms-avi/Makefile
sed 's/^X//' >xmms-avi/Makefile << 'END-of-xmms-avi/Makefile'
X# Ports collection makefile for:  xmms-avi
X# Date created:			  Feb 6 2000
X# Whom:				  Roman Shterenzon <roman@xpert.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xmms-avi
XPORTVERSION=	1.2.2
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.xmms.org/files/plugins/avi-xmms/ \
X		ftp://ftp.sunet.se/pub/multimedia/xmms/plugins/avi-xmms/ \
X		ftp://ftp.fu-berlin.de/unix/sound/xmms/plugins/avi-xmms/
XDISTNAME=	avi-xmms-${PORTVERSION}
X
XMAINTAINER=	roman@xpert.com
X
XBUILD_DEPENDS=	xmms-config:${PORTSDIR}/audio/xmms
XLIB_DEPENDS=	aviplay.0:${PORTSDIR}/graphics/avifile
XRUN_DEPENDS=	xmms:${PORTSDIR}/audio/xmms
X
XSDL_CONFIG?=    ${LOCALBASE}/bin/sdl11-config
X
XONLY_FOR_ARCHS=	i386
XUSE_X_PREFIX=	yes
XUSE_GTK=	yes
XUSE_LIBTOOL=	yes
XCONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
X
Xpre-patch:
X	@${PERL} -pi -e "s|lc_r|pthread|g" ${WRKSRC}/configure
X
X# This is to avoid libtool running ldconfig -m ${X11BASE}/lib/xmms/Input
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/libavixmms.so ${PREFIX}/lib/xmms/Input
X
X.include <bsd.port.mk>
END-of-xmms-avi/Makefile
echo c - xmms-avi/files
mkdir -p xmms-avi/files > /dev/null 2>&1
echo x - xmms-avi/files/patch-aa
sed 's/^X//' >xmms-avi/files/patch-aa << 'END-of-xmms-avi/files/patch-aa'
X--- configure.orig	Wed Feb  7 22:07:08 2001
X+++ configure	Wed Feb  7 22:08:06 2001
X@@ -2192,7 +2192,8 @@
X     no_sdl=yes
X   else
X     SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
X-    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
X+# Having Xxf86vm and friends makes libtool unhappy and unable to create .so
X+    SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs | sed 's/-lXxf86vm -lXxf86dga -lXv//'`
X 
X     sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
X            sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
END-of-xmms-avi/files/patch-aa
echo x - xmms-avi/files/patch-ab
sed 's/^X//' >xmms-avi/files/patch-ab << 'END-of-xmms-avi/files/patch-ab'
X--- src/ctrackbar.cpp.orig	Wed Feb  7 16:25:26 2001
X+++ src/ctrackbar.cpp	Wed Feb  7 16:25:33 2001
X@@ -1,5 +1,5 @@
X #include <stdio.h>
X-#include <SDL/SDL.h>
X+#include <SDL11/SDL.h>
X #include "bmpdata.cpp"
X #include "ctrackbar.h"
END-of-xmms-avi/files/patch-ab
echo x - xmms-avi/distinfo
sed 's/^X//' >xmms-avi/distinfo << 'END-of-xmms-avi/distinfo'
XMD5 (avi-xmms-1.2.2.tar.gz) = 0532dce534cf6f7ba1d1563547128659
END-of-xmms-avi/distinfo
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?200102072059.f17KxxF63874>