515db2ed10
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)
74 lines
2.6 KiB
Makefile
74 lines
2.6 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= kde-runtime
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
PORTREVISION= 1
|
|
CATEGORIES= x11 kde
|
|
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
|
|
DIST_SUBDIR= KDE/${PORTVERSION}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Runtime components for KDE Plasma Desktop
|
|
|
|
LIB_DEPENDS= libIlmImf.so:${PORTSDIR}/graphics/OpenEXR \
|
|
libjpeg.so:${PORTSDIR}/graphics/jpeg \
|
|
libexiv2.so:${PORTSDIR}/graphics/exiv2 \
|
|
libwebp.so:${PORTSDIR}/graphics/webp \
|
|
libslp.so:${PORTSDIR}/net/openslp \
|
|
libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient \
|
|
libssh.so:${PORTSDIR}/security/libssh \
|
|
libqzeitgeist.so:${PORTSDIR}/sysutils/qzeitgeist
|
|
# Explicitly depend on libssh to avoid interference with ssh.4 from
|
|
# compat7x.
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libssh.so:${PORTSDIR}/security/libssh
|
|
RUN_DEPENDS= cagibid:${PORTSDIR}/net/cagibi
|
|
|
|
USE_KDE4= kactivities kdehier kdelibs kdeprefix oxygen \
|
|
attica automoc4 pimlibs strigi nepomuk-core
|
|
USES= cmake:outsource gettext gmake shared-mime-info shebangfix tar:xz
|
|
USE_QT4= corelib dbus declarative designer_build gui phonon \
|
|
network qtestlib script svg webkit xml \
|
|
moc_build qmake_build rcc_build uic_build
|
|
USE_XORG= x11 xcursor
|
|
USE_LDCONFIG= yes
|
|
MAKE_ENV= XDG_CONFIG_HOME=/dev/null
|
|
SHEBANG_FILES= khelpcenter/searchhandlers/*.pl \
|
|
khelpcenter/searchhandlers/*.pl.cmake \
|
|
kioslave/info/kde-info2html
|
|
|
|
OPTIONS_DEFINE= NEPOMUK PULSEAUDIO ZEITGEIST
|
|
|
|
NEPOMUK_DESC= Nepomuk semantic desktop via Virtuoso
|
|
NEPOMUK_RUN_DEPENDS= virtuoso-t:${PORTSDIR}/databases/virtuoso
|
|
|
|
PULSEAUDIO_DESC=Audio configuration via PulseAudio
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:${PORTSDIR}/audio/pulseaudio \
|
|
libcanberra.so:${PORTSDIR}/audio/libcanberra
|
|
PULSEAUDIO_USE= GNOME=glib20
|
|
PULSEAUDIO_CMAKE_OFF= -DWITH_PulseAudio:BOOL=OFF
|
|
|
|
ZEITGEIST_DESC= Event logging via Zeitgeist
|
|
ZEITGEIST_RUN_DEPENDS= zeitgeist-daemon:${PORTSDIR}/sysutils/zeitgeist
|
|
|
|
# Explicitly disable ALSA, see for details:
|
|
# http://mail.kde.org/pipermail/kde-freebsd/2010-March/008015.html
|
|
CMAKE_ARGS+= -DWITH_ALSA:BOOL=OFF
|
|
|
|
post-extract:
|
|
# Don't install share/icons/hicolor/index.theme to avoid conflcit with
|
|
# hicolor-icon-theme port
|
|
${REINPLACE_CMD} -e '/add_subdirectory.*hicolor/d' \
|
|
${PATCH_WRKSRC}/pics/CMakeLists.txt
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
|
|
${PATCH_WRKSRC}/khelpcenter/infotree.cpp \
|
|
${PATCH_WRKSRC}/kioslave/info/kde-info2html.conf \
|
|
${PATCH_WRKSRC}/kioslave/man/kio_man.cpp \
|
|
${PATCH_WRKSRC}/kioslave/man/man2html.cpp \
|
|
${PATCH_WRKSRC}/cmake/modules/FindCLucene.cmake
|
|
${REINPLACE_CMD} -e '/update_xdg_mimetypes/ d' \
|
|
${PATCH_WRKSRC}/kimgio/CMakeLists.txt \
|
|
${PATCH_WRKSRC}/kioslave/network/mimetypes/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|