mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-21 20:38:45 +00:00
Spin off the XMMS FLAC plugin into its proper port.
PR: 52456 Suggested by: David Yeske <dyeske@yahoo.com>
This commit is contained in:
parent
129ee87c32
commit
cb76c4420f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82693
@ -333,6 +333,7 @@
|
||||
SUBDIR += xmms-crystality
|
||||
SUBDIR += xmms-faad
|
||||
SUBDIR += xmms-fc
|
||||
SUBDIR += xmms-flac
|
||||
SUBDIR += xmms-kde
|
||||
SUBDIR += xmms-ladspa
|
||||
SUBDIR += xmms-liveice
|
||||
|
38
audio/xmms-flac/Makefile
Normal file
38
audio/xmms-flac/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# New ports collection makefile for: xmms-flac
|
||||
# Date created: 2003-06-10
|
||||
# Whom: Christian Weisgerber <naddy@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= xmms-flac
|
||||
PORTVERSION= 1.1.0
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= flac
|
||||
DISTNAME= flac-${PORTVERSION}
|
||||
|
||||
PATCH_SITES= ${MASTER_SITE_DEBIAN}
|
||||
PATCH_SITE_SUBDIR= pool/main/f/flac
|
||||
PATCHFILES= flac_1.1.0-3.diff.gz
|
||||
PATCH_DIST_STRIP= -p1
|
||||
|
||||
MAINTAINER= naddy@FreeBSD.org
|
||||
COMMENT= XMMS input plugin for playing FLAC files
|
||||
|
||||
LIB_DEPENDS= xmms.3:${PORTSDIR}/multimedia/xmms \
|
||||
FLAC.5:${PORTSDIR}/audio/flac
|
||||
|
||||
USE_X_PREFIX= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}" \
|
||||
--with-ogg="${LOCALBASE}" \
|
||||
--with-xmms-prefix="${X11BASE}"
|
||||
|
||||
MAKEFILE= ${FILESDIR}/Makefile
|
||||
|
||||
# "obj" is magic to our make(1)
|
||||
post-configure:
|
||||
@${RM} -rf ${WRKSRC}/obj
|
||||
|
||||
.include <bsd.port.mk>
|
2
audio/xmms-flac/distinfo
Normal file
2
audio/xmms-flac/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (flac-1.1.0.tar.gz) = 19b456a27b5fcf502c76cc33f33e1490
|
||||
MD5 (flac_1.1.0-3.diff.gz) = 28443cf10cbc7fc29ddfa5df48474b06
|
8
audio/xmms-flac/files/Makefile
Normal file
8
audio/xmms-flac/files/Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIRS= src/share src/plugin_common src/plugin_xmms
|
||||
|
||||
all install:
|
||||
@for d in ${SUBDIRS}; do \
|
||||
(cd $$d; ${MAKE} $@); \
|
||||
done
|
40
audio/xmms-flac/files/patch-configure
Normal file
40
audio/xmms-flac/files/patch-configure
Normal file
@ -0,0 +1,40 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- configure.orig Sun Feb 23 01:11:25 2003
|
||||
+++ configure Sun Feb 23 01:11:27 2003
|
||||
@@ -7817,6 +7817,7 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
||||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
@@ -9818,6 +9819,8 @@
|
||||
fi
|
||||
|
||||
|
||||
+# Disable id3lib detection
|
||||
+if false; then
|
||||
|
||||
# Check whether --with-id3lib or --without-id3lib was given.
|
||||
if test "${with_id3lib+set}" = set; then
|
||||
@@ -10006,6 +10009,8 @@
|
||||
|
||||
rm -f conf.id3libtest
|
||||
|
||||
+fi
|
||||
+have_id3lib=no
|
||||
|
||||
|
||||
if test x$have_id3lib = xyes; then
|
||||
@@ -11713,7 +11718,7 @@
|
||||
if test x$debug = xtrue; then
|
||||
OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -g -O0 -DDEBUG"
|
||||
else
|
||||
- OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -O3 -DNDEBUG"
|
||||
+ OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -DNDEBUG"
|
||||
if test x$GCC = xyes; then
|
||||
OUR_CFLAGS_HEAD="$OUR_CFLAGS_HEAD -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__"
|
||||
fi
|
25
audio/xmms-flac/files/patch-src_plugin__xmms_Makefile.in
Normal file
25
audio/xmms-flac/files/patch-src_plugin__xmms_Makefile.in
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/plugin_xmms/Makefile.in.orig Tue Jun 10 00:24:23 2003
|
||||
+++ src/plugin_xmms/Makefile.in Tue Jun 10 00:25:16 2003
|
||||
@@ -173,8 +173,7 @@
|
||||
$(top_builddir)/src/share/grabbag/libgrabbag.la \
|
||||
$(top_builddir)/src/share/gain_analysis/libgain_analysis.la \
|
||||
$(top_builddir)/src/share/utf8/libutf8.la \
|
||||
- $(top_builddir)/src/libFLAC/libFLAC.la \
|
||||
- -L$(top_builddir)/src/libFLAC/.libs \
|
||||
+ -lFLAC \
|
||||
@XMMS_LIBS@ \
|
||||
@ID3LIB_LIBS@
|
||||
|
||||
@@ -189,8 +188,7 @@
|
||||
$(top_builddir)/src/plugin_common/libplugin_common.la \
|
||||
$(top_builddir)/src/share/grabbag/libgrabbag.la \
|
||||
$(top_builddir)/src/share/gain_analysis/libgain_analysis.la \
|
||||
- $(top_builddir)/src/share/utf8/libutf8.la \
|
||||
- $(top_builddir)/src/libFLAC/libFLAC.la
|
||||
+ $(top_builddir)/src/share/utf8/libutf8.la
|
||||
am__objects_1 = charset.lo configure.lo plugin.lo wrap_id3.lo \
|
||||
fileinfo.lo
|
||||
@FLaC__HAS_ID3LIB_TRUE@am_libxmms_flac_la_OBJECTS = $(am__objects_1)
|
5
audio/xmms-flac/pkg-descr
Normal file
5
audio/xmms-flac/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
FLAC stands for Free Lossless Audio Codec.
|
||||
|
||||
This is an XMMS input plugin for FLAC files.
|
||||
|
||||
WWW: http://flac.sourceforge.net/
|
2
audio/xmms-flac/pkg-plist
Normal file
2
audio/xmms-flac/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $FreeBSD$
|
||||
lib/xmms/Input/libxmms-flac.so
|
Loading…
Reference in New Issue
Block a user