aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-20 02:32:42 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-20 02:32:42 +0000
commitf11ccbb44d6c87f3d231b2dd9fd1a5303f70f967 (patch)
tree3c35837b051d26992bf39c36253b0a6de1954261 /multimedia
parentb68b01559f2831905f3b4c32c2d50c793c4f7c9f (diff)
downloadports-f11ccbb44d6c87f3d231b2dd9fd1a5303f70f967.tar.gz
ports-f11ccbb44d6c87f3d231b2dd9fd1a5303f70f967.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xmms-avi/Makefile38
-rw-r--r--multimedia/xmms-avi/distinfo1
-rw-r--r--multimedia/xmms-avi/files/patch-configure12
-rw-r--r--multimedia/xmms-avi/pkg-comment1
-rw-r--r--multimedia/xmms-avi/pkg-descr5
-rw-r--r--multimedia/xmms-avi/pkg-plist1
6 files changed, 58 insertions, 0 deletions
diff --git a/multimedia/xmms-avi/Makefile b/multimedia/xmms-avi/Makefile
new file mode 100644
index 000000000000..ebacbd78c4bc
--- /dev/null
+++ b/multimedia/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/multimedia/xmms-avi/distinfo b/multimedia/xmms-avi/distinfo
new file mode 100644
index 000000000000..8d2256e3c845
--- /dev/null
+++ b/multimedia/xmms-avi/distinfo
@@ -0,0 +1 @@
+MD5 (avi-xmms-1.2.2.tar.gz) = 0532dce534cf6f7ba1d1563547128659
diff --git a/multimedia/xmms-avi/files/patch-configure b/multimedia/xmms-avi/files/patch-configure
new file mode 100644
index 000000000000..722cdcc20d60
--- /dev/null
+++ b/multimedia/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/multimedia/xmms-avi/pkg-comment b/multimedia/xmms-avi/pkg-comment
new file mode 100644
index 000000000000..caa45901bf15
--- /dev/null
+++ b/multimedia/xmms-avi/pkg-comment
@@ -0,0 +1 @@
+An avifile based .avi and .asf file playback plugin for XMMS
diff --git a/multimedia/xmms-avi/pkg-descr b/multimedia/xmms-avi/pkg-descr
new file mode 100644
index 000000000000..9cd998442dde
--- /dev/null
+++ b/multimedia/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/multimedia/xmms-avi/pkg-plist b/multimedia/xmms-avi/pkg-plist
new file mode 100644
index 000000000000..24cad51e2343
--- /dev/null
+++ b/multimedia/xmms-avi/pkg-plist
@@ -0,0 +1 @@
+lib/xmms/Input/libavixmms.so