From f11ccbb44d6c87f3d231b2dd9fd1a5303f70f967 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Tue, 20 Mar 2001 02:32:42 +0000 Subject: Add xmms-avi 1.2.2, an avifile based .avi and .asf file playback plugin for XMMS. Very cool! PR: 24939 Submitted by: Roman Shterenzon --- graphics/xmms-avi/Makefile | 38 +++++++++++++++++++++++++++++++++ graphics/xmms-avi/distinfo | 1 + graphics/xmms-avi/files/patch-configure | 12 +++++++++++ graphics/xmms-avi/pkg-comment | 1 + graphics/xmms-avi/pkg-descr | 5 +++++ graphics/xmms-avi/pkg-plist | 1 + 6 files changed, 58 insertions(+) create mode 100644 graphics/xmms-avi/Makefile create mode 100644 graphics/xmms-avi/distinfo create mode 100644 graphics/xmms-avi/files/patch-configure create mode 100644 graphics/xmms-avi/pkg-comment create mode 100644 graphics/xmms-avi/pkg-descr create mode 100644 graphics/xmms-avi/pkg-plist (limited to 'graphics/xmms-avi') diff --git a/graphics/xmms-avi/Makefile b/graphics/xmms-avi/Makefile new file mode 100644 index 000000000000..ebacbd78c4bc --- /dev/null +++ b/graphics/xmms-avi/Makefile @@ -0,0 +1,38 @@ +# Ports collection makefile for: xmms-avi +# Date created: Feb 6 2000 +# Whom: Roman Shterenzon +# +# $FreeBSD$ +# + +PORTNAME= xmms-avi +PORTVERSION= 1.2.2 +CATEGORIES= graphics +MASTER_SITES= http://www.xmms.org/files/plugins/avi-xmms/ \ + ftp://ftp.sunet.se/pub/multimedia/xmms/plugins/avi-xmms/ \ + ftp://ftp.fu-berlin.de/unix/sound/xmms/plugins/avi-xmms/ +DISTNAME= avi-xmms-${PORTVERSION} + +MAINTAINER= roman@xpert.com + +BUILD_DEPENDS= xmms-config:${PORTSDIR}/audio/xmms +LIB_DEPENDS= aviplay.0:${PORTSDIR}/graphics/avifile +RUN_DEPENDS= xmms:${PORTSDIR}/audio/xmms + +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config + +ONLY_FOR_ARCHS= i386 +USE_X_PREFIX= yes +USE_GTK= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" + +pre-patch: + @${PERL} -pi.orig -e "s|SDL/SDL.h|SDL11/SDL.h|g" ${WRKSRC}/src/ctrackbar.cpp + @${PERL} -pi.orig -e "s|lc_r|pthread|g" ${WRKSRC}/configure + +# This is to avoid libtool running ldconfig -m ${X11BASE}/lib/xmms/Input +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/libavixmms.so ${PREFIX}/lib/xmms/Input + +.include diff --git a/graphics/xmms-avi/distinfo b/graphics/xmms-avi/distinfo new file mode 100644 index 000000000000..8d2256e3c845 --- /dev/null +++ b/graphics/xmms-avi/distinfo @@ -0,0 +1 @@ +MD5 (avi-xmms-1.2.2.tar.gz) = 0532dce534cf6f7ba1d1563547128659 diff --git a/graphics/xmms-avi/files/patch-configure b/graphics/xmms-avi/files/patch-configure new file mode 100644 index 000000000000..722cdcc20d60 --- /dev/null +++ b/graphics/xmms-avi/files/patch-configure @@ -0,0 +1,12 @@ +--- configure.orig Wed Feb 7 22:07:08 2001 ++++ configure Wed Feb 7 22:08:06 2001 +@@ -2192,7 +2192,8 @@ + no_sdl=yes + else + SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags` +- SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs` ++# Having Xxf86vm and friends makes libtool unhappy and unable to create .so ++ SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs | sed 's/-lXxf86vm -lXxf86dga -lXv//'` + + sdl_major_version=`$SDL_CONFIG $sdl_args --version | \ + sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'` diff --git a/graphics/xmms-avi/pkg-comment b/graphics/xmms-avi/pkg-comment new file mode 100644 index 000000000000..caa45901bf15 --- /dev/null +++ b/graphics/xmms-avi/pkg-comment @@ -0,0 +1 @@ +An avifile based .avi and .asf file playback plugin for XMMS diff --git a/graphics/xmms-avi/pkg-descr b/graphics/xmms-avi/pkg-descr new file mode 100644 index 000000000000..9cd998442dde --- /dev/null +++ b/graphics/xmms-avi/pkg-descr @@ -0,0 +1,5 @@ +An avifile and SDL based .avi and .asf file playback plugin for XMMS. + +WWW: http://www.xmms.org/ + +Roman Shterenzon diff --git a/graphics/xmms-avi/pkg-plist b/graphics/xmms-avi/pkg-plist new file mode 100644 index 000000000000..24cad51e2343 --- /dev/null +++ b/graphics/xmms-avi/pkg-plist @@ -0,0 +1 @@ +lib/xmms/Input/libavixmms.so -- cgit v1.2.3