Detailed explanation: port-lib-depends-check won't complain, because this port have RDEP on kde-runtime, which in turn has itself nepomuk-core as a dependency. But at the build time RDEPs aren't installed, and sooner or later things would break... And this finally happened at naddy@'s.
48 lines
1.3 KiB
Makefile
48 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.2 2014/07/22 18:56:39 zhuk Exp $
|
|
|
|
COMMENT = non-linear video editor for KDE
|
|
VERSION = 0.9.8
|
|
DISTNAME = kdenlive-${VERSION}
|
|
CATEGORIES = multimedia
|
|
REVISION = 0
|
|
|
|
HOMEPAGE = http://www.kdenlive.org/
|
|
MAINTAINER = KDE porting team <openbsd-kde@googlegroups.com>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c m pthread
|
|
WANTLIB += GL GLU ICE SM X11 Xext
|
|
WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork
|
|
WANTLIB += lib/qt4/QtOpenGL lib/qt4/QtScript lib/qt4/QtSvg lib/qt4/QtXml
|
|
WANTLIB += ${KDE4LIB}/kdeui ${KDE4LIB}/kio ${KDE4LIB}/knewstuff3
|
|
WANTLIB += ${KDE4LIB}/knotifyconfig ${KDE4LIB}/krossui
|
|
WANTLIB += ${KDE4LIB}/nepomukcore ${KDE4LIB}/solid
|
|
WANTLIB += mlt mlt++ qjson soprano
|
|
|
|
MASTER_SITES = ${MASTER_SITE_KDE:=stable/kdenlive/${VERSION}/src/}
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
MODULES = x11/kde4 devel/gettext
|
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
misc/shared-mime-info \
|
|
multimedia/mlt,-gpl2 \
|
|
x11/gtk+2,-guic
|
|
|
|
LIB_DEPENDS = devel/qjson \
|
|
multimedia/mlt,-main \
|
|
${MODKDE4_DEP_DIR}/nepomuk-core>=${MODKDE4_DEP_VERSION}
|
|
|
|
CONFIGURE_ARGS = -DCMAKE_DISABLE_FIND_PACKAGE_LibV4L2=Yes
|
|
|
|
# upstream bug, putting all l10n files at the same place
|
|
post-patch:
|
|
cd ${WRKSRC}/po; for lc in */CMakeLists.txt; do \
|
|
l=$${lc%/CMakeLists.txt}; \
|
|
perl -pi -e "s,\(fr ,\($$l ," $$lc; \
|
|
done
|
|
|
|
.include <bsd.port.mk>
|