Update package version to 4.20.2

This commit is contained in:
2026-04-04 20:34:54 +03:00
parent dcbcd12b6f
commit e75ed081f0
2 changed files with 27 additions and 21 deletions
+23 -3
View File
@@ -1,9 +1,29 @@
name: xfdesktop name: xfdesktop
description: Desktop manager for the Xfce Desktop Environment description: Desktop manager for the Xfce Desktop Environment
version: 4.20.1 version: 4.20.2
revision: 1
url: https://docs.xfce.org/xfce/xfdesktop/start url: https://docs.xfce.org/xfce/xfdesktop/start
license: GPL2-or-later license: GPL2-or-later
maintainers:
- [email protected]
architecture: any architecture: any
depends: ["exo","garcon","gtk-layer-shell","hicolor-icon-theme","libwnck","libxfce4ui","libxfce4windowing","libyaml","thunar"]
make_depends: ["glib","meson","wayland-protocols"]
type: source type: source
depends:
- exo
- garcon
- gtk-layer-shell
- hicolor-icon-theme
- libwnck
- libxfce4ui
- libxfce4windowing
- libyaml
- thunar
make_depends:
- glib
- meson
- wayland-protocols
downloads:
- url: https://gitlab.xfce.org/xfce/xfdesktop/-/archive/xfdesktop-${BPM_PKG_VERSION}/xfdesktop-xfdesktop-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: b435904ec22dbd69c7d8f977873c7df7cf1c3b7c858d014631035f148d6cfed5
+4 -18
View File
@@ -2,32 +2,18 @@
# BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # 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 # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT
DOWNLOAD="https://gitlab.xfce.org/xfce/xfdesktop/-/archive/xfdesktop-${BPM_PKG_VERSION}/xfdesktop-xfdesktop-${BPM_PKG_VERSION}.tar.gz"
FILENAME="${DOWNLOAD##*/}"
# The prepare function is executed in the root of the temp directory
# This function is used for downloading files and putting them into the correct location
prepare() {
wget "$DOWNLOAD"
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
}
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
mkdir build meson setup build --prefix=/usr
cd build meson compile -C build
meson setup --prefix=/usr
meson compile
} }
# The package function is executed in the source directory # The package function is executed in the source directory
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
cd build meson install -C build --destdir="$BPM_OUTPUT"
meson install --destdir="$BPM_OUTPUT"
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xfdesktop/COPYING install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xfdesktop/COPYING
} }