4dd12618d0
Changelog: Among other things, this release features gapless MP3 playback, native PulseAudio support, faster startup, and much improved compilations handling.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.24 2010/05/18 21:11:47 gls Exp $
|
|
#
|
|
|
|
DISTNAME= cmus-v2.3.2
|
|
PKGNAME= ${DISTNAME:S/-v/-/}
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cmus/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= ahoka@NetBSD.org
|
|
HOMEPAGE= http://cmus.sourceforge.net/
|
|
COMMENT= cmus is a small, fast and powerful text mode music player
|
|
|
|
CONFLICTS+= cmus-unofficial-[0-9]*
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
CONFIGURE_ARGS+= prefix=${PREFIX}
|
|
CONFIGURE_ARGS+= CONFIG_ALSA=n
|
|
CONFIGURE_ARGS+= mandir=${PREFIX}/${PKGMANDIR}/
|
|
PLIST_VARS+= sunaudio oss
|
|
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.if ${OSS_TYPE} != "none"
|
|
PLIST.oss= yes
|
|
CONFIGURE_ARGS+= CONFIG_OSS=y
|
|
.else
|
|
CONFIGURE_ARGS+= CONFIG_OSS=n
|
|
.endif
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} == "SunOS" || exists(/usr/include/sys/audioio.h)
|
|
CONFIGURE_ARGS+= CONFIG_SUN=y
|
|
PLIST.sunaudio= yes
|
|
.else
|
|
CONFIGURE_ARGS+= CONFIG_SUN=n
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|