Update package version to 1.1.6
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: appstream
|
name: appstream
|
||||||
description: Package providing the foundations to build software-center applications
|
description: Package providing the foundations to build software-center applications
|
||||||
version: 1.1.3
|
version: 1.1.6
|
||||||
revision: 2
|
revision: 1
|
||||||
url: https://www.freedesktop.org/wiki/Distributions/AppStream/
|
url: https://www.freedesktop.org/wiki/Distributions/AppStream/
|
||||||
license: LGPL2.1-or-later
|
license: LGPL2.1-or-later
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -36,10 +36,10 @@ make_depends:
|
|||||||
- vala
|
- vala
|
||||||
- xmlto
|
- xmlto
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://www.freedesktop.org/software/appstream/releases/AppStream-${BPM_PKG_VERSION}.tar.xz
|
- url: https://github.com/ximion/appstream/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
extract_strip_components: 2
|
extract_strip_components: 1
|
||||||
checksum: 2624f967068427edc94f3979edae3571bb077063f5bc231f737776da527bf467
|
checksum: f9b79193d2620474bb48d0cd32abd76e002939fce3daa991a1b60642eecbb67f
|
||||||
split_packages:
|
split_packages:
|
||||||
- name: appstream
|
- name: appstream
|
||||||
- name: appstream-qt
|
- name: appstream-qt
|
||||||
|
|||||||
@@ -5,13 +5,13 @@
|
|||||||
# 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() {
|
||||||
meson setup --prefix=/usr \
|
meson setup build --prefix=/usr \
|
||||||
--libdir=/usr/lib \
|
--libdir=/usr/lib \
|
||||||
-Dapidocs=true \
|
-Dapidocs=true \
|
||||||
-Dvapi=true \
|
-Dvapi=true \
|
||||||
-Dsystemd=false \
|
-Dsystemd=false \
|
||||||
-Dstemming=false \
|
-Dstemming=false \
|
||||||
-Dqt=true build
|
-Dqt=true
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -38,6 +38,9 @@ package_appstream() {
|
|||||||
_pick appstream-qt usr/lib/cmake
|
_pick appstream-qt usr/lib/cmake
|
||||||
_pick appstream-qt usr/lib/libAppStreamQt.*
|
_pick appstream-qt usr/lib/libAppStreamQt.*
|
||||||
|
|
||||||
|
# Install bpm hook
|
||||||
|
install -Dm644 "$BPM_WORKDIR"/update-appstream-cache.bpmhook "$BPM_OUTPUT"/var/lib/bpm/hooks/update-appstream-cache.bpmhook
|
||||||
|
|
||||||
# Install package license
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/appstream/COPYING
|
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/appstream/COPYING
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
trigger_actions: ["install", "upgrade", "remove"]
|
||||||
|
targets:
|
||||||
|
- "usr/share/app-info/*"
|
||||||
|
- "/usr/share/swcatalog/*"
|
||||||
|
run: /usr/bin/appstreamcli refresh-cache --force
|
||||||
Reference in New Issue
Block a user