pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/phonon-qt5



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Aug 19 18:28:11 UTC 2024

Modified Files:
        pkgsrc/multimedia/phonon-qt5: Makefile

Log Message:
phonon-qt5: fix pkglint, convert to cmake/build.mk


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/multimedia/phonon-qt5/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/phonon-qt5/Makefile
diff -u pkgsrc/multimedia/phonon-qt5/Makefile:1.62 pkgsrc/multimedia/phonon-qt5/Makefile:1.63
--- pkgsrc/multimedia/phonon-qt5/Makefile:1.62  Wed May 29 16:33:47 2024
+++ pkgsrc/multimedia/phonon-qt5/Makefile       Mon Aug 19 18:28:11 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2024/05/29 16:33:47 adam Exp $
+# $NetBSD: Makefile,v 1.63 2024/08/19 18:28:11 wiz Exp $
 
 DISTNAME=      phonon-4.11.1
 PKGNAME=       ${DISTNAME:S/-/-qt5-/}
@@ -12,13 +12,13 @@ COMMENT=    Multimedia API for KF5
 HOMEPAGE=      https://community.kde.org/Phonon
 LICENSE=       gnu-lgpl-v2.1
 
+TOOL_DEPENDS+= extra-cmake-modules>=5.19.0:../../devel/extra-cmake-modules
+
 USE_TOOLS+=    pkg-config gmake
 USE_LANGUAGES= c c++
-USE_CMAKE=     yes
-CMAKE_ARG_PATH=        ..
-CONFIGURE_DIRS=        _build
-CMAKE_ARGS+=   -DKDE_INSTALL_QTPLUGINDIR=${QTDIR}/plugins
-CMAKE_ARGS+=   -DECM_MKSPECS_INSTALL_DIR=${QTDIR}/mkspecs/modules
+
+CMAKE_CONFIGURE_ARGS+= -DKDE_INSTALL_QTPLUGINDIR=${QTDIR}/plugins
+CMAKE_CONFIGURE_ARGS+= -DECM_MKSPECS_INSTALL_DIR=${QTDIR}/mkspecs/modules
 
 .include "options.mk"
 
@@ -27,12 +27,9 @@ PKGCONFIG_OVERRIDE+=         _build/phonon4qt5.
 
 pre-configure:
        ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/
-       ${MKDIR} ${WRKSRC}/_build
 
-TOOL_DEPENDS+= extra-cmake-modules>=5.19.0:../../devel/extra-cmake-modules
-
-BUILDLINK_ABI_DEPENDS.qt5-qtbase+=     qt5-qtbase>=5.10.1nb2
+.include "../../devel/cmake/build.mk"
+BUILDLINK_API_DEPENDS.qt5-qtbase+=     qt5-qtbase>=5.10.1nb2
 .include "../../x11/qt5-qtbase/buildlink3.mk"
 .include "../../x11/qt5-qttools/buildlink3.mk"
-
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index