[arch-commits] Commit in appstream/repos (8 files)
Antonio Rojas
arojas at archlinux.org
Thu Sep 1 06:22:09 UTC 2016
Date: Thursday, September 1, 2016 @ 06:22:09
Author: arojas
Revision: 188201
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
appstream/repos/community-staging-i686/PKGBUILD
(from rev 188200, appstream/trunk/PKGBUILD)
appstream/repos/community-staging-i686/update-appstream-index.hook
(from rev 188200, appstream/trunk/update-appstream-index.hook)
appstream/repos/community-staging-x86_64/PKGBUILD
(from rev 188200, appstream/trunk/PKGBUILD)
appstream/repos/community-staging-x86_64/update-appstream-index.hook
(from rev 188200, appstream/trunk/update-appstream-index.hook)
Deleted:
appstream/repos/community-staging-i686/PKGBUILD
appstream/repos/community-staging-i686/update-appstream-index.hook
appstream/repos/community-staging-x86_64/PKGBUILD
appstream/repos/community-staging-x86_64/update-appstream-index.hook
------------------------------------------------------+
/PKGBUILD | 114 +++++++++++++++++
/update-appstream-index.hook | 22 +++
community-staging-i686/PKGBUILD | 51 -------
community-staging-i686/update-appstream-index.hook | 11 -
community-staging-x86_64/PKGBUILD | 51 -------
community-staging-x86_64/update-appstream-index.hook | 11 -
6 files changed, 136 insertions(+), 124 deletions(-)
Deleted: community-staging-i686/PKGBUILD
===================================================================
--- community-staging-i686/PKGBUILD 2016-09-01 06:21:45 UTC (rev 188200)
+++ community-staging-i686/PKGBUILD 2016-09-01 06:22:09 UTC (rev 188201)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de>
-
-pkgbase=appstream
-pkgname=(appstream appstream-qt)
-pkgver=0.10.0
-pkgrel=1
-pkgdesc="Provides a standard for creating app stores across distributions"
-arch=(i686 x86_64)
-url="http://distributions.freedesktop.org/wiki/AppStream"
-license=(GPL)
-depends=(xapian-core polkit libyaml libxml2 protobuf libstemmer)
-makedepends=(cmake xmlto intltool gobject-introspection python2 docbook-xsl qt5-base)
-source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook)
-sha256sums=('71e561064522b10039c3f36864cbcbdebb4e94db0500d9c4e92a13760072bbb8'
- 'eb4fcec37d2cbe42ddf13778c21554aba0dcbc789781571a568ea35526496f79')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
-
- cmake ../AppStream-$pkgver \
- -DQT=ON \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE=Release
- make
-}
-
-package_appstream() {
- cd build
-
- make DESTDIR="$pkgdir" install
-
-# provided by -qt subpackage
- rm -r "$pkgdir"/usr/{include/AppstreamQt,lib/cmake,lib/libAppstreamQt.*}
-
- install -Dm644 "$srcdir"/update-appstream-index.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-index.hook
-}
-
-package_appstream-qt() {
- pkgdesc='Qt5 interface for AppStream'
- depends=(appstream qt5-base)
-
- cd build/qt
- make DESTDIR="$pkgdir" install
-}
Copied: appstream/repos/community-staging-i686/PKGBUILD (from rev 188200, appstream/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-09-01 06:22:09 UTC (rev 188201)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de>
+
+pkgbase=appstream
+pkgname=(appstream appstream-qt)
+pkgver=0.10.0
+pkgrel=2
+pkgdesc="Provides a standard for creating app stores across distributions"
+arch=(i686 x86_64)
+url="http://distributions.freedesktop.org/wiki/AppStream"
+license=(GPL)
+depends=(xapian-core polkit libyaml libxml2 protobuf libstemmer)
+makedepends=(cmake xmlto intltool gobject-introspection python2 docbook-xsl qt5-base)
+source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook
+ appstream-screenshot-url.patch::"https://github.com/ximion/appstream/commit/cef772ac.patch")
+sha256sums=('71e561064522b10039c3f36864cbcbdebb4e94db0500d9c4e92a13760072bbb8'
+ 'eb4fcec37d2cbe42ddf13778c21554aba0dcbc789781571a568ea35526496f79'
+ '1e08cce26259f9e48f1792c8437036082fa7542fdc7f918d5619e47111d8ce17')
+
+prepare() {
+ mkdir -p build
+
+ cd AppStream-$pkgver
+# Fix cache (de)serialization for screenshots and suggestions
+ patch -p1 -i ../appstream-screenshot-url.patch
+}
+
+build() {
+ cd build
+
+ cmake ../AppStream-$pkgver \
+ -DQT=ON \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package_appstream() {
+ cd build
+
+ make DESTDIR="$pkgdir" install
+
+# provided by -qt subpackage
+ rm -r "$pkgdir"/usr/{include/AppstreamQt,lib/cmake,lib/libAppstreamQt.*}
+
+ install -Dm644 "$srcdir"/update-appstream-index.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-index.hook
+}
+
+package_appstream-qt() {
+ pkgdesc='Qt5 interface for AppStream'
+ depends=(appstream qt5-base)
+
+ cd build/qt
+ make DESTDIR="$pkgdir" install
+}
Deleted: community-staging-i686/update-appstream-index.hook
===================================================================
--- community-staging-i686/update-appstream-index.hook 2016-09-01 06:21:45 UTC (rev 188200)
+++ community-staging-i686/update-appstream-index.hook 2016-09-01 06:22:09 UTC (rev 188201)
@@ -1,11 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/app-info/*
-
-[Action]
-Description = Updating the appstream index...
-When = PostTransaction
-Exec = /usr/bin/appstreamcli refresh-cache --force
Copied: appstream/repos/community-staging-i686/update-appstream-index.hook (from rev 188200, appstream/trunk/update-appstream-index.hook)
===================================================================
--- community-staging-i686/update-appstream-index.hook (rev 0)
+++ community-staging-i686/update-appstream-index.hook 2016-09-01 06:22:09 UTC (rev 188201)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/app-info/*
+
+[Action]
+Description = Updating the appstream index...
+When = PostTransaction
+Exec = /usr/bin/appstreamcli refresh-cache --force
Deleted: community-staging-x86_64/PKGBUILD
===================================================================
--- community-staging-x86_64/PKGBUILD 2016-09-01 06:21:45 UTC (rev 188200)
+++ community-staging-x86_64/PKGBUILD 2016-09-01 06:22:09 UTC (rev 188201)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Jameson Pugh <imntreal at gmail.com>
-# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de>
-
-pkgbase=appstream
-pkgname=(appstream appstream-qt)
-pkgver=0.10.0
-pkgrel=1
-pkgdesc="Provides a standard for creating app stores across distributions"
-arch=(i686 x86_64)
-url="http://distributions.freedesktop.org/wiki/AppStream"
-license=(GPL)
-depends=(xapian-core polkit libyaml libxml2 protobuf libstemmer)
-makedepends=(cmake xmlto intltool gobject-introspection python2 docbook-xsl qt5-base)
-source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook)
-sha256sums=('71e561064522b10039c3f36864cbcbdebb4e94db0500d9c4e92a13760072bbb8'
- 'eb4fcec37d2cbe42ddf13778c21554aba0dcbc789781571a568ea35526496f79')
-
-prepare() {
- mkdir -p build
-}
-
-build() {
- cd build
-
- cmake ../AppStream-$pkgver \
- -DQT=ON \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_BUILD_TYPE=Release
- make
-}
-
-package_appstream() {
- cd build
-
- make DESTDIR="$pkgdir" install
-
-# provided by -qt subpackage
- rm -r "$pkgdir"/usr/{include/AppstreamQt,lib/cmake,lib/libAppstreamQt.*}
-
- install -Dm644 "$srcdir"/update-appstream-index.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-index.hook
-}
-
-package_appstream-qt() {
- pkgdesc='Qt5 interface for AppStream'
- depends=(appstream qt5-base)
-
- cd build/qt
- make DESTDIR="$pkgdir" install
-}
Copied: appstream/repos/community-staging-x86_64/PKGBUILD (from rev 188200, appstream/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-09-01 06:22:09 UTC (rev 188201)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Jameson Pugh <imntreal at gmail.com>
+# Contributor: Tim Jester-Pfadt <t.jp<at>gmx.de>
+
+pkgbase=appstream
+pkgname=(appstream appstream-qt)
+pkgver=0.10.0
+pkgrel=2
+pkgdesc="Provides a standard for creating app stores across distributions"
+arch=(i686 x86_64)
+url="http://distributions.freedesktop.org/wiki/AppStream"
+license=(GPL)
+depends=(xapian-core polkit libyaml libxml2 protobuf libstemmer)
+makedepends=(cmake xmlto intltool gobject-introspection python2 docbook-xsl qt5-base)
+source=("http://www.freedesktop.org/software/appstream/releases/AppStream-$pkgver.tar.xz" update-appstream-index.hook
+ appstream-screenshot-url.patch::"https://github.com/ximion/appstream/commit/cef772ac.patch")
+sha256sums=('71e561064522b10039c3f36864cbcbdebb4e94db0500d9c4e92a13760072bbb8'
+ 'eb4fcec37d2cbe42ddf13778c21554aba0dcbc789781571a568ea35526496f79'
+ '1e08cce26259f9e48f1792c8437036082fa7542fdc7f918d5619e47111d8ce17')
+
+prepare() {
+ mkdir -p build
+
+ cd AppStream-$pkgver
+# Fix cache (de)serialization for screenshots and suggestions
+ patch -p1 -i ../appstream-screenshot-url.patch
+}
+
+build() {
+ cd build
+
+ cmake ../AppStream-$pkgver \
+ -DQT=ON \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package_appstream() {
+ cd build
+
+ make DESTDIR="$pkgdir" install
+
+# provided by -qt subpackage
+ rm -r "$pkgdir"/usr/{include/AppstreamQt,lib/cmake,lib/libAppstreamQt.*}
+
+ install -Dm644 "$srcdir"/update-appstream-index.hook "$pkgdir"/usr/share/libalpm/hooks/update-appstream-index.hook
+}
+
+package_appstream-qt() {
+ pkgdesc='Qt5 interface for AppStream'
+ depends=(appstream qt5-base)
+
+ cd build/qt
+ make DESTDIR="$pkgdir" install
+}
Deleted: community-staging-x86_64/update-appstream-index.hook
===================================================================
--- community-staging-x86_64/update-appstream-index.hook 2016-09-01 06:21:45 UTC (rev 188200)
+++ community-staging-x86_64/update-appstream-index.hook 2016-09-01 06:22:09 UTC (rev 188201)
@@ -1,11 +0,0 @@
-[Trigger]
-Type = File
-Operation = Install
-Operation = Upgrade
-Operation = Remove
-Target = usr/share/app-info/*
-
-[Action]
-Description = Updating the appstream index...
-When = PostTransaction
-Exec = /usr/bin/appstreamcli refresh-cache --force
Copied: appstream/repos/community-staging-x86_64/update-appstream-index.hook (from rev 188200, appstream/trunk/update-appstream-index.hook)
===================================================================
--- community-staging-x86_64/update-appstream-index.hook (rev 0)
+++ community-staging-x86_64/update-appstream-index.hook 2016-09-01 06:22:09 UTC (rev 188201)
@@ -0,0 +1,11 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/app-info/*
+
+[Action]
+Description = Updating the appstream index...
+When = PostTransaction
+Exec = /usr/bin/appstreamcli refresh-cache --force
More information about the arch-commits
mailing list