diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-06-14 17:20:12 +0000 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-06-14 17:20:12 +0000 |
commit | df44940deec0dff225455a468ad47b38cfd34a94 (patch) | |
tree | d30234cdb2dff57f66892c264b4d5fad91f59721 /audio/xmms-eq | |
parent | bde077b72468bf5ceb8daec3f6a156c8fd0852db (diff) | |
download | FreeBSD-ports-df44940deec0dff225455a468ad47b38cfd34a94.zip FreeBSD-ports-df44940deec0dff225455a468ad47b38cfd34a94.tar.gz |
Add xmms-eq.
EQ is a realtime graphical equalizer plugin for XMMS.
WWW: http://equ.sourceforge.net/
PR: ports/82211
Submitted by: Alejandro Pulver <alejandro@varnet.biz>
Diffstat (limited to 'audio/xmms-eq')
-rw-r--r-- | audio/xmms-eq/Makefile | 50 | ||||
-rw-r--r-- | audio/xmms-eq/distinfo | 2 | ||||
-rw-r--r-- | audio/xmms-eq/files/patch-configure | 53 | ||||
-rw-r--r-- | audio/xmms-eq/pkg-descr | 6 | ||||
-rw-r--r-- | audio/xmms-eq/pkg-message | 19 |
5 files changed, 130 insertions, 0 deletions
diff --git a/audio/xmms-eq/Makefile b/audio/xmms-eq/Makefile new file mode 100644 index 0000000..a2f2c82 --- /dev/null +++ b/audio/xmms-eq/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: xmms-eq +# Date created: 13 Jun 2005 +# Whom: Alejandro Pulver <alejandro@varnet.biz> +# +# $FreeBSD$ +# + +PORTNAME= eq +PORTVERSION= 0.6 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= equ +PKGNAMEPREFIX= xmms- +DISTNAME= ${PORTNAME}-xmms-${PORTVERSION} + +MAINTAINER= alejandro@varnet.biz +COMMENT= A realtime graphical equalizer plugin for XMMS + +BUILD_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms +RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms + +USE_BZIP2= yes +USE_REINPLACE= yes +USE_X_PREFIX= yes +USE_GNOME= gtk12 +USE_LIBTOOL_VER=15 + +PLIST_FILES= lib/xmms/Effect/libeq.so + +OPTIONS= OPTIMIZED_CFLAGS "use optimized C flags" on \ + EXT_INSTRUCTIONS "use MMX/SSE/SSE2 instructions if available" on + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_EXT_INSTRUCTIONS) || defined(PACKAGE_BUILDING) +CONFIGURE_ARGS+= --disable-autodetect +.endif + +.if defined(WITHOUT_OPTIMIZED_CFLAGS) +post-patch: + @${REINPLACE_CMD} -e 's|-O3||g; s|-fomit-frame-pointer||g; \ + s|-finline-functions||g; s|-ffast-math||g' ${WRKSRC}/configure +.endif + +post-install: + @${ECHO_CMD} + @${CAT} ${PKGMESSAGE} + @${ECHO_CMD} + +.include <bsd.port.post.mk> diff --git a/audio/xmms-eq/distinfo b/audio/xmms-eq/distinfo new file mode 100644 index 0000000..3d7d100 --- /dev/null +++ b/audio/xmms-eq/distinfo @@ -0,0 +1,2 @@ +MD5 (eq-xmms-0.6.tar.bz2) = 9176ecf7a4d3e7016ce662c207844ec8 +SIZE (eq-xmms-0.6.tar.bz2) = 421407 diff --git a/audio/xmms-eq/files/patch-configure b/audio/xmms-eq/files/patch-configure new file mode 100644 index 0000000..5b635f1 --- /dev/null +++ b/audio/xmms-eq/files/patch-configure @@ -0,0 +1,53 @@ +--- configure.orig Sun May 16 03:59:17 2004 ++++ configure Tue Jun 14 18:53:43 2005 +@@ -9690,9 +9690,9 @@ + + have_solaris=no + arch_type=ix86 +-SSE_RES=`cat /proc/cpuinfo|grep sse` +-SSE2_RES=`cat /proc/cpuinfo|grep sse2` +-MMX_RES=`cat /proc/cpuinfo|grep mmx` ++SSE_RES=`grep 'Features=.*[<,]SSE[>,]' /var/run/dmesg.boot` ++SSE2_RES=`grep 'Features=.*[<,]SSE2[>,]' /var/run/dmesg.boot` ++MMX_RES=`grep 'Features=.*[<,]MMX[>,]' /var/run/dmesg.boot` + ARCH_DEFINES="" + + if test "x$mmx" = xyes; then +@@ -9708,27 +9708,6 @@ + if test "x$debug" = xno; then + case "$host" in + i386-*-* | i86pc-*-*) +- ;; +- i486-*-*) +- ARCH_DEFINES="-march=i486" +- ;; +- i586-*-*) +- ARCH_DEFINES="-march=i586" +- if test "x$benchmark" = xyes; then +- XF_CFLAGS="$XF_CFLAGS -DBENCHMARK" +- fi +- if test "x$autodetect" = xyes; then +- if test "x$MMX_RES" != x; then +- mmx=yes +- fi +- fi +- if test "x$mmx" = xyes; then +- autodetect=no +- ARCH_DEFINES="$ARCH_DEFINES -m3dnow -mmmx" +- fi +- ;; +- i686-*-*) +- ARCH_DEFINES="-march=i686" + if test "x$benchmark" = xyes; then + XF_CFLAGS="$XF_CFLAGS -DBENCHMARK" + fi +@@ -9775,6 +9754,9 @@ + ARCH_DEFINES_DEFAULT="-O3" + have_solaris=yes + ;; ++ *) ++ arch_type="unknown" ++ ;; + esac + fi + diff --git a/audio/xmms-eq/pkg-descr b/audio/xmms-eq/pkg-descr new file mode 100644 index 0000000..7b00164 --- /dev/null +++ b/audio/xmms-eq/pkg-descr @@ -0,0 +1,6 @@ +EQ is a realtime graphical equalizer plugin for XMMS. + +WWW: http://equ.sourceforge.net/ + +- Alejandro Pulver +alejandro@varnet.biz diff --git a/audio/xmms-eq/pkg-message b/audio/xmms-eq/pkg-message new file mode 100644 index 0000000..b6cb477 --- /dev/null +++ b/audio/xmms-eq/pkg-message @@ -0,0 +1,19 @@ +XMMS-EQ has been installed. + +***WARNING*** + +This plugin may crash XMMS with the message "Segmentation fault" when enabling +or disabling it from the GUI. + +The temporary solution for this is to edit the XMMS configuration file +directly. It is usually located at "~/.xmms/config". The section that +indicates the effect plugins to load is called "xmms". To enable or disable it +just add or remove the string "libeq.so" to the variable "enabled_eplugins". + +For example (XMMS-EQ is enabled): + +[xmms] + +enabled_eplugins=libeq.so + +***WARNING*** |