Rebuild with python 3.14

This commit is contained in:
2026-05-06 16:50:25 +03:00
parent 82766c1f8e
commit 1f49c83a0e
2 changed files with 20 additions and 12 deletions
+19 -2
View File
@@ -1,9 +1,26 @@
name: gexiv2 name: gexiv2
description: GObject wrapper around the Exiv2 photo metadata library description: GObject wrapper around the Exiv2 photo metadata library
version: 0.14.6 version: 0.14.6
revision: 2
url: https://gitlab.gnome.org/GNOME/gexiv2 url: https://gitlab.gnome.org/GNOME/gexiv2
license: GPL2-or-later license: GPL2-or-later
maintainers:
- [email protected]
architecture: any architecture: any
depends: ["exiv2", "gcc-libs", "glib", "glibc"]
make_depends: ["gobject-introspection", "meson", "python-pygobject", "vala"]
type: source 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
+1 -10
View File
@@ -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 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://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 # 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() {
@@ -30,5 +20,6 @@ check() {
package() { package() {
meson install -C build --destdir="$BPM_OUTPUT" meson install -C build --destdir="$BPM_OUTPUT"
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gexiv2/COPYING install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gexiv2/COPYING
} }