Files
haikuports/haiku-libs/ale/ale-0.9.1.recipe
Humdinger a38db25c39 Changes in SUMMARY, DESCRIPTION and whitespace.
Removed the full-stop and repeating package name in SUMMARY.
Removed hard line breaks, broke up some very long paragraphs and
use bullet lists where possible.
All done by browsing through HaikuDepot. There may be (many) more left
in the whole haikuports repo...

Included 10 extended desriptions done by soyoye14 for GCI 2014
(https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632)

Removed/insert whitespace where it seems to be the custom in recipes.
Sometimes rearranged elements of a recipe (moving license and copyright
up, for example).
2015-01-12 19:23:51 +01:00

88 lines
2.5 KiB
Plaintext

SUMMARY="A GUI editor to create and edit constraint-based layouts"
DESCRIPTION="The Auckland Layout Editor (ALE) is a constraint-based layout \
editor that is based on the BALMLayout layout class. The constraint-based \
layout model is very powerful and can describe layouts that can't be described \
with other layout models, like for example, the grid-bag layout model. Layouts \
created with ALE are automatically resizable and non-overlapping. This means \
while editing a layout you can't create a layout that has two overlapping \
views. Furthermore, layouts created with ALE have no conflicting constraints.
ALE provides a small but powerful set of edit operations. These edit \
operations keep views automatically aligned to each other. This makes \
creating and editing layouts very easy.
For more information read:
https://www.cs.auckland.ac.nz/~lutteroth/publications/ZeidlerEtAl2013-AucklandLayoutEditor.pdf
or watch:
http://www.youtube.com/watch?v=ZPv58AWWGRQ"
HOMEPAGE="http://github.com/czeidler/ALEditor"
srcGitRef="52a5a621e3c28fc04d46402fae263b9693bd68ab"
CHECKSUM_SHA256="cda6bc713485c058b326bc79231a99c24abad36e7d0b68a9cbbc2b292092e683"
SRC_FILENAME="ALEditor-52a5a621e3c28fc04d46402fae263b9693bd68ab.tar.gz"
SOURCE_DIR="ALEditor-$srcGitRef"
SRC_URI="https://github.com/czeidler/ALEditor/archive/$srcGitRef.tar.gz"
COPYRIGHT="Copyright (C) 2009-2014 by UniAuckland Team"
LICENSE="MIT"
REVISION="2"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
ale = $portVersion
lib:libale = $portVersion
app:ALEditor = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:cmake
cmd:make
"
BUILD()
{
cmake .
make
}
INSTALL()
{
mkdir -p $appsDir/ALEditor
cp ALEditor $appsDir/ALEditor/ALEditor
mkdir -p $libDir
cp libale.so $libDir/libale.so
addAppDeskbarSymlink $appsDir/ALEditor/ALEditor ALEditor
# copy development headers
headersALE="LayoutArchive.h"
headersALM="ALMGroup.h ALMLayout.h ALMLayoutBuilder.h Area.h Column.h Row.h Tab.h"
headersLinearSpec="Constraint.h LinearProgrammingTypes.h LinearSpec.h Summand.h Variable.h"
mkdir -p $includeDir/ale
for file in $headersALE
do
cp headers/editor/${file} $includeDir/ale/${file}
done
mkdir -p $includeDir/alm
for file in $headersALM
do
cp headers/haiku_private/alm/${file} $includeDir/alm/${file}
done
mkdir -p $includeDir/linearspec
for file in $headersLinearSpec
do
cp headers/haiku_private/linearspec/${file} $includeDir/linearspec/${file}
done
# copy example
mkdir -p $dataDir/ale/example
cp example/* $dataDir/ale/example/
}