[arch-commits] Commit in nitroshare (5 files)

Balló György bgyorgy at archlinux.org
Sun Apr 25 10:30:59 UTC 2021


    Date: Sunday, April 25, 2021 @ 10:30:59
  Author: bgyorgy
Revision: 924129

archrelease: copy trunk to community-x86_64

Added:
  nitroshare/repos/
  nitroshare/repos/community-x86_64/
  nitroshare/repos/community-x86_64/PKGBUILD
    (from rev 924128, nitroshare/trunk/PKGBUILD)
  nitroshare/repos/community-x86_64/nitroshare.appdata.xml
    (from rev 924128, nitroshare/trunk/nitroshare.appdata.xml)
  nitroshare/repos/community-x86_64/qt-5.11.patch
    (from rev 924128, nitroshare/trunk/qt-5.11.patch)

------------------------+
 PKGBUILD               |   44 ++++++++++++++++++++++++++++++++++++++++++++
 nitroshare.appdata.xml |   21 +++++++++++++++++++++
 qt-5.11.patch          |   14 ++++++++++++++
 3 files changed, 79 insertions(+)

Copied: nitroshare/repos/community-x86_64/PKGBUILD (from rev 924128, nitroshare/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2021-04-25 10:30:59 UTC (rev 924129)
@@ -0,0 +1,44 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Sid Karunaratne <sid at karunaratne dot net>
+# Contributor: Nathan Osman <nathan at quickmediasolutions dot com>
+# Contributor: BlackEagle <ike.devolder at gmail.com>
+
+pkgname=nitroshare
+pkgver=0.3.4
+pkgrel=3
+pkgdesc='LAN file sender application, designed to make transferring files from one device to another extremely simple'
+arch=('x86_64')
+url='https://nitroshare.net'
+license=('MIT')
+depends=('hicolor-icon-theme' 'python' 'qhttpengine' 'qmdnsengine' 'qt5-svg')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+optdepends=('nemo-python: integration with Nemo'
+            'python-caja: integration with Caja'
+            'python-nautilus: integration with Nautilus')
+source=("https://github.com/nitroshare/$pkgname-desktop/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+        'nitroshare.appdata.xml'
+        'qt-5.11.patch')
+sha256sums=('29874e5909c29211a3c9e13f8c0f49b901ec2996e5d60d80af80d2fb80c3d7ec'
+            '199d7b6d510e15483ca3c995083d764762a88144a2d6230467496e5e6b28bba5'
+            'e2a8417f36a5df37c5fb34c1a371f86b0059f48bf6dd588fc776ca7c38a67cd5')
+
+prepare() {
+  # Fix build with Qt 5.11
+  patch -d $pkgname-desktop-$pkgver -Np1 -i ../qt-5.11.patch
+
+  # Port filemanager extension to python3
+  sed -i 's/from urllib/from urllib.request/
+          s/from urlparse/from urllib.parse/' \
+    $pkgname-desktop-$pkgver/src/dist/nitroshare.py.in
+}
+
+build() {
+  cmake -S $pkgname-desktop-$pkgver -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr'
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+  install -Dm644 $pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
+  install -Dm644 $pkgname-desktop-$pkgver/LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}

Copied: nitroshare/repos/community-x86_64/nitroshare.appdata.xml (from rev 924128, nitroshare/trunk/nitroshare.appdata.xml)
===================================================================
--- repos/community-x86_64/nitroshare.appdata.xml	                        (rev 0)
+++ repos/community-x86_64/nitroshare.appdata.xml	2021-04-25 10:30:59 UTC (rev 924129)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+  <id>net.nitroshare.NitroShare</id>
+  <launchable type="desktop-id">nitroshare.desktop</launchable>
+  <name>NitroShare</name>
+  <summary>Network File Transfer Application</summary>
+  <metadata_license>CC0-1.0</metadata_license>
+  <project_license>MIT</project_license>
+  <developer_name>Nathan Osman</developer_name>
+  <description>
+    <p>NitroShare is designed to make transferring files from one device to another extremely simple.</p>
+  </description>
+  <screenshots>
+    <screenshot type="default">
+      <image>https://nitroshare.net/static/img/screenshot.png</image>
+    </screenshot>
+  </screenshots>
+  <url type="bugtracker">https://github.com/nitroshare/nitroshare-desktop/issues</url>
+  <url type="homepage">https://nitroshare.net/</url>
+  <update_contact>nathan at quickmediasolutions.com</update_contact>
+</component>

Copied: nitroshare/repos/community-x86_64/qt-5.11.patch (from rev 924128, nitroshare/trunk/qt-5.11.patch)
===================================================================
--- repos/community-x86_64/qt-5.11.patch	                        (rev 0)
+++ repos/community-x86_64/qt-5.11.patch	2021-04-25 10:30:59 UTC (rev 924129)
@@ -0,0 +1,14 @@
+diff -Nru a/src/application/splashdialog.cpp 
+b/src/application/splashdialog.cpp
+--- a/src/application/splashdialog.cpp	2017-10-13 00:32:54.000000000 
++0200
++++ b/src/application/splashdialog.cpp	2018-06-01 03:45:40.631194527 
++0200
+@@ -24,6 +24,7 @@
+ 
+ #include <QApplication>
+ #include <QDesktopWidget>
++#include <QStyle>
+ 
+ #include "splashdialog.h"
+ 



More information about the arch-commits mailing list