ajacoutot b76b0b4419 Bring consistency in GStreamer dependencies:
- remove most dependencies on plugins-bad and plugins-ugly; there is no reason
on depend on these because they should only provide support for rare and/or
rarely used codecs
- for standard how-of-the-box support for most modern files, always depend on
plugins-good and plugins-ffmpeg|libav.

gstreamer1 parts from Brad, gstreamer-0.10 parts from me
2015-10-07 05:50:24 +00:00

40 lines
960 B
Makefile

# $OpenBSD: Makefile,v 1.10 2015/10/07 05:50:25 ajacoutot Exp $
COMMENT = graphical music player focused on a clean ui
DISTNAME = musique-1.4
CATEGORIES = audio
REVISION = 2
HOMEPAGE = http://flavio.tordini.org/musique/
# GPLv3
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = http://flavio.tordini.org/files/musique/
WANTLIB += ICE QtDBus QtGui QtNetwork QtSql QtXml SM
WANTLIB += X11 Xext Xi Xinerama Xrender c fontconfig
WANTLIB += freetype m phonon pthread stdc++ tag
MODULES = x11/qt4
LIB_DEPENDS = audio/taglib
RUN_DEPENDS = devel/desktop-file-utils \
multimedia/gstreamer-0.10/plugins-good \
multimedia/gstreamer-0.10/plugins-ffmpeg \
x11/gtk+3,-guic
WRKDIST = ${WRKDIR}/musique
MAKE_FLAGS = CXX="${CXX}"
FAKE_FLAGS = INSTALL_ROOT=${WRKINST}
NO_TEST = Yes
do-configure:
cd ${WRKDIST} && env -i ${CONFIGURE_ENV} qmake4 PREFIX=${PREFIX}
post-configure:
sed -i "s,/usr/include,${LOCALBASE}/include,g" ${WRKSRC}/Makefile
.include <bsd.port.mk>