1SUMMARY="A cross-platform network file transfer application" 2DESCRIPTION="Features 3 4* Runs on Windows / Mac OS X / Linux 5* Automatic discovery of devices on the local network 6* Simple and intuitive user interface 7* Incredibly fast transfer speeds 8* Transfer entire directories 9* Optional TLS encryption 10* Local HTTP API 11* Completely free and open-source" 12HOMEPAGE="https://github.com/nitroshare/nitroshare-desktop" 13COPYRIGHT="2017 Nathan Osman" 14LICENSE="MIT" 15REVISION="1" 16SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz" 17CHECKSUM_SHA256="29874e5909c29211a3c9e13f8c0f49b901ec2996e5d60d80af80d2fb80c3d7ec" 18SOURCE_FILENAME="nitroshare-$portVersion.tar.gz" 19SOURCE_DIR="nitroshare-desktop-$portVersion" 20PATCHES="nitroshare-$portVersion.patchset" 21 22ARCHITECTURES="all !x86_gcc2 ?x86" 23SECONDARY_ARCHITECTURES="x86" 24 25PROVIDES=" 26 nitroshare$secondaryArchSuffix = $portVersion 27 app:nitroshare = $portVersion 28 " 29REQUIRES=" 30 haiku$secondaryArchSuffix 31 lib:libqhttpengine$secondaryArchSuffix 32 lib:libqmdnsengine$secondaryArchSuffix 33 lib:libQt5Core$secondaryArchSuffix 34 lib:libQt5Gui$secondaryArchSuffix 35 lib:libQt5Network$secondaryArchSuffix 36 lib:libQt5Svg$secondaryArchSuffix 37 lib:libQt5Widgets$secondaryArchSuffix 38 " 39 40BUILD_REQUIRES=" 41 haiku${secondaryArchSuffix}_devel 42 devel:libqhttpengine$secondaryArchSuffix 43 devel:libqmdnsengine$secondaryArchSuffix 44 devel:libQt5Core$secondaryArchSuffix 45 devel:libQt5Gui$secondaryArchSuffix 46 devel:libQt5Network$secondaryArchSuffix 47 devel:libQt5Svg$secondaryArchSuffix 48 devel:libQt5Widgets$secondaryArchSuffix 49 " 50BUILD_PREREQUIRES=" 51 cmd:cmake 52 cmd:g++$secondaryArchSuffix 53 cmd:ld$secondaryArchSuffix 54 cmd:make 55 cmd:pkg_config$secondaryArchSuffix 56 " 57 58defineDebugInfoPackage nitroshare$secondaryArchSuffix \ 59 "$appsDir"/Nitroshare 60 61BUILD() 62{ 63 cmake -DCMAKE_INSTALL_PREFIX:PATH=$appsDir . 64 make $jobArgs 65} 66 67INSTALL() 68{ 69 mkdir -p $appsDir 70 cp out/nitroshare $appsDir/Nitroshare 71 72 # TODO: Add icon 73 addAppDeskbarSymlink $appsDir/Nitroshare 74} 75