pkgsrc-Changes-HG archive

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

pkgsrc: kde: Makefile fragments to support kde packages.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/012865287834
branches:  trunk
changeset: 306129:012865287834
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Apr 11 11:34:57 2018 +0000
description:
kde: Makefile fragments to support kde packages.

diffstat:

 meta-pkgs/kde/Makefile.common |  37 ++++++++++++++++++++++
 meta-pkgs/kde/applications.mk |   8 ++++
 meta-pkgs/kde/kf5.mk          |  71 +++++++++++++++++++++++++++++++++++++++++++
 meta-pkgs/kde/plasma5.mk      |  10 ++++++
 4 files changed, 126 insertions(+), 0 deletions(-)

diffs (142 lines):

diff -r e520b402a28f -r 012865287834 meta-pkgs/kde/Makefile.common
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/kde/Makefile.common     Wed Apr 11 11:34:57 2018 +0000
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile.common,v 1.1 2018/04/11 11:34:57 markd Exp $
+#
+# used by meta-pkgs/kde/applications.mk
+# used by meta-pkgs/kde/kf5.mk
+# used by meta-pkgs/kde/plasma.mk
+
+MAINTAINER?=   markd%NetBSD.org@localhost
+
+BUILD_DEPENDS+= extra-cmake-modules>=5.19.0:../../devel/extra-cmake-modules
+
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++
+CMAKE_ARG_PATH=        ..
+CONFIGURE_DIRS=        _KDE_build
+
+CMAKE_ARGS+=   -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+CMAKE_ARGS+=   -DKDE_INSTALL_LIBEXECDIR=libexec
+CMAKE_ARGS+=   -DKDE_INSTALL_SYSCONFDIR=${PKG_SYSCONFDIR:Q}
+
+CMAKE_ARGS+=   -DKDE_INSTALL_XDG_EX_DIR=${PREFIX}/share/examples/kde-xdg
+CMAKE_ARGS+=   -DKDE_INSTALL_AUTOSTARTEXDIR=${PREFIX}/share/examples/kde-xdg/autostart
+
+pre-configure: mk-kde-dir
+
+mk-kde-dir:
+       ${MKDIR} ${WRKSRC}/_KDE_build
+
+BUILDLINK_ABI_DEPENDS.qt5-qtbase+=     qt5-qtbase>=5.10.1nb2
+
+.include "../../mk/bsd.fast.prefs.mk"
+.if ${OPSYS} == "NetBSD"
+# Work-around bad use-warning check in GNU ld 2.26
+# /usr/lib/librpcsvc.so.1: warning: warning: this program uses xdr_peername(), which is deprecated and buggy.
+# is triggered, even though the current linker output contains
+# no references to it.
+BUILDLINK_TRANSFORM+=  rm:-Wl,--fatal-warnings
+.endif
diff -r e520b402a28f -r 012865287834 meta-pkgs/kde/applications.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/kde/applications.mk     Wed Apr 11 11:34:57 2018 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: applications.mk,v 1.1 2018/04/11 11:34:57 markd Exp $
+
+KAPPSVER?=     17.12.3
+CATEGORIES+=   kde
+MASTER_SITES?= ${MASTER_SITE_KDE:=applications/${KAPPSVER}/src/}
+EXTRACT_SUFX?= .tar.xz
+
+.include "../../meta-pkgs/kde/Makefile.common"
diff -r e520b402a28f -r 012865287834 meta-pkgs/kde/kf5.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/kde/kf5.mk      Wed Apr 11 11:34:57 2018 +0000
@@ -0,0 +1,71 @@
+# $NetBSD: kf5.mk,v 1.1 2018/04/11 11:34:57 markd Exp $
+# used by misc/attica-qt5/Makefile
+# used by sysutils/baloo5/Makefile
+# used by x11/frameworkintegration/Makefile
+# used by x11/kactivities-stats/Makefile
+# used by x11/kactivities5/Makefile
+# used by textproc/kapidox/Makefile
+# used by archivers/karchive/Makefile
+# used by security/kauth/Makefile
+# used by devel/kbookmarks/Makefile
+# used by devel/kcmutils/Makefile
+# used by textproc/kcodecs/Makefile
+# used by textproc/kcompletion/Makefile
+# used by devel/kconfig/Makefile
+# used by x11/kconfigwidgets/Makefile
+# used by devel/kcoreaddons/Makefile
+# used by devel/kcrash/Makefile
+# used by sysutils/kdbusaddons/Makefile
+# used by devel/kdeclarative/Makefile
+# used by x11/kded/Makefile
+# used by x11/kdelibs4support/Makefile
+# used by x11/kdesignerplugin/Makefile
+# used by security/kdesu/Makefile
+# used by www/kdewebkit/Makefile
+# used by net/kdnssd/Makefile
+# used by devel/kdoctools/Makefile
+# used by misc/kemoticons/Makefile
+# used by sysutils/kfilemetadata5/Makefile
+# used by x11/kglobalaccel/Makefile
+# used by x11/kguiaddons/Makefile
+# used by devel/ki18n/Makefile
+# used by graphics/kiconthemes/Makefile
+# used by devel/kidletime/Makefile
+# used by graphics/kimageformats/Makefile
+# used by x11/kinit/Makefile
+# used by devel/kitemmodels/Makefile
+# used by x11/kitemviews/Makefile
+# used by x11/kjobwidgets/Makefile
+# used by net/knewstuff/Makefile
+# used by devel/knotifications/Makefile
+# used by devel/kpackage/Makefile
+# used by devel/kparts/Makefile
+# used by devel/kpeople/Makefile
+# used by graphics/kplotting/Makefile
+# used by devel/kpty/Makefile
+# used by devel/kservice/Makefile
+# used by devel/ktexteditor/Makefile
+# used by x11/ktextwidgets/Makefile
+# used by misc/kunitconversion/Makefile
+# used by security/kwallet/Makefile
+# used by x11/kwidgetaddons/Makefile
+# used by x11/kwindowsystem/Makefile
+# used by x11/kxmlgui/Makefile
+# used by net/kxmlrpcclient/Makefile
+# used by x11/plasma-framework/Makefile
+# used by sysutils/solid/Makefile
+# used by textproc/sonnet/Makefile
+# used by devel/threadweaver/Makefile
+# used by x11/kirigami2/Makefile
+# used by x11/qqc2-desktop-style/Makefile
+# used by graphics/prison/Makefile
+
+KF5VER=                5.44.0
+CATEGORIES+=   kde
+MASTER_SITES=  ${MASTER_SITE_KDE:=frameworks/5.44/}
+EXTRACT_SUFX=  .tar.xz
+
+BUILD_DEPENDS+= extra-cmake-modules>=${KF5VER}:../../devel/extra-cmake-modules
+TOOLS_DEPENDS.cmake= cmake>=3.0:../../devel/cmake
+
+.include "../../meta-pkgs/kde/Makefile.common"
diff -r e520b402a28f -r 012865287834 meta-pkgs/kde/plasma5.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/meta-pkgs/kde/plasma5.mk  Wed Apr 11 11:34:57 2018 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: plasma5.mk,v 1.1 2018/04/11 11:34:57 markd Exp $
+
+PLASMAVER?=    5.12.4
+CATEGORIES+=   kde
+MASTER_SITES=  ${MASTER_SITE_KDE:=plasma/${PLASMAVER}/}
+EXTRACT_SUFX=  .tar.xz
+
+EXTRACT_USING= gtar
+
+.include "../../meta-pkgs/kde/Makefile.common"



Home | Main Index | Thread Index | Old Index