47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $OpenBSD: Makefile,v 1.25 2018/10/19 22:09:05 naddy Exp $
|
|
|
|
COMMENT = multimedia layer for Qt4/KDE4
|
|
CATEGORIES = multimedia devel
|
|
VERSION = 4.10.1
|
|
DISTNAME = phonon-${VERSION}
|
|
HOMEPAGE = https://phonon.kde.org/
|
|
|
|
# The phonon_s* are for KDE4-only, renamed to avoid clashing with Qt4's one
|
|
# XXX major should be tweaked on any update, to unbreak
|
|
# IMPORTED_LINK_INTERFACE_LIBRARIES CMake feature.
|
|
SHARED_LIBS = phonon_s 3.0
|
|
SHARED_LIBS += phonon_sexperimental 2.0
|
|
|
|
MAINTAINER = KDE porting team <openbsd-kde@googlegroups.com>
|
|
|
|
# LGPL v2.1
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} QtDBus QtGui m pulse pulse-mainloop-glib
|
|
|
|
MASTER_SITES = ${MASTER_SITE_KDE:=stable/phonon/${VERSION}/}
|
|
EXTRACT_SUFX = .tar.xz
|
|
|
|
LIB_DEPENDS = audio/pulseaudio
|
|
|
|
MODULES = x11/kde4
|
|
MODKDE4_USE =
|
|
MODKDE4_LIB_LINKS = Yes
|
|
PHONON_INCLUDE_DIR = ${MODKDE4_INCLUDE_DIR}
|
|
|
|
# Not sure if it's needed at all but doesn't hurt either for now.
|
|
CONFIGURE_ARGS = -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT:Bool=Yes
|
|
|
|
# Clashes with the one provided by Qt itself.
|
|
CONFIGURE_ARGS += -DPHONON_BUILD_DESIGNER_PLUGIN:Bool=No \
|
|
-DPHONON_INSTALL_QT_COMPAT_HEADERS=No
|
|
|
|
CONFIGURE_ARGS += -DBACKEND_INSTALL_DIR="${PREFIX}/lib/kde4/plugins/phonon_backend" \
|
|
-DINCLUDE_INSTALL_DIR=${PHONON_INCLUDE_DIR} \
|
|
|
|
NO_TEST = Yes
|
|
|
|
SUBST_VARS = PHONON_INCLUDE_DIR
|
|
|
|
.include <bsd.port.mk>
|