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

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

CVSweb <webmaster@jp.NetBSD.org>