mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
87 lines
2.6 KiB
Plaintext
87 lines
2.6 KiB
Plaintext
SUMMARY="ALE: 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 >= $haikuVersion
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku_devel >= $haikuVersion
|
|
"
|
|
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/
|
|
}
|