mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
android_file_transfer: fix secondary arch build
This commit is contained in:
@@ -23,12 +23,12 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
userland_fs$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix >= 3
|
||||
userland_fs
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_qt="
|
||||
android_file_transfer_qt$secondaryArchSuffix = $portVersion
|
||||
android_file_transfer${secondaryArchSuffix}_qt = $portVersion
|
||||
app:AndroidFileTransfer = $portVersion
|
||||
"
|
||||
REQUIRES_qt="
|
||||
@@ -41,8 +41,8 @@ REQUIRES_qt="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
userland_fs$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
userland_fs
|
||||
devel:libcrypto$secondaryArchSuffix >= 3
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
devel:libQt5Gui$secondaryArchSuffix
|
||||
devel:libQt5Widgets$secondaryArchSuffix
|
||||
@@ -70,9 +70,13 @@ BUILD()
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir
|
||||
mkdir -p $addOnsDir/userlandfs
|
||||
cp build/qt/android-file-transfer "$appsDir/AndroidFileTransfer"
|
||||
cp build/fuse/aft-mtp-mount "$addOnsDir/userlandfs/android_file_transfer"
|
||||
|
||||
# Userlandfs only available for primary architecture
|
||||
if [ -z "$secondaryArchSuffix" ];then
|
||||
mkdir -p $addOnsDir/userlandfs
|
||||
cp build/fuse/aft-mtp-mount "$addOnsDir/userlandfs/android_file_transfer"
|
||||
fi
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.android-file-transfer"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
|
||||
Reference in New Issue
Block a user