Update package version to 0.28.8

This commit is contained in:
2026-03-07 19:57:47 +02:00
parent f955c480d0
commit 7e7cfc7aea
2 changed files with 29 additions and 15 deletions
+22 -3
View File
@@ -1,9 +1,28 @@
name: exiv2
description: Cross-platform C++ library and a command line utility to manage image metadata
version: 0.28.7
version: 0.28.8
revision: 1
url: https://exiv2.org/
license: GPL2-or-later
maintainers:
- [email protected]
architecture: any
depends: ["brotli", "curl", "expat", "gcc-libs", "gettext", "glibc", "inih", "zlib"]
make_depends: ["cmake", "googletest", "python3"]
type: source
depends:
- brotli
- curl
- expat
- gcc-libs
- gettext
- glibc
- inih
- zlib
make_depends:
- cmake
- googletest
- python3
downloads:
- url: https://github.com/Exiv2/exiv2/archive/v${BPM_PKG_VERSION}/exiv2-${BPM_PKG_VERSION}.tar.gz
extract_to: ${BPM_SOURCE}
extract_strip_components: 1
checksum: ea51b0609f58a9afa063b60daa1539948b62247721e154f4fff0ad3aec9f9756
+7 -12
View File
@@ -15,33 +15,28 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr \
cmake -B build \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D EXIV2_ENABLE_VIDEO=yes \
-D EXIV2_ENABLE_WEBREADY=yes \
-D EXIV2_ENABLE_CURL=yes \
-D EXIV2_BUILD_SAMPLES=no \
-D CMAKE_SKIP_INSTALL_RPATH=ON ..
make
-D CMAKE_SKIP_INSTALL_RPATH=ON
cmake --build build
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
cd build
make test
ctest --test-dir build
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
cd build
make DESTDIR="$BPM_OUTPUT" install
DESTDIR="$BPM_OUTPUT" cmake --install build
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/exiv2/COPYING
}