Add RUN_DEPENDS on multimedia/gstreamer-0.10/plugins-{good,ugly} to make sure that FLAC and MP3 files can be played. Add a patch so that icons will be displayed when musique is used outside a Desktop Environment. ok dcoppa@
41 lines
987 B
Makefile
41 lines
987 B
Makefile
# $OpenBSD: Makefile,v 1.3 2013/05/28 00:12:22 bcallah Exp $
|
|
|
|
COMMENT = graphical music player focused on a clean ui
|
|
DISTNAME = musique-1.2.1
|
|
CATEGORIES = audio
|
|
REVISION = 1
|
|
|
|
HOMEPAGE = http://flavio.tordini.org/musique/
|
|
|
|
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
|
|
|
|
# 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-ugly \
|
|
x11/gtk+2,-guic
|
|
|
|
WRKDIST = ${WRKDIR}/musique
|
|
FAKE_FLAGS = INSTALL_ROOT=${WRKINST}
|
|
NO_TEST = Yes
|
|
|
|
do-configure:
|
|
cd ${WRKDIST} && env -i ${CONFIGURE_ENV} qmake4 PREFIX=${PREFIX}
|
|
|
|
post-configure:
|
|
perl -pi -e "s,/usr/include,${LOCALBASE}/include,g" ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.mk>
|