Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
deepin-draw


Commits:
e4db57ce by Felix Yan at 2025-01-17T16:44:27+08:00
upgpkg: 6.0.11-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,11 +1,12 @@
 pkgbase = deepin-draw
        pkgdesc = A lightweight drawing tool for Linux Deepin
-       pkgver = 6.0.10
-       pkgrel = 8
+       pkgver = 6.0.11
+       pkgrel = 1
        url = https://github.com/linuxdeepin/deepin-draw
        arch = x86_64
        groups = deepin-extra
        license = GPL3
+       makedepends = git
        makedepends = cmake
        makedepends = qt5-tools
        depends = deepin-qt5integration
@@ -17,9 +18,8 @@ pkgbase = deepin-draw
        depends = gcc-libs
        depends = deepin-picker
        depends = adobe-source-han-sans-otc-fonts
-       source = 
https://github.com/linuxdeepin/deepin-draw/archive/6.0.10/deepin-draw-6.0.10.tar.gz
-       source = 
deepin-draw-missing-include.patch::https://github.com/linuxdeepin/deepin-draw/pull/83.patch
-       sha512sums = 
abb3d2f3ae5373560aa535c50163f32c7db4152b0b5432a195381fab958ae35f7ea28d61a38710772fb9d1d73afcff1e6ffe7de9a51a01ffba81580966efc122
-       sha512sums = 
1c80d45d3d54902693a29ccf691cdfe1c961872a75b764b2de65455c09647c149e82c9e0aec5bc9444422285ac699da7600ffef71536a4532e40dfc4ab044f6d
+       depends = kimageformats5
+       source = git+https://github.com/linuxdeepin/deepin-draw.git#tag=6.0.11
+       sha512sums = 
d473ff1f530f9961ac60b56b7b85a8a7398b1ef315221325cd7f8c60a2f8b8903110d58dd02670a3cc87f3a849df145e40ebc21183bf3643a3a03ccc7d5f733e
 
 pkgname = deepin-draw


=====================================
PKGBUILD
=====================================
@@ -1,36 +1,35 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=deepin-draw
-pkgver=6.0.10
-pkgrel=8
+pkgver=6.0.11
+pkgrel=1
 pkgdesc="A lightweight drawing tool for Linux Deepin"
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-draw";
 license=('GPL3')
 depends=('deepin-qt5integration' 'dtkcore' 'dtkgui' 'dtkwidget' 'qt5-base' 
'qt5-svg'
-         'gcc-libs' 'deepin-picker' 'adobe-source-han-sans-otc-fonts')
-makedepends=('cmake' 'qt5-tools')
+         'gcc-libs' 'deepin-picker' 'adobe-source-han-sans-otc-fonts' 
'kimageformats5')
+makedepends=('git' 'cmake' 'qt5-tools')
 groups=('deepin-extra')
-source=("https://github.com/linuxdeepin/deepin-draw/archive/$pkgver/$pkgname-$pkgver.tar.gz";
-        
$pkgname-missing-include.patch::https://github.com/linuxdeepin/deepin-draw/pull/83.patch)
-sha512sums=('abb3d2f3ae5373560aa535c50163f32c7db4152b0b5432a195381fab958ae35f7ea28d61a38710772fb9d1d73afcff1e6ffe7de9a51a01ffba81580966efc122'
-            
'1c80d45d3d54902693a29ccf691cdfe1c961872a75b764b2de65455c09647c149e82c9e0aec5bc9444422285ac699da7600ffef71536a4532e40dfc4ab044f6d')
+source=("git+https://github.com/linuxdeepin/deepin-draw.git#tag=$pkgver";)
+sha512sums=('d473ff1f530f9961ac60b56b7b85a8a7398b1ef315221325cd7f8c60a2f8b8903110d58dd02670a3cc87f3a849df145e40ebc21183bf3643a3a03ccc7d5f733e')
 
 prepare() {
-  cd deepin-draw-$pkgver
-  patch -p1 -i ../$pkgname-missing-include.patch
+  cd deepin-draw
+  git cherry-pick -n 98dd279cc876cf85e804778ed1be4087201c1e03
+  # respect our LDFLAGS
   sed -e '/set(CMAKE_CXX_FLAGS/d' -e '/set(CMAKE_C_FLAGS/d' -e 
'/SET(CMAKE_EXE_LINKER_FLAGS/d' \
       -i src/CMakeLists.txt
 }
 
 build() {
-  cd deepin-draw-$pkgver
+  cd deepin-draw
 
   cmake -DCMAKE_INSTALL_PREFIX=/usr .
   make
 }
 
 package() {
-  cd deepin-draw-$pkgver
+  cd deepin-draw
   make DESTDIR="$pkgdir" install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-draw/-/commit/e4db57cedc34ce6bd1a100d73061e24d9657c7ba

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-draw/-/commit/e4db57cedc34ce6bd1a100d73061e24d9657c7ba
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to