freebsd-ports/multimedia/kplayer-kde4/Makefile
Matthias Andree 515db2ed10 Upgrade OpenEXR and ilmbase to 2.2.0.
GCC 4.2 in FreeBSD 8.X/9.X base is now too old to compile OpenEXR, so
GCC-based systems will upgrade to the default ports compiler (GCC 4.7
currently.)

Add two patches to OpenEXR to permit building it in a live system with
the older OpenEXR version installed. Bug report filed to upstream Github
at https://github.com/openexr/openexr/issues/130

Couple OpenEXR more tightly to ilmbase and require its exact .so
version.

Add UPDATING note, and bump PORTREVISION of all dependent ports.

Proto-STAGE hugin-devel, and mark it IGNORE because hugin is newer.

Approved by:	portmgr (implicit for bumping PORTREVISION on unstaged ports)
2014-08-15 20:37:31 +00:00

31 lines
827 B
Makefile

# Created by: Stefan Eßer <se@FreeBSD.org>
# $FreeBSD$
PORTNAME= kplayer
PORTVERSION= 0.7
PORTREVISION= 6
CATEGORIES= multimedia kde
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Movie player based on mplayer
RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer
LATEST_LINK= ${PORTNAME}-kde4
USES= cmake gettext tar:bzip2
USE_QT4= corelib qmake_build moc_build rcc_build uic_build
USE_KDE4= kdehier kdeprefix kdelibs automoc4
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -L${LOCALBASE}/kde4/lib -lsolid
post-patch:
.for lang in da en es it pt sv
${REINPLACE_CMD} -e "s,HTML_INSTALL_DIR},HTML_INSTALL_DIR}/${lang} SUBDIR kplayer,g" \
${WRKSRC}/doc/${lang}/CMakeLists.txt
.endfor
#Fix build with kdelibs>=4.5.0
${REINPLACE_CMD} -e 's,V4.1.2-Based,V4.2-Based,g' \
${WRKSRC}/doc/*/index.docbook
.include <bsd.port.mk>