[arch-commits] Commit in deepin-font-manager/repos/community-x86_64 (2 files)

Balló György bgyorgy at archlinux.org
Thu May 6 03:07:26 UTC 2021


    Date: Thursday, May 6, 2021 @ 03:07:26
  Author: bgyorgy
Revision: 928348

archrelease: copy trunk to community-x86_64

Added:
  deepin-font-manager/repos/community-x86_64/PKGBUILD
    (from rev 928347, deepin-font-manager/trunk/PKGBUILD)
Deleted:
  deepin-font-manager/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 41 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-06 03:07:20 UTC (rev 928347)
+++ PKGBUILD	2021-05-06 03:07:26 UTC (rev 928348)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-font-manager
-pkgver=5.8.0.21
-pkgrel=1
-pkgdesc='A font management tool for Deepin desktop'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-font-manager"
-license=('GPL3')
-depends=('deepin-qt5integration' 'deepin-file-manager')
-makedepends=('cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
-groups=('deepin-extra')
-source=("https://github.com/linuxdeepin/deepin-font-manager/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('11155184240dcbc7ee64d5977355b96d5aea7882858bd5c40ab5b3e502ebaf99699ba648ede2835f084bf32c4fe4752ccc7f74df88a56eb8a8c2e6dd7775e48b')
-
-build() {
-  cd deepin-font-manager-$pkgver
-  cmake -GNinja .
-  ninja
-}
-
-check() {
-  cd deepin-font-manager-$pkgver
-  ninja test || :
-}
-
-package() {
-  cd deepin-font-manager-$pkgver
-  DESTDIR="$pkgdir" ninja install
-}

Copied: deepin-font-manager/repos/community-x86_64/PKGBUILD (from rev 928347, deepin-font-manager/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-06 03:07:26 UTC (rev 928348)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-font-manager
+pkgver=5.8.0.21
+pkgrel=2
+pkgdesc='A font management tool for Deepin desktop'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-font-manager"
+license=('GPL3')
+depends=('deepin-qt5integration')
+makedepends=('cmake' 'deepin-file-manager' 'gmock' 'gtest' 'ninja' 'qt5-tools')
+optdepends=('deepin-file-manager: font preview in file manager')
+groups=('deepin-extra')
+source=("https://github.com/linuxdeepin/deepin-font-manager/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('11155184240dcbc7ee64d5977355b96d5aea7882858bd5c40ab5b3e502ebaf99699ba648ede2835f084bf32c4fe4752ccc7f74df88a56eb8a8c2e6dd7775e48b')
+
+prepare() {
+  cd deepin-font-manager-$pkgver
+
+  # Fix linker flags
+  sed -i 's/CMAKE_EXE_LINKER_FLAGS "-pie"/CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -pie"/' deepin-font-manager/CMakeLists.txt
+
+  # Fix file manager plugin install dir
+  sed -i 's|lib/x86_64-linux-gnu/|lib/|' deepin-font-preview-plugin/CMakeLists.txt
+}
+
+build() {
+  cd deepin-font-manager-$pkgver
+  cmake -GNinja . -DPLUGIN_INSTALL_DIR=
+  ninja
+}
+
+check() {
+  cd deepin-font-manager-$pkgver
+  ninja test || :
+}
+
+package() {
+  cd deepin-font-manager-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list