From 5fd5b30612339fbd3f0ad41f099a6c1aba4ba508 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Tue, 7 Oct 2025 12:15:42 +0300 Subject: [PATCH] Rebuild with libdisplay-info 0.3.0 --- pkg.info | 26 ++++++++++++++++++++++++-- source.sh | 9 ++------- 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/pkg.info b/pkg.info index 7a33c75..c1f93e1 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,31 @@ name: xfce4-panel description: Official panel for the Xfce Desktop Environment version: 4.20.5 +revision: 2 url: https://docs.xfce.org/xfce/xfce4-panel/start license: LGPL2.1-only architecture: any -depends: ["desktop-file-utils","exo","garcon","gtk-layer-shell","hicolor-icon-theme","libdbusmenu","libwnck","libxfce4ui","libxfce4windowing","xfconf"] -make_depends: ["glib","gobject-introspection","gtk-doc","vala","xfce4-dev-tools"] type: source +depends: + - desktop-file-utils + - exo + - garcon + - gtk-layer-shell + - hicolor-icon-theme + - libdbusmenu + - libdisplay-info + - libwnck + - libxfce4ui + - libxfce4windowing + - xfconf +make_depends: + - glib + - gobject-introspection + - gtk-doc + - vala + - xfce4-dev-tools +downloads: + - url: https://gitlab.xfce.org/xfce/xfce4-panel/-/archive/xfce4-panel-${BPM_PKG_VERSION}/xfce4-panel-xfce4-panel-${BPM_PKG_VERSION}.tar.gz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: f7a83b47b8a027276bec89b6b52c1f000d7b9d43273e2bcd13760bc63222d588 diff --git a/source.sh b/source.sh index 910f6c3..7990e59 100644 --- a/source.sh +++ b/source.sh @@ -2,15 +2,9 @@ # 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 -DOWNLOAD="https://gitlab.xfce.org/xfce/xfce4-panel/-/archive/xfce4-panel-${BPM_PKG_VERSION}/xfce4-panel-xfce4-panel-${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 +# This function is used for putting downloaded files to the correct location or applying patches prepare() { - wget "$DOWNLOAD" - tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" - cd "$BPM_SOURCE" NOCONFIGURE=1 ./autogen.sh } @@ -27,6 +21,7 @@ build() { package() { make DESTDIR="$BPM_OUTPUT" install + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/xfce4-panel/COPYING install -Dm644 "$BPM_SOURCE"/COPYING.LIB "$BPM_OUTPUT"/usr/share/licenses/xfce4-panel/COPYING.LIB }