temp/gnome-software: backport Appstream from Alpine and add our own (MR 1688)
This commit is contained in:
parent
3731ba09ea
commit
85e0b12f0d
2 changed files with 10 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=gnome-software
|
||||
pkgver=9999_git20191031
|
||||
_commit="b915095540fa7ada6778aded0d51a93572762d89"
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
pkgdesc="Software lets you install and update applications and system extensions"
|
||||
url="https://wiki.gnome.org/Apps/Software"
|
||||
arch="all !s390x !mips !mips64"
|
||||
|
@ -16,6 +16,7 @@ subpackages="$pkgname-lang $pkgname-doc $pkgname-dbg $pkgname-static
|
|||
source="https://source.puri.sm/Librem5/gnome-software/-/archive/$_commit/gnome-software-$_commit.tar.gz
|
||||
445.patch
|
||||
install-more-headers.patch
|
||||
org.gnome.software.gschema.override
|
||||
"
|
||||
builddir="$srcdir/$pkgname-$_commit"
|
||||
|
||||
|
@ -45,6 +46,7 @@ build() {
|
|||
-Dvalgrind=false \
|
||||
-Dmalcontent=false \
|
||||
-Dpackagekit=false \
|
||||
-Dexternal_appstream=true \
|
||||
$conf \
|
||||
. output
|
||||
ninja -C output
|
||||
|
@ -56,6 +58,9 @@ check() {
|
|||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" ninja -C output install
|
||||
mkdir -p "$pkgdir"/usr/share/glib-2.0/schemas/
|
||||
sed "s|@CARCH@|$CARCH|g" "$srcdir"/org.gnome.software.gschema.override > \
|
||||
"$pkgdir"/usr/share/glib-2.0/schemas/org.gnome.software.gschema.override
|
||||
}
|
||||
|
||||
flatpak_plugin() {
|
||||
|
@ -69,4 +74,5 @@ flatpak_plugin() {
|
|||
|
||||
sha512sums="12d276f0a30c744c8ff1ee162b75340181a58516389a4ccb1013017c03c5d75eb193f7f79975c02c5de9506c2585a70eb4f67a93410877dcf24e8fb4cbcd006e gnome-software-b915095540fa7ada6778aded0d51a93572762d89.tar.gz
|
||||
2a8746ac0f948022b10fd29bcaf159d428954061d5ae19db86a09733f69901eda61e109ed4b3d3d484d91c182b2967e4b3bc11ce78774885bb9105a752c55c35 445.patch
|
||||
e7de617dbdecaa46fad25d8fe7d7ea5db324aaed73555bbe6814357b4ac3b787269653863679cff4318250dcc7729299b549f41220f441d9033a448af28da9dd install-more-headers.patch"
|
||||
e7de617dbdecaa46fad25d8fe7d7ea5db324aaed73555bbe6814357b4ac3b787269653863679cff4318250dcc7729299b549f41220f441d9033a448af28da9dd install-more-headers.patch
|
||||
711dfa147c587a665c18ff15539984fd38d56580c41ce81ea52a35f875770e6dad1ded6d2cb18af70e6e697ad11f9c94c06916f6bbcfe65900df89a8bf8bd723 org.gnome.software.gschema.override"
|
||||
|
|
2
temp/gnome-software/org.gnome.software.gschema.override
Normal file
2
temp/gnome-software/org.gnome.software.gschema.override
Normal file
|
@ -0,0 +1,2 @@
|
|||
[org.gnome.software]
|
||||
external-appstream-urls=['https://appstream.alpinelinux.org/data/edge/main/Components-main-@CARCH@.xml.gz', 'https://appstream.alpinelinux.org/data/edge/community/Components-community-@CARCH@.xml.gz', 'https://appstream.alpinelinux.org/data/edge/testing/Components-testing-@CARCH@.xml.gz', 'https://mirror.postmarketos.org/appstream/data/master/Components--@CARCH@.xml.gz']
|
Loading…
Reference in a new issue