[arch-commits] Commit in deepin-album/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Thu Nov 19 20:58:06 UTC 2020
Date: Thursday, November 19, 2020 @ 20:58:06
Author: arojas
Revision: 757750
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-album/repos/community-staging-x86_64/
deepin-album/repos/community-staging-x86_64/PKGBUILD
(from rev 757749, deepin-album/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: deepin-album/repos/community-staging-x86_64/PKGBUILD (from rev 757749, deepin-album/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-19 20:58:06 UTC (rev 757750)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-album
+pkgver=5.6.9.27
+pkgrel=2
+pkgdesc='A fashion photo manager for viewing and organizing pictures'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-album"
+license=('GPL3')
+depends=('deepin-qt5integration' 'freeimage' 'gio-qt' 'udisks2-qt5')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-album/archive/$pkgver.tar.gz")
+sha512sums=('59ed213dd533ed7d6187fef44e8f5edde95016494d562adb16b15002e837cfcfd5291d476b7e48a0ba5601219f2c273d0e0de8cbbf5075f93a16cc949a4e03f7')
+
+prepare() {
+ cd deepin-album-$pkgver
+ sed -i '/#include <QPainter>/a #include <QPainterPath>' deepin-album/album/frame/toptoolbar.cpp deepin-album/album/thumbnail/thumbnaildelegate.cpp \
+ deepin-album/album/widgets/dlmenuarrow.h deepin-album/album/widgets/dialogs/dfmdarrowlineexpand.cpp \
+ deepin-album/album/widgets/popupmenustyle.cpp
+ sed -i '/#include <QDebug>/a #include <QPainterPath>' deepin-album/album/module/view/contents/ttbcontent.cpp
+}
+
+build() {
+ cd deepin-album-$pkgver
+ cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr
+ ninja
+}
+
+package() {
+ cd deepin-album-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list