From 17458fa098c15f4df0153887e1ab2935250de82d Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 2 Oct 2025 15:33:29 +0300 Subject: [PATCH] Update package version to 2.4.126 --- pkg.info | 19 +++++++++++++++---- source.sh | 10 ---------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/pkg.info b/pkg.info index 9f8a1e1..1133b4a 100644 --- a/pkg.info +++ b/pkg.info @@ -1,10 +1,21 @@ name: libdrm description: Userspace interface to kernel DRM services -version: 2.4.125 +version: 2.4.126 +revision: 1 url: https://dri.freedesktop.org/ license: MIT architecture: any -depends: ["glibc","libpciaccess"] -optional_depends: ["cairo"] -make_depends: ["meson","cairo"] type: source +depends: + - glibc + - libpciaccess +optional_depends: + - cairo +make_depends: + - meson + - cairo +downloads: + - url: https://dri.freedesktop.org/libdrm/libdrm-${BPM_PKG_VERSION}.tar.xz + extract_to_bpm_source: true + extract_strip_components: 1 + checksum: 6cab16d4d259b6abc9f485233863454114a3c307eca806679aad3edbe967bf42 diff --git a/source.sh b/source.sh index 68bf1f5..5ae8217 100644 --- a/source.sh +++ b/source.sh @@ -2,16 +2,6 @@ # 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://dri.freedesktop.org/libdrm/libdrm-${BPM_PKG_VERSION}.tar.xz" -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 # This function is used to compile the source code build() {