Initial commit
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
# Exclude bpm archives
|
||||||
|
*.bpm
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Github repository
|
||||||
|
REPO="lxqt/lxqt-panel"
|
||||||
|
|
||||||
|
# Get tag name using Github Rest API
|
||||||
|
TAG_NAME=$(curl -s -L -H "X-GitHub-Api-Version: 2022-11-28" -H "Authorization: token ${GITHUB_API_TOKEN}" https://api.github.com/repos/"$REPO"/releases/latest | jq -r '.tag_name')
|
||||||
|
|
||||||
|
echo "$TAG_NAME"
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
name: lxqt-panel
|
||||||
|
description: The LXQt desktop panel
|
||||||
|
version: 2.2.2
|
||||||
|
revision: 1
|
||||||
|
url: https://github.com/lxqt/lxqt-panel
|
||||||
|
license: LGPL2.1-or-later
|
||||||
|
architecture: any
|
||||||
|
type: source
|
||||||
|
depends:
|
||||||
|
- layer-shell-qt
|
||||||
|
- libdbusmenu-lxqt
|
||||||
|
- libxcb
|
||||||
|
- libxtst
|
||||||
|
- libqtxdg
|
||||||
|
- lxqt-globalkeys
|
||||||
|
- lxqt-menu-data
|
||||||
|
- solid
|
||||||
|
optional_depends:
|
||||||
|
- alsa-lib
|
||||||
|
- libpulse
|
||||||
|
- libstatgrab
|
||||||
|
- libsysstat
|
||||||
|
- lm-sensors
|
||||||
|
make_depends:
|
||||||
|
- alsa-lib
|
||||||
|
- liblxqt
|
||||||
|
- libpulse
|
||||||
|
- libstatgrab
|
||||||
|
- libsysstat
|
||||||
|
- libxdamage
|
||||||
|
- lm-sensors
|
||||||
|
- lxqt-build-tools
|
||||||
|
downloads:
|
||||||
|
- url: https://github.com/lxqt/lxqt-panel/archive/refs/tags/${BPM_PKG_VERSION}.tar.gz
|
||||||
|
extract_to: ${BPM_SOURCE}
|
||||||
|
extract_strip_components: 1
|
||||||
|
checksum: 114af04c49de56480594b6897bfdd2fcecc5bdc5d621ffd3b5a4f2918d11a9df
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
From fce8cd99a1de0e637e8539c4d8ac68832a40fa6d Mon Sep 17 00:00:00 2001
|
||||||
|
From: Chiitoo <[email protected]>
|
||||||
|
Date: Wed, 8 Oct 2025 19:45:28 +0300
|
||||||
|
Subject: [PATCH] cmake: fix build with Qt 6.10 (#2306)
|
||||||
|
|
||||||
|
The 'Qt6FooPrivate' targets have been split into separate CMake files
|
||||||
|
in Qt 6.9, and require a 'find_package(Qt6FooPrivate)' call starting
|
||||||
|
with Qt 6.10.
|
||||||
|
|
||||||
|
See also: https://bugreports.qt.io/browse/QTBUG-87776
|
||||||
|
---
|
||||||
|
CMakeLists.txt | 5 +++++
|
||||||
|
1 file changed, 5 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||||
|
index 241166ad4..ecb283c82 100644
|
||||||
|
--- a/CMakeLists.txt
|
||||||
|
+++ b/CMakeLists.txt
|
||||||
|
@@ -42,6 +42,11 @@ find_package(lxqt-menu-data ${LXQT_MINIMUM_VERSION} REQUIRED)
|
||||||
|
|
||||||
|
find_package(LayerShellQt REQUIRED)
|
||||||
|
|
||||||
|
+if (Qt6Gui_VERSION VERSION_GREATER_EQUAL "6.10.0")
|
||||||
|
+ find_package(Qt6GuiPrivate REQUIRED)
|
||||||
|
+ find_package(Qt6WaylandClientPrivate REQUIRED)
|
||||||
|
+endif()
|
||||||
|
+
|
||||||
|
# Patch Version
|
||||||
|
set(LXQT_PANEL_PATCH_VERSION 2)
|
||||||
|
set(LXQT_PANEL_VERSION ${LXQT_MAJOR_VERSION}.${LXQT_MINOR_VERSION}.${LXQT_PANEL_PATCH_VERSION})
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
# This is the source.sh script. It is executed by BPM in a temporary directory when compiling a source package
|
||||||
|
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE
|
||||||
|
# BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
|
||||||
|
|
||||||
|
# The prepare function is executed in the root of the temp directory
|
||||||
|
# This function is used for putting downloaded files to the correct location or applying patches
|
||||||
|
prepare() {
|
||||||
|
cd "$BPM_SOURCE"
|
||||||
|
patch -Np1 -i "$BPM_WORKDIR"/qt-6.10.patch
|
||||||
|
}
|
||||||
|
|
||||||
|
# The build function is executed in the source directory
|
||||||
|
# This function is used to compile the source code
|
||||||
|
build() {
|
||||||
|
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
||||||
|
cmake --build build
|
||||||
|
}
|
||||||
|
|
||||||
|
# The package function is executed in the source directory
|
||||||
|
# This function is used to move the compiled files into the output directory
|
||||||
|
package() {
|
||||||
|
DESTDIR="$BPM_OUTPUT" cmake --install build
|
||||||
|
|
||||||
|
# Install package license
|
||||||
|
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/lxqt-panel/LICENSE
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user