From 1f49c83a0e0b2c10928079cc8db9c1a1c1375957 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 6 May 2026 16:50:25 +0300 Subject: [PATCH] Rebuild with python 3.14 --- pkg.info | 21 +++++++++++++++++++-- source.sh | 11 +---------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/pkg.info b/pkg.info index a1bd308..09f05f9 100644 --- a/pkg.info +++ b/pkg.info @@ -1,9 +1,26 @@ name: gexiv2 description: GObject wrapper around the Exiv2 photo metadata library version: 0.14.6 +revision: 2 url: https://gitlab.gnome.org/GNOME/gexiv2 license: GPL2-or-later +maintainers: + - enumdev@enumerated.dev architecture: any -depends: ["exiv2", "gcc-libs", "glib", "glibc"] -make_depends: ["gobject-introspection", "meson", "python-pygobject", "vala"] type: source +depends: + - exiv2 + - gcc-libs + - glib + - glibc +make_depends: + - gobject-introspection + - meson + - python3=3.14.* + - python-pygobject + - vala +downloads: + - url: https://download.gnome.org/sources/gexiv2/${BPM_PKG_VERSION%.*}/gexiv2-${BPM_PKG_VERSION}.tar.xz + extract_to: ${BPM_SOURCE} + extract_strip_components: 1 + checksum: 606c28aaae7b1f3ef5c8eabe5e7dffd7c5a1c866d25b7671fb847fe287a72b8b diff --git a/source.sh b/source.sh index e07a733..2c2c23c 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://download.gnome.org/sources/gexiv2/${BPM_PKG_VERSION%.*}/gexiv2-${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() { @@ -30,5 +20,6 @@ check() { package() { meson install -C build --destdir="$BPM_OUTPUT" + # Install package license install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gexiv2/COPYING }