[arch-commits] Commit in deepin-launcher/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed Aug 5 13:42:35 UTC 2020


    Date: Wednesday, August 5, 2020 @ 13:42:34
  Author: felixonmars
Revision: 669498

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-launcher/repos/community-testing-x86_64/
  deepin-launcher/repos/community-testing-x86_64/PKGBUILD
    (from rev 669497, deepin-launcher/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: deepin-launcher/repos/community-testing-x86_64/PKGBUILD (from rev 669497, deepin-launcher/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-08-05 13:42:34 UTC (rev 669498)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-launcher
+pkgver=5.3.0.1
+pkgrel=1
+pkgdesc='Deepin desktop-environment - Launcher module'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-launcher"
+license=('GPL3')
+depends=('gsettings-qt' 'qt5-svg' 'qt5-x11extras' 'startdde' 'deepin-qt5integration' 'deepin-menu'
+         'deepin-daemon' 'deepin-qt-dbus-factory' 'xdg-user-dirs')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+conflicts=('dde-launcher')
+replaces=('dde-launcher')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-launcher/archive/$pkgver.tar.gz")
+sha512sums=('42f7adbb6846385a85306fe92c63dd69f6a6a2f786a894af2212f696ececaacb388645a9bd2ad0be949b37cb5f41e629c0430d4f526fbb7ffb7c3c1a250a429d')
+
+prepare() {
+  cd dde-launcher-$pkgver
+  sed -i 's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/deepin/desktop.jpg|' src/boxframe/*.cpp
+
+  sed -i '/include <QPainter>/a #include <QPainterPath>' src/widgets/miniframenavigation.cpp src/widgets/avatar.cpp src/widgets/miniframebutton.cpp
+}
+
+build() {
+  cd dde-launcher-$pkgver
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DWITHOUT_UNINSTALL_APP=
+  ninja
+}
+
+package() {
+  cd dde-launcher-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}


More information about the arch-commits mailing list