pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/bmp-flac Initial import of bmp-flac 1.1.3, flac ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1368babc45ac
branches: trunk
changeset: 567784:1368babc45ac
user: kefren <kefren%pkgsrc.org@localhost>
date: Tue Nov 24 16:04:50 2009 +0000
description:
Initial import of bmp-flac 1.1.3, flac plugin for beep-media-player.
Derived from audio/xmms-flac
diffstat:
audio/bmp-flac/DESCR | 1 +
audio/bmp-flac/Makefile | 47 +++++++
audio/bmp-flac/PLIST | 2 +
audio/bmp-flac/distinfo | 8 +
audio/bmp-flac/patches/patch-aa | 248 ++++++++++++++++++++++++++++++++++++++++
audio/bmp-flac/patches/patch-ab | 12 +
audio/bmp-flac/patches/patch-ac | 12 +
7 files changed, 330 insertions(+), 0 deletions(-)
diffs (truncated from 358 to 300 lines):
diff -r 0b476ed4b192 -r 1368babc45ac audio/bmp-flac/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/bmp-flac/DESCR Tue Nov 24 16:04:50 2009 +0000
@@ -0,0 +1,1 @@
+BMP plugin for FLAC compressed audio.
diff -r 0b476ed4b192 -r 1368babc45ac audio/bmp-flac/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/bmp-flac/Makefile Tue Nov 24 16:04:50 2009 +0000
@@ -0,0 +1,47 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/11/24 16:04:50 kefren Exp $
+#
+
+DISTNAME= flac-1.1.3
+PKGNAME= bmp-${DISTNAME}
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=flac/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://flac.sourceforge.net/
+COMMENT= FLAC BMP plugin
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= gmake pkg-config
+GNU_CONFIGURE= yes
+
+USE_LANGUAGES= c c++
+USE_LIBTOOL= yes
+SHLIBTOOL_OVERRIDE= libtool-disable-static
+
+XMMS_WRKSRC= ${WRKSRC}/src/plugin_xmms
+
+SUBST_CLASSES+= bmph
+SUBST_STAGE.bmph= post-configure
+SUBST_MESSAGE.bmph= Fixing xmms headers
+SUBST_FILES.bmph= src/plugin_xmms/*.c
+SUBST_SED.bmph= -e 's,include <xmms/,include <bmp/,g'
+
+BUILD_DIRS= src/libFLAC
+BUILD_DIRS+= src/plugin_common
+BUILD_DIRS+= src/share
+BUILD_DIRS+= src/plugin_xmms
+INSTALL_DIRS= src/plugin_xmms
+
+.include "../../mk/compiler.mk"
+
+# SunPro does not support __inline
+.if !empty(PKGSRC_COMPILER:Msunpro)
+CFLAGS+= -D__inline=inline
+.endif
+
+BUILDLINK_API_DEPENDS.flac+= flac>=1.1.3nb1
+.include "../../audio/flac/buildlink3.mk"
+.include "../../audio/bmp/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 0b476ed4b192 -r 1368babc45ac audio/bmp-flac/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/bmp-flac/PLIST Tue Nov 24 16:04:50 2009 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/11/24 16:04:50 kefren Exp $
+lib/bmp/Input/libxmms-flac.la
diff -r 0b476ed4b192 -r 1368babc45ac audio/bmp-flac/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/bmp-flac/distinfo Tue Nov 24 16:04:50 2009 +0000
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/11/24 16:04:50 kefren Exp $
+
+SHA1 (flac-1.1.3.tar.gz) = e19c92bebe536b69dd14d54de76c1f626b83b295
+RMD160 (flac-1.1.3.tar.gz) = 3bb360940775b6b2a5127accfb12d29c04da1132
+Size (flac-1.1.3.tar.gz) = 1592699 bytes
+SHA1 (patch-aa) = 60a73e6d78b80f79ca26be956f26e3c5beeec8f3
+SHA1 (patch-ab) = e05afb0e0480f12111beb1cc0b6b431abcc3fd82
+SHA1 (patch-ac) = 1fc320bbd8642be716873990facab3a2635fc76c
diff -r 0b476ed4b192 -r 1368babc45ac audio/bmp-flac/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/bmp-flac/patches/patch-aa Tue Nov 24 16:04:50 2009 +0000
@@ -0,0 +1,248 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/11/24 16:04:50 kefren Exp $
+--- configure.orig 2006-11-27 08:41:51.000000000 +0200
++++ configure 2009-11-24 17:40:41.000000000 +0200
+@@ -21246,229 +21246,18 @@
+ if test "x$enable_xmms_plugin" != xfalse ; then
+
+
+-# Check whether --with-xmms-prefix or --without-xmms-prefix was given.
+-if test "${with_xmms_prefix+set}" = set; then
+- withval="$with_xmms_prefix"
+- xmms_config_prefix="$withval"
+-else
+ xmms_config_prefix=""
+-fi;
+
+-# Check whether --with-xmms-exec-prefix or --without-xmms-exec-prefix was given.
+-if test "${with_xmms_exec_prefix+set}" = set; then
+- withval="$with_xmms_exec_prefix"
+- xmms_config_exec_prefix="$withval"
+-else
+ xmms_config_exec_prefix=""
+-fi;
+-
+-if test x$xmms_config_exec_prefix != x; then
+- xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
+- if test x${XMMS_CONFIG+set} != xset; then
+- XMMS_CONFIG=$xmms_config_exec_prefix/bin/xmms-config
+- fi
+-fi
+-
+-if test x$xmms_config_prefix != x; then
+- xmms_config_args="$xmms_config_args --prefix=$xmms_config_prefix"
+- if test x${XMMS_CONFIG+set} != xset; then
+- XMMS_CONFIG=$xmms_config_prefix/bin/xmms-config
+- fi
+-fi
+-
+-# Extract the first word of "xmms-config", so it can be a program name with args.
+-set dummy xmms-config; ac_word=$2
+-echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_path_XMMS_CONFIG+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+- case $XMMS_CONFIG in
+- [\\/]* | ?:[\\/]*)
+- ac_cv_path_XMMS_CONFIG="$XMMS_CONFIG" # Let the user override the test with a path.
+- ;;
+- *)
+- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+- IFS=$as_save_IFS
+- test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
+- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_path_XMMS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+- break 2
+- fi
+-done
+-done
+-
+- test -z "$ac_cv_path_XMMS_CONFIG" && ac_cv_path_XMMS_CONFIG="no"
+- ;;
+-esac
+-fi
+-XMMS_CONFIG=$ac_cv_path_XMMS_CONFIG
+-
+-if test -n "$XMMS_CONFIG"; then
+- echo "$as_me:$LINENO: result: $XMMS_CONFIG" >&5
+-echo "${ECHO_T}$XMMS_CONFIG" >&6
+-else
+- echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+-min_xmms_version=0.9.5.1
+-
+-if test "$XMMS_CONFIG" = "no"; then
+- no_xmms=yes
+-else
+- XMMS_CFLAGS=`$XMMS_CONFIG $xmms_config_args --cflags`
+- XMMS_LIBS=`$XMMS_CONFIG $xmms_config_args --libs`
+- XMMS_VERSION=`$XMMS_CONFIG $xmms_config_args --version`
+- XMMS_DATA_DIR=`$XMMS_CONFIG $xmms_config_args --data-dir`
+- XMMS_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --plugin-dir`
+- XMMS_VISUALIZATION_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args \
+- --visualization-plugin-dir`
+- XMMS_INPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --input-plugin-dir`
+- XMMS_OUTPUT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --output-plugin-dir`
+- XMMS_EFFECT_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --effect-plugin-dir`
+- XMMS_GENERAL_PLUGIN_DIR=`$XMMS_CONFIG $xmms_config_args --general-plugin-dir`
+-
+-
+-
+-# Determine which version number is greater. Prints 2 to stdout if
+-# the second number is greater, 1 if the first number is greater,
+-# 0 if the numbers are equal.
+-
+-# Written 15 December 1999 by Ben Gertzfield <che%debian.org@localhost>
+-# Revised 15 December 1999 by Jim Monty <monty%primenet.com@localhost>
+-
+- for ac_prog in gawk mawk nawk awk
+-do
+- # Extract the first word of "$ac_prog", so it can be a program name with args.
+-set dummy $ac_prog; ac_word=$2
+-echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+-if test "${ac_cv_prog_AWK+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+- if test -n "$AWK"; then
+- ac_cv_prog_AWK="$AWK" # Let the user override the test.
+-else
+-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+- IFS=$as_save_IFS
+- test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
+- if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+- ac_cv_prog_AWK="$ac_prog"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+- break 2
+- fi
+-done
+-done
+-
+-fi
+-fi
+-AWK=$ac_cv_prog_AWK
+-if test -n "$AWK"; then
+- echo "$as_me:$LINENO: result: $AWK" >&5
+-echo "${ECHO_T}$AWK" >&6
+-else
+- echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-fi
+-
+- test -n "$AWK" && break
+-done
+
+- xmms_got_version=` $AWK ' \
+-BEGIN { \
+- print vercmp(ARGV[1], ARGV[2]); \
+-} \
+- \
+-function vercmp(ver1, ver2, ver1arr, ver2arr, \
+- ver1len, ver2len, \
+- ver1int, ver2int, len, i, p) { \
+- \
+- ver1len = split(ver1, ver1arr, /\./); \
+- ver2len = split(ver2, ver2arr, /\./); \
+- \
+- len = ver1len > ver2len ? ver1len : ver2len; \
+- \
+- for (i = 1; i <= len; i++) { \
+- p = 1000 ^ (len - i); \
+- ver1int += ver1arr[i] * p; \
+- ver2int += ver2arr[i] * p; \
+- } \
+- \
+- if (ver1int < ver2int) \
+- return 2; \
+- else if (ver1int > ver2int) \
+- return 1; \
+- else \
+- return 0; \
+-}' $XMMS_VERSION $min_xmms_version`
+-
+- if test $xmms_got_version -eq 2; then # failure
+- no_xmms=version
+- else # success!
+- :
+- fi
+
+-fi
+-
+-echo "$as_me:$LINENO: checking for XMMS - version >= $min_xmms_version" >&5
+-echo $ECHO_N "checking for XMMS - version >= $min_xmms_version... $ECHO_C" >&6
+-
+-if test "x$no_xmms" = x; then
+- echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+- :
+-else
+- echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6
+-
+- if test "$XMMS_CONFIG" = "no" ; then
+- echo "*** The xmms-config script installed by XMMS could not be found."
+- echo "*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in"
+- echo "*** your path, or set the XMMS_CONFIG environment variable to the"
+- echo "*** full path to xmms-config."
+- else
+- if test "$no_xmms" = "version"; then
+- echo "*** An old version of XMMS, $XMMS_VERSION, was found."
+- echo "*** You need a version of XMMS newer than $min_xmms_version."
+- echo "*** The latest version of XMMS is always available from"
+- echo "*** http://www.xmms.org/"
+- echo "***"
+-
+- echo "*** If you have already installed a sufficiently new version, this error"
+- echo "*** probably means that the wrong copy of the xmms-config shell script is"
+- echo "*** being found. The easiest way to fix this is to remove the old version"
+- echo "*** of XMMS, but you can also set the XMMS_CONFIG environment to point to the"
+- echo "*** correct copy of xmms-config. (In this case, you will have to"
+- echo "*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf"
+- echo "*** so that the correct libraries are found at run-time)"
+- fi
+- fi
+- XMMS_CFLAGS=""
+- XMMS_LIBS=""
+- { echo "$as_me:$LINENO: WARNING: *** XMMS >= 0.9.5.1 not installed - XMMS support will not be built" >&5
+-echo "$as_me: WARNING: *** XMMS >= 0.9.5.1 not installed - XMMS support will not be built" >&2;}
+-fi
+-
+-
+-
+-
+-
Home |
Main Index |
Thread Index |
Old Index