2012-09-26 10:46:40 +02:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
2011-11-18 19:36:29 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= osdlyrics
|
2012-08-08 13:11:01 +02:00
|
|
|
PORTVERSION= 0.4.3
|
2014-07-28 22:27:42 +02:00
|
|
|
PORTREVISION= 4
|
2011-11-18 19:36:29 +01:00
|
|
|
CATEGORIES= audio deskutils
|
2012-05-31 16:41:06 +02:00
|
|
|
MASTER_SITES= GOOGLE_CODE
|
2011-11-18 19:36:29 +01:00
|
|
|
PROJECTHOST= osd-lyrics
|
|
|
|
|
2015-04-07 15:21:09 +02:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2011-11-18 19:36:29 +01:00
|
|
|
COMMENT= On-screen lyrics display program for various media players
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-12-11 15:35:36 +01:00
|
|
|
LIB_DEPENDS= libnotify.so:${PORTSDIR}/devel/libnotify \
|
|
|
|
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
|
|
|
|
libcurl.so:${PORTSDIR}/ftp/curl
|
2012-06-17 22:29:14 +02:00
|
|
|
|
2013-12-24 17:03:44 +01:00
|
|
|
USES= desktop-file-utils gettext gmake iconv pathfix pkgconfig
|
|
|
|
USE_GNOME= gtk20
|
|
|
|
USE_SQLITE= yes
|
2011-11-18 19:36:29 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-05-31 16:41:06 +02:00
|
|
|
# Cannot enable -Werror yet: Clang does not like the code `printf(_("..."))',
|
|
|
|
# see this bug for details: http://llvm.org/bugs/show_bug.cgi?id=3814
|
|
|
|
#CONFIGURE_ARGS= --with-werror
|
2011-11-18 19:36:29 +01:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README
|
2013-12-24 17:03:44 +01:00
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
2011-11-18 19:36:29 +01:00
|
|
|
|
2012-09-26 10:46:40 +02:00
|
|
|
OPTIONS_DEFINE= DOCS MPD XMMS2 AMAROK
|
2013-12-24 17:03:44 +01:00
|
|
|
MPD_DESC= MPD support
|
|
|
|
XMMS2_DESC= XMMS2 support
|
|
|
|
AMAROK_DESC= Amarok 1.4 support
|
2011-11-18 19:36:29 +01:00
|
|
|
|
2013-12-11 15:35:36 +01:00
|
|
|
MPD_LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd
|
2013-07-26 16:31:26 +02:00
|
|
|
MPD_CONFIGURE_OFF= --disable-mpd
|
2013-12-24 17:03:44 +01:00
|
|
|
|
2013-12-11 15:35:36 +01:00
|
|
|
XMMS2_LIB_DEPENDS= libxmmsclient.so:${PORTSDIR}/audio/xmms2
|
2013-07-26 16:31:26 +02:00
|
|
|
XMMS2_CONFIGURE_OFF= --disable-xmms2
|
2013-12-24 17:03:44 +01:00
|
|
|
|
2013-07-26 16:31:26 +02:00
|
|
|
AMAROK_CONFIGURE_ENABLE= amarok1
|
2011-11-18 19:36:29 +01:00
|
|
|
|
2013-07-26 16:31:26 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2011-11-18 19:36:29 +01:00
|
|
|
|
2013-12-24 17:03:44 +01:00
|
|
|
post-patch:
|
|
|
|
.for i in src/Makefile.in src/tests/Makefile.in
|
2014-08-10 21:50:23 +02:00
|
|
|
@${REINPLACE_CMD} -e '/-lstdc++/d' -e '/^CCLD =/s/=.*/= $$(CXX)/' \
|
|
|
|
${WRKSRC}/${i}
|
2013-12-24 17:03:44 +01:00
|
|
|
.endfor
|
|
|
|
.for i in lib/chardetect/Makefile.in
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/-O2/d' ${WRKSRC}/${i}
|
|
|
|
.endfor
|
|
|
|
|
2011-11-18 19:36:29 +01:00
|
|
|
post-install:
|
2013-12-24 17:03:44 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.for i in AUTHORS ChangeLog NEWS README
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
|
|
|
.endfor
|
2011-11-18 19:36:29 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|