mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 04:16:27 -04:00
Add beep-media-player which the renamed XMMS MP3 player ported to GTK+-2.
Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org>
This commit is contained in:
parent
92e6d34517
commit
4b65e292ba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93907
7 changed files with 206 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
SUBDIR += avidemux
|
||||
SUBDIR += avifile
|
||||
SUBDIR += avinfo
|
||||
SUBDIR += beep-media-player
|
||||
SUBDIR += camserv
|
||||
SUBDIR += dtv
|
||||
SUBDIR += dumpmpeg
|
||||
|
|
124
multimedia/beep-media-player/Makefile
Normal file
124
multimedia/beep-media-player/Makefile
Normal file
|
@ -0,0 +1,124 @@
|
|||
# New ports collection makefile for: beep
|
||||
# Date created: Thu Nov 6 19:24:01 CET 2003
|
||||
# Whom: Miguel Mendez <flynn@energyhq.es.eu.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= beep-media-player
|
||||
PORTVERSION= 1.0.0
|
||||
CATEGORIES= multimedia audio
|
||||
MASTER_SITES= http://linux-media.net/beep/downloads/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-pre4-2
|
||||
|
||||
MAINTAINER= flynn@energyhq.es.eu.org
|
||||
COMMENT= GTK2 mp3 player
|
||||
|
||||
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-pre4
|
||||
USE_GNOME= gtk20
|
||||
WANT_GNOME= yes
|
||||
USE_X_PREFIX= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GMAKE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib" \
|
||||
INPUT_PLUGINS="${INPUT_PLUGINS}" \
|
||||
OUTPUT_PLUGINS="${OUTPUT_PLUGINS}" \
|
||||
VISUALIZATION_PLUGINS="${VISUALIZATION_PLUGINS}"
|
||||
MAN1= beep.1
|
||||
|
||||
INPUT_PLUGINS= cdaudio,mpg123
|
||||
OUTPUT_PLUGINS= OSS
|
||||
VISUALIZATION_PLUGINS= blur_scope,sanalyzer
|
||||
|
||||
PLIST_SUB= DATADIR="share"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
|
||||
#.if !defined(WITHOUT_MIKMOD)
|
||||
#LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
|
||||
#INPUT_PLUGINS+= mikmod
|
||||
#PLIST_SUB+= MIKMODPLUGIN:=""
|
||||
#.else
|
||||
CONFIGURE_ARGS+= --disable-mikmod
|
||||
PLIST_SUB+= MIKMODPLUGIN:="@comment "
|
||||
#.endif
|
||||
|
||||
#.if !defined(WITHOUT_VORBIS)
|
||||
#LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
|
||||
#INPUT_PLUGINS+= vorbis
|
||||
#PLIST_SUB+= VORBISPLUGIN:=""
|
||||
#.else
|
||||
CONFIGURE_ARGS+= --disable-vorbis
|
||||
PLIST_SUB+= VORBISPLUGIN:="@comment "
|
||||
#.endif
|
||||
|
||||
.if ${HAVE_GNOME:Mesound}!=""
|
||||
USE_GNOME+= esound
|
||||
OUTPUT_PLUGINS+= esd
|
||||
PLIST_SUB+= ESDPLUGIN:=""
|
||||
.if defined(PKGNAMESUFFIX)
|
||||
PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-esound
|
||||
.else
|
||||
PKGNAMESUFFIX= -esound
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-esd
|
||||
PLIST_SUB+= ESDPLUGIN:="@comment "
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} != "i386"
|
||||
WITHOUT_3DNOW= yes
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
|
||||
CONFIGURE_ARGS+= --enable-3dnow
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_3DNOW) || ${OSVERSION} < 400021
|
||||
post-extract:
|
||||
(cd ${WRKSRC}/Input/mpg123 && ${MV} decode_i586.s decode_i586.S && \
|
||||
cd ${WRKSRC}/Visualization/blur_scope && ${MV} blur_8.s blur_8.S);
|
||||
${REINPLACE_CMD} -e 's:\.s :\.S :g' ${WRKSRC}/Input/mpg123/Makefile.in
|
||||
${REINPLACE_CMD} -e 's:blur_8.s:blur_8.S:g' \
|
||||
${WRKSRC}/Visualization/blur_scope/Makefile.in
|
||||
.endif
|
||||
|
||||
pre-extract:
|
||||
.if !defined(WITHOUT_MIKMOD) || !defined(WITHOUT_VORBIS) || ( !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021 ) || ${HAVE_GNOME:Mesound}!=""
|
||||
@${ECHO_MSG}
|
||||
.if !defined(WITHOUT_MIKMOD)
|
||||
@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_MIKMOD."
|
||||
.endif
|
||||
.if !defined(WITHOUT_VORBIS)
|
||||
@${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS."
|
||||
.endif
|
||||
.if !defined(WITHOUT_3DNOW) && ${OSVERSION} >= 400021
|
||||
@${ECHO_MSG} "You can disable 3DNow! optimized decoding routines by defining WITHOUT_3DNOW."
|
||||
.endif
|
||||
.if ${HAVE_GNOME:Mesound}!=""
|
||||
@${ECHO_MSG} "You can disable support for esound by defining WITHOUT_GNOME=esound."
|
||||
.endif
|
||||
@${ECHO_MSG}
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|\(datadir\)/aclocal|(prefix)/share/aclocal|g'
|
||||
@${REINPLACE_CMD} -e 's|{datadir}/locale|{prefix}/share/locale|g' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's,-pthread,${PTHREAD_LIBS},g' \
|
||||
${WRKSRC}/configure
|
||||
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/share/beep/Skins
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
multimedia/beep-media-player/distinfo
Normal file
1
multimedia/beep-media-player/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (beep-media-player-1.0.0-pre4-2.tar.gz) = dfd65e25725b0b1b37f5cba26e545c88
|
51
multimedia/beep-media-player/files/patch-ltmain.sh
Normal file
51
multimedia/beep-media-player/files/patch-ltmain.sh
Normal file
|
@ -0,0 +1,51 @@
|
|||
--- ltmain.sh.orig Thu May 22 16:42:22 2003
|
||||
+++ ltmain.sh Tue May 27 12:12:52 2003
|
||||
@@ -1072,7 +1072,7 @@
|
||||
esac
|
||||
elif test "X$arg" = "X-lc_r"; then
|
||||
case $host in
|
||||
- *-*-openbsd* | *-*-freebsd*)
|
||||
+ *-*-openbsd* | *-*-freebsd4*)
|
||||
# Do not include libc_r directly, use -pthread flag.
|
||||
continue
|
||||
;;
|
||||
@@ -1082,8 +1082,16 @@
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ compile_command="$compile_command -pthread"
|
||||
+ finalize_command="$finalize_command -pthread"
|
||||
+ compiler_flags="$compiler_flags -pthread"
|
||||
+ continue
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
+ build_old_libs=no
|
||||
continue
|
||||
;;
|
||||
|
||||
@@ -2498,6 +2506,9 @@
|
||||
*-*-openbsd* | *-*-freebsd*)
|
||||
# Do not include libc due to us having libc/libc_r.
|
||||
;;
|
||||
+ *-*-freebsd*)
|
||||
+ # FreeBSD doesn't need this...
|
||||
+ ;;
|
||||
*)
|
||||
# Add libc to deplibs on all other systems if necessary.
|
||||
if test $build_libtool_need_lc = "yes"; then
|
||||
@@ -4325,10 +4336,12 @@
|
||||
fi
|
||||
|
||||
# Install the pseudo-library for information purposes.
|
||||
+ if /usr/bin/false; then
|
||||
name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
|
||||
instname="$dir/$name"i
|
||||
$show "$install_prog $instname $destdir/$name"
|
||||
$run eval "$install_prog $instname $destdir/$name" || exit $?
|
||||
+ fi
|
||||
|
||||
# Maybe install the static library, too.
|
||||
test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
|
5
multimedia/beep-media-player/pkg-descr
Normal file
5
multimedia/beep-media-player/pkg-descr
Normal file
|
@ -0,0 +1,5 @@
|
|||
beep is a media player based on XMMS (http://www.xmms.org).
|
||||
The primary goals of this fork are UI enhancements with latest
|
||||
technology (GTK2, Pango), and usability while maintaining the skinned UI.
|
||||
|
||||
WWW: http://linux-media.net/beep/
|
2
multimedia/beep-media-player/pkg-message
Normal file
2
multimedia/beep-media-player/pkg-message
Normal file
|
@ -0,0 +1,2 @@
|
|||
beep supports Gzipped and uncompressed skins. If you would like to use
|
||||
Zip format skins you will need to ensure archivers/unzip is installed.
|
22
multimedia/beep-media-player/pkg-plist
Normal file
22
multimedia/beep-media-player/pkg-plist
Normal file
|
@ -0,0 +1,22 @@
|
|||
bin/beep-config
|
||||
bin/beep-media-player
|
||||
include/beep/beepctrl.h
|
||||
include/beep/configfile.h
|
||||
include/beep/dirbrowser.h
|
||||
include/beep/formatter.h
|
||||
include/beep/fullscreen.h
|
||||
include/beep/plugin.h
|
||||
include/beep/titlestring.h
|
||||
include/beep/util.h
|
||||
lib/libbeep.a
|
||||
lib/libbeep.so
|
||||
lib/libbeep.so.1
|
||||
lib/beep/Input/libcdaudio.so
|
||||
lib/beep/Input/libmpg123.so
|
||||
lib/beep/Output/libOSS.so
|
||||
%%ESDPLUGIN%%lib/beep/Output/libesdout.so
|
||||
share/aclocal/beep.m4
|
||||
@dirrm lib/beep/Output
|
||||
@dirrm lib/beep/Input
|
||||
@dirrm lib/beep
|
||||
@dirrm include/beep
|
Loading…
Add table
Reference in a new issue