# Created by: ijliao
# $FreeBSD$

PORTNAME=	MuSE
PORTVERSION=	0.9.2
PORTREVISION=	14
CATEGORIES=	audio
MASTER_SITES=	http://files.dyne.org/muse/releases/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Multiple Streaming Engine

LICENSE=	GPLv2

LIB_DEPENDS=	vorbis.4:${PORTSDIR}/audio/libvorbis \
		ogg:${PORTSDIR}/audio/libogg

OPTIONS_DEFINE=	X11 LAME SNDFILE DOCS
OPTIONS_DEFAULT=X11

USES=		gettext gmake
NO_STAGE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-debug --disable-lubrify --disable-rpath

CPPFLAGS+=	-I${LOCALBASE}/include -DHAVE_SYS_UIO_H ${PTHREAD_CFLAGS}
LDFLAGS+=	-L${LOCALBASE}/lib -lintl ${PTHREAD_LIBS}

MAN1=		muse.1
PORTDOCS=	AUTHORS ChangeLog NEWS KNOWN-BUGS README TODO USAGE
PLIST_FILES=	bin/muse
.for lang in es it
PLIST_FILES+=	share/locale/${lang}/LC_MESSAGES/muse.mo
.endfor

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MX11}
USE_GNOME+=	gtk20
.else
PKGNAMESUFFIX=	-nox11
CONFIGURE_ARGS+=--without-x --with-rubik
.endif

.if ${PORT_OPTIONS:MLAME}
LIB_DEPENDS+=	mp3lame.0:${PORTSDIR}/audio/lame
.else
CONFIGURE_ENV+=	ac_cv_header_lame_lame_h=no
.endif

.if ${PORT_OPTIONS:MSNDFILE}
LIB_DEPENDS+=	sndfile.1:${PORTSDIR}/audio/libsndfile
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|machine/soundcard.h|sys/soundcard.h|' \
		${WRKSRC}/src/portaudio/pa_unix_oss.c
.if empty(PORT_OPTIONS:MSNDFILE)
	@${REINPLACE_CMD} -e '/sndfile >=/s|$$PKG_CONFIG|${FALSE}|' \
		${WRKSRC}/configure
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
>dependabot/npm_and_yarn/devel/electron4/files/bl-1.2.3</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.3</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron4/files/elliptic-6.5.4</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/ini-1.3.7'>dependabot/npm_and_yarn/devel/electron4/files/ini-1.3.7</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron4/files/lodash-4.17.19</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron4/files/lodash.merge-4.6.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2</option>
<option value='dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2'>dependabot/npm_and_yarn/devel/electron4/files/y18n-3.2.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.4</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8'>dependabot/npm_and_yarn/devel/electron6/files/ini-1.3.8</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2'>dependabot/npm_and_yarn/devel/electron6/files/lodash.merge-4.6.2</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1'>dependabot/npm_and_yarn/devel/electron6/files/node-fetch-2.6.1</option>
<option value='dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron6/files/serve-10.1.2</option>
<option value='gnome-3.22'>gnome-3.22</option>
<option value='gnome-3.24'>gnome-3.24</option>
<option value='gnome-3.26'>gnome-3.26</option>
<option value='gnome-3.28'>gnome-3.28</option>
<option value='gnome-3.32'>gnome-3.32</option>
<option value='gnome-3.36'>gnome-3.36</option>
<option value='gstreamer'>gstreamer</option>
<option value='gstreamer-1.16'>gstreamer-1.16</option>
<option value='gstreamer0.10-removal' selected='selected'>gstreamer0.10-removal</option>
<option value='main'>main</option>
<option value='master'>master</option>
<option value='mate-1.16'>mate-1.16</option>
<option value='mate-1.18'>mate-1.18</option>
<option value='mate-1.20'>mate-1.20</option>
<option value='mate-1.22'>mate-1.22</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/about/?h=gstreamer0.10-removal'>about</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/?h=gstreamer0.10-removal'>summary</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/refs/?h=gstreamer0.10-removal&amp;id=1d08761abde00f15380aef7903bdb074b0fb93ca'>refs</a><a class='active' href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/net-im/skype-devel?h=gstreamer0.10-removal'>log</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/tree/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=1d08761abde00f15380aef7903bdb074b0fb93ca'>tree</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=1d08761abde00f15380aef7903bdb074b0fb93ca'>commit</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/diff/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=1d08761abde00f15380aef7903bdb074b0fb93ca'>diff</a><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/stats/net-im/skype-devel?h=gstreamer0.10-removal'>stats</a></td><td class='form'><form class='right' method='get' action='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/net-im/skype-devel'>
<input type='hidden' name='h' value='gstreamer0.10-removal'/><input type='hidden' name='id' value='1d08761abde00f15380aef7903bdb074b0fb93ca'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/?h=gstreamer0.10-removal&amp;id=1d08761abde00f15380aef7903bdb074b0fb93ca'>root</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/net-im?h=gstreamer0.10-removal&amp;id=1d08761abde00f15380aef7903bdb074b0fb93ca'>net-im</a>/<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=1d08761abde00f15380aef7903bdb074b0fb93ca'>skype-devel</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th></th><th class='left'>Commit message (<a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/log/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=1d08761abde00f15380aef7903bdb074b0fb93ca&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Age</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=6f31719ce94610fc805556fcbdd9f0021a1a143d'>Update to 2.2.0.35</a></td><td>itetcu</td><td><span title='2011-10-15 20:09:33 +0800'>2011-10-15</span></td><td>2</td><td><span class='deletions'>-3</span>/<span class='insertions'>+3</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=240ce5ace3f40f489f0e7dbf2eb53dfaae101bcc'>Fix skype multimedia/linux_v4l2wrapper dependency on 8.</a></td><td>nox</td><td><span title='2011-07-18 00:29:42 +0800'>2011-07-18</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+2</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=603b7c1aad98777cd0621351d5fa3428ba111f86'>Now that the skype ports are conflicting, don't install anything skype-devel.</a></td><td>itetcu</td><td><span title='2011-05-17 15:56:19 +0800'>2011-05-17</span></td><td>2</td><td><span class='deletions'>-4</span>/<span class='insertions'>+5</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=9ed4101fb48fa4c49ae8f719b3c0007ff1812397'>- fix installation</a></td><td>itetcu</td><td><span title='2011-05-13 14:55:11 +0800'>2011-05-13</span></td><td>2</td><td><span class='deletions'>-8</span>/<span class='insertions'>+2</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=8506220dd3422fcb59b118c7ee1eb6c3f3a2e8d4'>- Complete the move from net to net-im</a></td><td>itetcu</td><td><span title='2011-05-13 00:56:02 +0800'>2011-05-13</span></td><td>7</td><td><span class='deletions'>-42</span>/<span class='insertions'>+175</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=33f3ed3f1c3ff900609e298fe5246ec6c3a8917e'>- Get Rid MD5 support</a></td><td>miwi</td><td><span title='2011-03-20 20:54:45 +0800'>2011-03-20</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+0</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=3057a716db389c4942debb5e19bc0bb70e32cabc'>Grab maintainership.</a></td><td>itetcu</td><td><span title='2009-09-15 20:52:08 +0800'>2009-09-15</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+1</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=c42c25623a60a683241757099afc92583d198d21'>Reset beech@FreeBSD.org while he works on restoring his email situation.</a></td><td>linimon</td><td><span title='2009-08-29 00:52:33 +0800'>2009-08-29</span></td><td>1</td><td><span class='deletions'>-1</span>/<span class='insertions'>+1</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/net-im/skype-devel?h=gstreamer0.10-removal&amp;id=5b83e47086e5fa21c5924631137bf55ce8f93987'>Convert ports which use USE_GL=linux to USE_LINUX_APPS+=dri.</a></td><td>bsam</td><td><span title='2009-06-07 23:57:21 +0800'>2009-06-07</span>7.2 \o/.</a></td><td>flz</td><td><span title='2007-05-20 04:36:56 +0800'>2007-05-20</span></td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+1</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/hebrew/kde3-i18n?h=gnome-3.28&amp;id=87432be6bd25eb3480437ba60a5215c0dd638df1'>Update to KDE 3.5.6 / KOffice 1.6.2</a></td><td>lofi</td><td><span title='2007-03-14 03:13:51 +0800'>2007-03-14</span></td><td>2</td><td><span class='deletions'>-3</span>/<span class='insertions'>+5</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/hebrew/kde3-i18n?h=gnome-3.28&amp;id=3828fc39e5d63eefcdca3ff5af0109f10b93f877'>Update to KDE 3.5.5 / KOffice 1.6.1</a></td><td>lofi</td><td><span title='2006-12-20 05:19:54 +0800'>2006-12-20</span></td><td>2</td><td><span class='deletions'>-3</span>/<span class='insertions'>+61</span></td></tr>
<tr><td class='commitgraph'>* </td><td><a href='/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/hebrew/kde3-i18n?h=gnome-3.28&amp;id=9dffa2ed7b6ad215ff0452a549af77ab85b73b7d'>KDE 3.5.4 / KOffice 1.5.2</a></td><td>lofi</td><td><span title='2006-09-13 07:26:52 +0800'>2006-09-13</span>