[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.63

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

CVSweb <webmaster@jp.NetBSD.org>