pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Add lxqt2-build-tools: start the Qt6 port of LXQt
Module Name: pkgsrc-wip
Committed By: pin <voidpin%protonmail.com@localhost>
Pushed By: pin
Date: Mon May 27 09:13:29 2024 +0200
Changeset: 8f6482b2ff3ee7d02a4d044d81fba9348d63f839
Modified Files:
Makefile
Added Files:
lxqt2-build-tools/DESCR
lxqt2-build-tools/Makefile
lxqt2-build-tools/PLIST
lxqt2-build-tools/distinfo
lxqt2-build-tools/patches/patch-cmake_modules_LXQtCompilerSettings.cmake
Log Message:
Add lxqt2-build-tools: start the Qt6 port of LXQt
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8f6482b2ff3ee7d02a4d044d81fba9348d63f839
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
lxqt2-build-tools/DESCR | 2 ++
lxqt2-build-tools/Makefile | 30 ++++++++++++++++++
lxqt2-build-tools/PLIST | 36 ++++++++++++++++++++++
lxqt2-build-tools/distinfo | 6 ++++
.../patch-cmake_modules_LXQtCompilerSettings.cmake | 19 ++++++++++++
6 files changed, 94 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 73091860b2..36071fec68 100644
--- a/Makefile
+++ b/Makefile
@@ -2162,6 +2162,7 @@ SUBDIR+= lwc
SUBDIR+= lwtools
SUBDIR+= lxdm
SUBDIR+= lxmusic
+SUBDIR+= lxqt2-build-tools
SUBDIR+= lzs-lkm
SUBDIR+= m4ri
SUBDIR+= mac-icon-standard
diff --git a/lxqt2-build-tools/DESCR b/lxqt2-build-tools/DESCR
new file mode 100644
index 0000000000..23dfbbfa43
--- /dev/null
+++ b/lxqt2-build-tools/DESCR
@@ -0,0 +1,2 @@
+This package provides several tools needed to build LXQt itself
+as well as other components maintained by the LXQt project.
diff --git a/lxqt2-build-tools/Makefile b/lxqt2-build-tools/Makefile
new file mode 100644
index 0000000000..d5b94abe86
--- /dev/null
+++ b/lxqt2-build-tools/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.33 2024/04/06 08:05:07 wiz Exp $
+
+DISTNAME= lxqt-build-tools-2.0.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=lxqt/}
+GITHUB_RELEASE= ${PKGVERSION_NOREV}
+EXTRACT_SUFX= .tar.xz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/lxqt/lxqt-build-tools/
+COMMENT= LXQt build tools
+LICENSE= modified-bsd
+
+USE_CMAKE= yes
+USE_TOOLS+= pkg-config perl
+USE_LANGUAGES= c c++ # Needed to satisfy cmake
+
+CONFIGURE_DIRS= build
+CMAKE_ARG_PATH= ..
+
+PKG_SYSCONFSUBDIR= xdg
+CMAKE_ARGS+= -DLXQT_ETC_XDG_DIR=${PKG_SYSCONFDIR}
+
+pre-configure:
+ ${MKDIR} -p ${WRKSRC}/build
+
+BUILDLINK_API_DEPENDS.qt6-qtbase+= qt6-qtbase>=6.6.0
+.include "../../x11/qt6-qtbase/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/lxqt2-build-tools/PLIST b/lxqt2-build-tools/PLIST
new file mode 100644
index 0000000000..7aa2c294fc
--- /dev/null
+++ b/lxqt2-build-tools/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD$
+bin/lxqt2-transupdate
+share/cmake/lxqt2-build-tools/find-modules/FindClazy.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindExif.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindFontconfig.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindGLIB.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindMenuCache.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindUDev.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindXCB.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindXKBCommon.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindXTerm.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindXdgEmail.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindXdgMime.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindXdgOpen.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindXdgScreensaver.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindXdgSettings.cmake
+share/cmake/lxqt2-build-tools/find-modules/FindXdgUserDirs.cmake
+share/cmake/lxqt2-build-tools/lxqt2-build-tools-config-version.cmake
+share/cmake/lxqt2-build-tools/lxqt2-build-tools-config.cmake
+share/cmake/lxqt2-build-tools/modules/ECMFindModuleHelpers.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtAppTranslationLoader.cpp.in
+share/cmake/lxqt2-build-tools/modules/LXQtCompilerSettings.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtConfigVars.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtCreatePkgConfigFile.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtCreatePortableHeaders.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtLibTranslationLoader.cpp.in
+share/cmake/lxqt2-build-tools/modules/LXQtPluginTranslationLoader.cpp.in
+share/cmake/lxqt2-build-tools/modules/LXQtPreventInSourceBuilds.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtQueryQt.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtTranslate.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtTranslateDesktop.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtTranslateDesktopYaml.pl
+share/cmake/lxqt2-build-tools/modules/LXQtTranslateTs.cmake
+share/cmake/lxqt2-build-tools/modules/LXQtTranslationLoader.cmake
+share/cmake/lxqt2-build-tools/modules/Qt6TranslationLoader.cmake
+share/cmake/lxqt2-build-tools/modules/Qt6TranslationLoader.cpp.in
diff --git a/lxqt2-build-tools/distinfo b/lxqt2-build-tools/distinfo
new file mode 100644
index 0000000000..4350816a63
--- /dev/null
+++ b/lxqt2-build-tools/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.12 2023/04/19 04:54:03 gutteridge Exp $
+
+BLAKE2s (lxqt-build-tools-2.0.0.tar.xz) = b76bab070fc5c0a73b5c6c3921ebde262078e3fbcb63f0fe3a4f852b5ee918d2
+SHA512 (lxqt-build-tools-2.0.0.tar.xz) = 4fe92af82d55bda8fc1b6dc44998ed64b031e33a5c19e9206c1822375b8aa8abbf5f5b94d3c5ebe6d5d318f8821664ee308064b7adb9081e08047a4456cc6a66
+Size (lxqt-build-tools-2.0.0.tar.xz) = 26072 bytes
+SHA1 (patch-cmake_modules_LXQtCompilerSettings.cmake) = d9cb17d788cc255c701463ef5c8e6c933da311e7
diff --git a/lxqt2-build-tools/patches/patch-cmake_modules_LXQtCompilerSettings.cmake b/lxqt2-build-tools/patches/patch-cmake_modules_LXQtCompilerSettings.cmake
new file mode 100644
index 0000000000..8078308c58
--- /dev/null
+++ b/lxqt2-build-tools/patches/patch-cmake_modules_LXQtCompilerSettings.cmake
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Avoid -Bsymbolic* on SunOS.
+
+--- cmake/modules/LXQtCompilerSettings.cmake.orig 2024-05-27 05:52:17.311703304 +0000
++++ cmake/modules/LXQtCompilerSettings.cmake
+@@ -164,7 +164,11 @@ if (CMAKE_COMPILER_IS_GNUCXX OR LXQT_COM
+ set(NO_UNDEFINED_FLAGS "-Wl,--no-undefined")
+ # -Bsymbolic-functions: replace dynamic symbols used internally in
+ # shared libs with direct addresses.
+- set(SYMBOLIC_FLAGS "-Wl,-Bsymbolic-functions")
++ if(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS")
++ set(SYMBOLIC_FLAGS "")
++ else()
++ set(SYMBOLIC_FLAGS "-Wl,-Bsymbolic-functions")
++ endif()
+ endif()
+
+ set(CMAKE_SHARED_LINKER_FLAGS
Home |
Main Index |
Thread Index |
Old Index