Date: Sunday, December 25, 2022 @ 11:11:27
Author: felixonmars
Revision: 1365486
archrelease: copy trunk to community-x86_64
Added:
deepin-image-viewer/repos/community-x86_64/PKGBUILD
(from rev 1365485, deepin-image-viewer/trunk/PKGBUILD)
deepin-image-viewer/repos/community-x86_64/libraw-0.21.patch
(from rev 1365485, deepin-image-viewer/trunk/libraw-0.21.patch)
Deleted:
deepin-image-viewer/repos/community-x86_64/PKGBUILD
deepin-image-viewer/repos/community-x86_64/libraw-0.21.patch
-------------------+
PKGBUILD | 70 ++++++++++++++++++++++++++--------------------------
libraw-0.21.patch | 32 +++++++++++------------
2 files changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-25 11:11:13 UTC (rev 1365485)
+++ PKGBUILD 2022-12-25 11:11:27 UTC (rev 1365486)
@@ -1,35 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=deepin-image-viewer
-pkgver=5.9.8
-pkgrel=2
-pkgdesc='An image viewing tool with fashion interface and smooth performance'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-image-viewer"
-license=('GPL3')
-depends=('deepin-qt5integration' 'deepin-image-editor' 'libexif' 'libraw'
'qt5-svg')
-makedepends=('cmake' 'ninja' 'qt5-tools')
-optdepends=('deepin-manual: for help manual'
- 'deepin-shortcut-viewer: for shortcut display')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-image-viewer/archive/$pkgver.tar.gz"
- libraw-0.21.patch)
-sha512sums=('822d9589cd14f6247ff87735bddd58bcc28d1dc9cf1bd2836f38ad390431c30c893ccb06c83292b2ab089191c1a8dc51df6f52de79fd21d30e2d67c7817dd314'
-
'37587172bb74d6e243ae34120f6d0f27c5aa0ce46fc3faf53878c2827811ba922370820c62715f406bbfe9ebf14dbfc0042b85dc0ee7c51c3a4da08d840b7fd4')
-
-prepare() {
- cd deepin-image-viewer-$pkgver
- sed -i -e 's|qt5/plugins|qt/plugins|' -e
's|${Qt5Core_DIR}|/usr/lib/cmake/Qt5Core|' qimage-plugins/libraw/CMakeLists.txt
- patch -p1 < ../libraw-0.21.patch # Fix build with libraw 0.21
-}
-
-build() {
- cd deepin-image-viewer-$pkgver
- cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
- ninja
-}
-
-package() {
- cd deepin-image-viewer-$pkgver
- DESTDIR="$pkgdir" ninja install
-}
Copied: deepin-image-viewer/repos/community-x86_64/PKGBUILD (from rev 1365485,
deepin-image-viewer/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-25 11:11:27 UTC (rev 1365486)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=deepin-image-viewer
+pkgver=5.9.9
+pkgrel=1
+pkgdesc='An image viewing tool with fashion interface and smooth performance'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-image-viewer"
+license=('GPL3')
+depends=('deepin-qt5integration' 'deepin-image-editor' 'libexif' 'libraw'
'qt5-svg')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+optdepends=('deepin-manual: for help manual'
+ 'deepin-shortcut-viewer: for shortcut display')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-image-viewer/archive/$pkgver.tar.gz"
+ libraw-0.21.patch)
+sha512sums=('cf4c308dd1d7bb6300b23c2135dd6b524ceafecaed4ead3ac65382ee34fa69e4868e9411b745247ca81d402b048204d27c617de63b4fa1eb3a71155bb0acbe44'
+
'37587172bb74d6e243ae34120f6d0f27c5aa0ce46fc3faf53878c2827811ba922370820c62715f406bbfe9ebf14dbfc0042b85dc0ee7c51c3a4da08d840b7fd4')
+
+prepare() {
+ cd deepin-image-viewer-$pkgver
+ sed -i -e 's|qt5/plugins|qt/plugins|' -e
's|${Qt5Core_DIR}|/usr/lib/cmake/Qt5Core|' qimage-plugins/libraw/CMakeLists.txt
+ patch -p1 < ../libraw-0.21.patch # Fix build with libraw 0.21
+}
+
+build() {
+ cd deepin-image-viewer-$pkgver
+ cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
+ ninja
+}
+
+package() {
+ cd deepin-image-viewer-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}
Deleted: libraw-0.21.patch
===================================================================
--- libraw-0.21.patch 2022-12-25 11:11:13 UTC (rev 1365485)
+++ libraw-0.21.patch 2022-12-25 11:11:27 UTC (rev 1365486)
@@ -1,16 +0,0 @@
-diff --git a/qimage-plugins/libraw/rawiohandler.cpp
b/qimage-plugins/libraw/rawiohandler.cpp
-index 979b1d58..5236376f 100644
---- a/qimage-plugins/libraw/rawiohandler.cpp
-+++ b/qimage-plugins/libraw/rawiohandler.cpp
-@@ -63,7 +63,11 @@ bool RawIOHandlerPrivate::load(QIODevice *device)
-
- stream = new Datastream(device);
- raw = new LibRaw;
-+#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
-+ raw->imgdata.rawparams.use_rawspeed = 1;
-+#else
- raw->imgdata.params.use_rawspeed = 1;
-+#endif
- if (raw->open_datastream(stream) != LIBRAW_SUCCESS) {
- delete raw;
- raw = nullptr;
Copied: deepin-image-viewer/repos/community-x86_64/libraw-0.21.patch (from rev
1365485, deepin-image-viewer/trunk/libraw-0.21.patch)
===================================================================
--- libraw-0.21.patch (rev 0)
+++ libraw-0.21.patch 2022-12-25 11:11:27 UTC (rev 1365486)
@@ -0,0 +1,16 @@
+diff --git a/qimage-plugins/libraw/rawiohandler.cpp
b/qimage-plugins/libraw/rawiohandler.cpp
+index 979b1d58..5236376f 100644
+--- a/qimage-plugins/libraw/rawiohandler.cpp
++++ b/qimage-plugins/libraw/rawiohandler.cpp
+@@ -63,7 +63,11 @@ bool RawIOHandlerPrivate::load(QIODevice *device)
+
+ stream = new Datastream(device);
+ raw = new LibRaw;
++#if LIBRAW_COMPILE_CHECK_VERSION_NOTLESS(0, 21)
++ raw->imgdata.rawparams.use_rawspeed = 1;
++#else
+ raw->imgdata.params.use_rawspeed = 1;
++#endif
+ if (raw->open_datastream(stream) != LIBRAW_SUCCESS) {
+ delete raw;
+ raw = nullptr;