[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / audio / audacious-plugins

Annotation of pkgsrc/audio/audacious-plugins/Makefile, Revision 1.2

1.2     ! wiz         1: # $NetBSD: Makefile,v 1.1.1.1 2008/10/20 09:32:19 wiz Exp $
1.1       wiz         2: #
                      3:
                      4: DISTNAME=              audacious-plugins-1.5.0
                      5: CATEGORIES=            audio
                      6: MASTER_SITES=          http://distfiles.atheme.org/
                      7: EXTRACT_SUFX=          .tgz
                      8:
                      9: MAINTAINER=            jfranz@bsdprojects.net
                     10: HOMEPAGE=              http://audacious-media-player.org/
                     11: COMMENT=               Plugins for Audacious media player
                     12:
                     13: GNU_CONFIGURE=         yes
                     14: USE_TOOLS+=            gmake intltool pkg-config
                     15: USE_LIBTOOL=           yes
                     16:
                     17: # This should avoid an error like: libstdc++.so.6: Undefined PLT symbol "_Unwind_GetIP" on NetBSD i386 and maybe amd64, with gcc4 at least.
                     18: # This seems to happen when libstdc++ gets linked in with the plug-ins and the code is not compiled with g++.
                     19: # For a similar problem see http://archive.netbsd.se/?ml=netbsd-java&a=2007-08&m=4912662 :
                     20: LDFLAGS.NetBSD+=       -lgcc_s
                     21:
                     22: # From audio/bmp/Makefile:
                     23: # XXX Workaround a crash during shutdown that happens when dlclose(3)ing
                     24: # any open plugin.  libstdc++ gets dynamically linked in when the id3lib
                     25: # library is loaded, and is the one causing problems.  See PR pkg/26846
                     26: # for more information.
                     27: USE_LANGUAGES=         c c++
                     28: LDFLAGS.NetBSD+=       -lstdc++ -lm
                     29:
                     30: # cdaudio plugin complains about missing OSS at runtime
                     31: LDFLAGS+=              ${LIBOSSAUDIO}
                     32:
                     33: # do not use pkgsrc' flac if it is installed
                     34: CFLAGS+=       -I. -I../flacng -Ilibflacng
                     35:
                     36: CONFIGURE_ARGS+=       --disable-amidiplug --disable-evdevplug \
                     37:                        --disable-coreaudio --disable-projectm \
                     38:                        --disable-gnomeshortcuts
                     39:
                     40: .include "../../mk/bsd.prefs.mk"
                     41: .include "options.mk"
                     42:
1.2     ! wiz        43: PLIST_VARS+=   oss sun
        !            44:
1.1       wiz        45: .if ${OPSYS} == "NetBSD"
                     46: RAWPART_cmd=           /sbin/sysctl -n kern.rawpartition | ${TR} 0-9 a-j
                     47: CONFIGURE_ARGS+=       --with-dev-dsp=${DEVOSSSOUND}                   \
                     48:                        --with-cdda-device=/dev/rcd0${RAWPART_cmd:sh}   \
                     49:                        --with-cdda-dir=/cdrom/
1.2     ! wiz        50: PLIST.oss=     yes
        !            51: PLIST.sun=     yes
1.1       wiz        52: .elif ${OPSYS} == "FreeBSD"
1.2     ! wiz        53: PLIST.oss=     yes
1.1       wiz        54: .elif ${OPSYS} == "DragonFly"
1.2     ! wiz        55: PLIST.oss=     yes
1.1       wiz        56: .elif ${OPSYS} == "SunOS"
1.2     ! wiz        57: PLIST.sun=     yes
1.1       wiz        58: #.elif ${OPSYS} == "Linux"
                     59: #.  include    "../../wip/alsa-lib/buildlink3.mk"
                     60: #PKG_SUPPORTED_OPTIONS+= lirc
                     61: #.  if !empty(PKG_OPTIONS:Mlirc)
                     62: #CONFIGURE_ARGS+=      --enable-lirc
                     63: #.    include "../../wip/lirc/buildlink3.mk"
                     64: #.  endif
                     65: .endif
                     66:
                     67: .include "../../audio/audacious/buildlink3.mk"
                     68: .include "../../audio/libcddb/buildlink3.mk"
                     69: .include "../../audio/libmad/buildlink3.mk"
                     70: .include "../../audio/libmpcdec/buildlink3.mk"
                     71: .include "../../audio/libvorbis/buildlink3.mk"
                     72: .include "../../audio/libsndfile/buildlink3.mk"
                     73: .include "../../audio/taglib/buildlink3.mk"
                     74: .include "../../audio/wavpack/buildlink3.mk"
                     75: .include "../../audio/lame/buildlink3.mk"
                     76: .include "../../devel/libbinio/buildlink3.mk"
                     77: .include "../../devel/libmtp/buildlink3.mk"
                     78: .include "../../devel/SDL/buildlink3.mk"
                     79: .include "../../graphics/imlib2/buildlink3.mk"
                     80: .include "../../misc/libcdio/buildlink3.mk"
                     81: .include "../../multimedia/libogg/buildlink3.mk"
                     82: .include "../../net/libmms/buildlink3.mk"
                     83: .include "../../www/curl/buildlink3.mk"
                     84: .include "../../www/neon/buildlink3.mk"
                     85: .include "../../x11/libXcomposite/buildlink3.mk"
                     86: .include "../../mk/oss.buildlink3.mk"
                     87: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>