mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
* marble Don't start SUMMARY with app name Re-ordered blocks * ne Don't start SUMMARY with app name Still in old BEP format * pixman Don't start SUMMARY with app name Improved DESCRIPTION Re-ordered blocks * qemacs Don't start SUMMARY with app name Re-ordered blocks * rsync Don't start SUMMARY with app name Re-ordered blocks * schroedinger Don't start SUMMARY with app name Re-ordered blocks * screen Don't start SUMMARY with app name Re-ordered blocks * sharutils Don't start SUMMARY with app name Re-ordered blocks * sortsave Don't start SUMMARY with app name Re-ordered blocks Corrected PROVIDES to declare an addon * srm Don't start SUMMARY with app name Re-ordered blocks
71 lines
1.7 KiB
Bash
71 lines
1.7 KiB
Bash
SUMMARY="A virtual globe and world atlas"
|
|
DESCRIPTION="Marble is a geographical atlas and a virtual globe which lets you \
|
|
quickly explore places on our home planet.
|
|
|
|
You can use Marble to look up addresses, to easily create maps, \
|
|
measure distances and to retrieve detail information about locations \
|
|
that you have just heard about in the news or on the Internet.
|
|
|
|
The user interface is clean, simple and easy to use."
|
|
HOMEPAGE="http://marble.kde.org"
|
|
COPYRIGHT="2007-2014 by the authors of Marble Virtual Globe"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="git://anongit.kde.org/marble#9e116170"
|
|
PATCHES="marble_x86-1.9.2.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
marble$secondaryArchSuffix = $portVersion
|
|
app:Marble$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku${secondaryArchSuffix}
|
|
libqt4$secondaryArchSuffix >= 4.8.0
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
libqt4${secondaryArchSuffix}_devel >= 4.8.0
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:qmake$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:cmake
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
|
-DQTONLY=TRUE \
|
|
-DWITH_DESIGNER_PLUGIN=FALSE \
|
|
-DCMAKE_INSTALL_PREFIX=$appsDir/Marble \
|
|
-DMARBLE_DATA_PATH=$appsDir/Marble/data \
|
|
..
|
|
# Disable Phonon
|
|
echo "#undef HAVE_PHONON" > src/lib/marble/config-phonon.h
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
mv $appsDir/Marble/bin/marble-qt $appsDir/Marble/Marble
|
|
|
|
rm -rf $appsDir/Marble/bin
|
|
rm -rf $appsDir/Marble/include
|
|
rm -rf $appsDir/Marble/share
|
|
|
|
addResourcesToBinaries ../haiku/marble.rdef $appsDir/Marble/Marble
|
|
addAppDeskbarSymlink $appsDir/Marble/Marble "Marble"
|
|
}
|