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

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

CVSweb <webmaster@jp.NetBSD.org>