Update package version to 1.1.1

This commit is contained in:
2025-10-03 11:53:01 +03:00
parent 805158a7de
commit e00f84f192
2 changed files with 36 additions and 22 deletions
+31 -3
View File
@@ -1,9 +1,37 @@
name: appstream
description: Package providing the foundations to build software-center applications
version: 1.1.0
version: 1.1.1
revision: 1
url: https://www.freedesktop.org/wiki/Distributions/AppStream/
license: LGPL2.1-or-later
architecture: any
depends: ["cairo", "curl", "fontconfig", "freetype2", "gcc-libs", "gdk-pixbuf", "glib", "glibc", "libfyaml", "librsvg", "libxml2", "libxmlb", "libyaml", "pango", "zstd"]
make_depends: ["gobject-introspection", "gperf", "itstool", "meson", "python-setuptools", "vala", "xmlto"]
type: source
depends:
- cairo
- curl
- fontconfig
- freetype2
- gcc-libs
- gdk-pixbuf
- glib
- glibc
- libfyaml
- librsvg
- libxml2
- libxmlb
- libyaml
- pango
- zstd
make_depends:
- gobject-introspection
- gperf
- itstool
- meson
- python-setuptools
- vala
- xmlto
downloads:
- url: https://www.freedesktop.org/software/appstream/releases/AppStream-${BPM_PKG_VERSION}.tar.xz
extract_to_bpm_source: true
extract_strip_components: 2
checksum: 3b9d325074ede328eed4746d0c4fbfc3b8f6f4fdbc9c173ed70e40569a79b117
+5 -19
View File
@@ -2,22 +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://www.freedesktop.org/software/appstream/releases/AppStream-${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=2 -C "$BPM_SOURCE"
}
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
mkdir build
cd build
meson setup --prefix=/usr \
--libdir=/usr/lib \
--buildtype=release \
@@ -25,22 +12,21 @@ build() {
-Dvapi=true \
-Dsystemd=false \
-Dstemming=false \
-Dqt=false ..
ninja
-Dqt=false build
meson compile -C 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
ninja test
meson test -C 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
DESTDIR="$BPM_OUTPUT" ninja install
meson install -C build --destdir="$BPM_OUTPUT"
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/appstream/COPYING
}