[arch-commits] Commit in deepin-image-viewer/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 13 04:18:58 UTC 2016
Date: Thursday, October 13, 2016 @ 04:18:58
Author: felixonmars
Revision: 192110
archrelease: copy trunk to community-testing-i686, community-testing-x86_64
Added:
deepin-image-viewer/repos/community-testing-i686/
deepin-image-viewer/repos/community-testing-i686/PKGBUILD
(from rev 192109, deepin-image-viewer/trunk/PKGBUILD)
deepin-image-viewer/repos/community-testing-x86_64/
deepin-image-viewer/repos/community-testing-x86_64/PKGBUILD
(from rev 192109, deepin-image-viewer/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++
2 files changed, 80 insertions(+)
Copied: deepin-image-viewer/repos/community-testing-i686/PKGBUILD (from rev 192109, deepin-image-viewer/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-10-13 04:18:58 UTC (rev 192110)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-image-viewer
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Deepin Image Viewer'
+arch=('i686' 'x86_64')
+url="https://github.com/linuxdeepin/deepin-image-viewer"
+license=('GPL3')
+depends=('deepin-tool-kit' 'libexif' 'freeimage' 'libraw' 'qt5-svg' 'deepin-shortcut-viewer')
+makedepends=('git' 'qt5-tools')
+groups=('deepin')
+source=("git+https://cr.deepin.io/deepin-image-viewer.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ sed -i '/vendor\/prebuild/d' deepin-image-viewer/{deepin-image-viewer.pro,viewer/viewer.pro}
+
+ rm -r deepin-image-viewer{,/viewer}/vendor/{src,lib,include,dutil-vendor.pri,prebuild}
+
+ sed -i 's|#include <exif-data.h>|#include <libexif/exif-data.h>|' deepin-image-viewer/viewer/utils/imageutils_libexif.h
+
+ sed -i 's|env PKG_CONFIG_PATH=\$\$PWD/lib/pkgconfig ||' deepin-image-viewer{,/viewer}/vendor/vendor.pri
+}
+
+build() {
+ cd deepin-image-viewer
+ qmake-qt5 PREFIX=/usr QMAKE_CFLAGS_ISYSTEM=
+ make
+}
+
+package() {
+ cd deepin-image-viewer
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Fix broken /share folder
+ mv "$pkgdir"/share/kde4 "$pkgdir"/usr/share/kde4
+ rmdir "$pkgdir"/share
+}
Copied: deepin-image-viewer/repos/community-testing-x86_64/PKGBUILD (from rev 192109, deepin-image-viewer/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-10-13 04:18:58 UTC (rev 192110)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-image-viewer
+pkgver=1.1.0
+pkgrel=1
+pkgdesc='Deepin Image Viewer'
+arch=('i686' 'x86_64')
+url="https://github.com/linuxdeepin/deepin-image-viewer"
+license=('GPL3')
+depends=('deepin-tool-kit' 'libexif' 'freeimage' 'libraw' 'qt5-svg' 'deepin-shortcut-viewer')
+makedepends=('git' 'qt5-tools')
+groups=('deepin')
+source=("git+https://cr.deepin.io/deepin-image-viewer.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ sed -i '/vendor\/prebuild/d' deepin-image-viewer/{deepin-image-viewer.pro,viewer/viewer.pro}
+
+ rm -r deepin-image-viewer{,/viewer}/vendor/{src,lib,include,dutil-vendor.pri,prebuild}
+
+ sed -i 's|#include <exif-data.h>|#include <libexif/exif-data.h>|' deepin-image-viewer/viewer/utils/imageutils_libexif.h
+
+ sed -i 's|env PKG_CONFIG_PATH=\$\$PWD/lib/pkgconfig ||' deepin-image-viewer{,/viewer}/vendor/vendor.pri
+}
+
+build() {
+ cd deepin-image-viewer
+ qmake-qt5 PREFIX=/usr QMAKE_CFLAGS_ISYSTEM=
+ make
+}
+
+package() {
+ cd deepin-image-viewer
+ make INSTALL_ROOT="$pkgdir" install
+
+ # Fix broken /share folder
+ mv "$pkgdir"/share/kde4 "$pkgdir"/usr/share/kde4
+ rmdir "$pkgdir"/share
+}
More information about the arch-commits
mailing list