QSysTray: fix build for x64 arch

This commit is contained in:
Gerasim Troeglazov
2015-10-29 23:35:22 +10:00
parent 0ba1a13fbd
commit 6362736f2e

View File

@@ -1,11 +1,11 @@
SUMMARY="Deskbar shelf helper for Qt 4/5 applications"
DESCRIPTION="Qt system tray manager for interacting with Deskbar shelf"
DESCRIPTION="Qt system tray manager for interaction with Deskbar shelf"
HOMEPAGE="http://github.com/qt-haiku/qt4"
SOURCE_URI="svn+https://github.com/qt-haiku/qt4/trunk/src/3rdparty/haiku-tools/qsystray"
SOURCE_DIR="qsystray"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="2012-2015 Gerasim Troeglazov (3dEyes**)"
REVISION="1"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
@@ -29,10 +29,10 @@ BUILD_PREREQUIRES="
BUILD()
{
if [ $targetArchitecture = x86 ]; then
make -f Makefile.gcc4
else
if [ $targetArchitecture = x86_gcc2 ]; then
make -f Makefile.gcc2
else
make -f Makefile.gcc4
fi
}
@@ -40,9 +40,9 @@ INSTALL()
{
mkdir -p $binDir
if [ $targetArchitecture = x86 ]; then
cp -af qsystray $binDir
else
if [ $targetArchitecture = x86_gcc2 ]; then
cp -af qsystray_gcc2 $binDir/qsystray
else
cp -af qsystray $binDir
fi
}