32 lines
904 B
Makefile
32 lines
904 B
Makefile
# $OpenBSD: Makefile.inc,v 1.4 2016/05/27 03:44:26 zhuk Exp $
|
|
|
|
CATEGORIES += multimedia
|
|
|
|
# LGPL 2.1
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
FLAVOR ?=
|
|
.if ${FLAVOR:Mqt5}
|
|
MODULES = devel/kf5
|
|
PKGNAME ?= ${DISTNAME:C/-backend/-qt5/}
|
|
FULLPKGNAME ?= ${DISTNAME:C/-backend/-qt5/}
|
|
BACKEND_DIR = lib/qt5/plugins/phonon4qt5_backend
|
|
CONFIGURE_ARGS = -DPhonon_DIR:String=${LOCALBASE}/lib/cmake/phonon4qt5 \
|
|
-DPHONON_BUILD_PHONON4QT5=Yes
|
|
.else
|
|
PKGNAME ?= ${DISTNAME:C/-backend//}
|
|
FULLPKGNAME ?= ${DISTNAME:C/-backend//}
|
|
MODULES = x11/kde4
|
|
MODKDE4_USE =
|
|
BACKEND_DIR = lib/kde4/plugins/phonon_s_backend
|
|
CONFIGURE_ARGS = -DPhonon_DIR:String=${LOCALBASE}/lib/cmake/phonon
|
|
.endif
|
|
|
|
MODULES += multimedia/phonon
|
|
MODPHONON_PLUGIN_DEPS = No
|
|
SUBST_VARS = BACKEND_DIR
|
|
|
|
MAINTAINER ?= KDE porting team <openbsd-kde@googlegroups.com>
|
|
|
|
MASTER_SITES ?= ${MASTER_SITE_KDE:=stable/phonon/${DISTNAME:C/-[0-9].*//}/${VERSION}/src/}
|