mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
QSysTray: fix build for x64 arch
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user