aboutsummaryrefslogtreecommitdiff
path: root/graphics/xmms-avi
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xmms-avi')
-rw-r--r--graphics/xmms-avi/Makefile38
-rw-r--r--graphics/xmms-avi/distinfo1
-rw-r--r--graphics/xmms-avi/files/patch-configure12
-rw-r--r--graphics/xmms-avi/pkg-comment1
-rw-r--r--graphics/xmms-avi/pkg-descr5
-rw-r--r--graphics/xmms-avi/pkg-plist1
6 files changed, 58 insertions, 0 deletions
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 <roman@xpert.com>
+#
+# $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 <bsd.port.mk>
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 <roman@xpert.com>
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