mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
83 lines
2.3 KiB
Bash
83 lines
2.3 KiB
Bash
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="https://github.com/czeidler/ALEditor"
|
|
COPYRIGHT="2009-2014 UniAuckland Team"
|
|
LICENSE="MIT"
|
|
REVISION="10"
|
|
srcGitRev="90c1db5b38eedbb101dfc4648c13e65d552fc033"
|
|
SOURCE_URI="https://github.com/czeidler/ALEditor/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="e20bffa0dd5d840a55ab79f4e04fb3d7955e1604b9eb40a5d7f047eb47c52fd8"
|
|
SOURCE_FILENAME="ALEditor-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="ALEditor-$srcGitRev"
|
|
PATCHES="ale-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
ale = $portVersion
|
|
app:ALEditor = $portVersion
|
|
devel:libale = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
ale_libs == $portVersion base
|
|
"
|
|
|
|
SUMMARY_libs="Runtime libraries for the Auckland Layout Editor"
|
|
DESCRIPTION_libs="This package provides libale.so for use in other applications."
|
|
PROVIDES_libs="
|
|
ale_libs = $portVersion
|
|
lib:libale = $portVersion
|
|
"
|
|
REQUIRES_libs="
|
|
haiku
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc
|
|
cmd:ld
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -DCMAKE_BUILD_TYPE=Release .
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -pv $includeDir/ale
|
|
cp -afv headers/editor/LayoutArchive.h $includeDir/ale/
|
|
|
|
mkdir -pv $dataDir/ale/example
|
|
cp -afv example/* $dataDir/ale/example/
|
|
|
|
mkdir -pv $appsDir
|
|
cp -afv ALEditor $appsDir/ALEditor
|
|
addAppDeskbarSymlink $appsDir/ALEditor ALEditor
|
|
|
|
mkdir -pv $libDir
|
|
cp -afv libale.so $libDir/libale.so
|
|
prepareInstalledDevelLib libale
|
|
packageEntries libs $libDir
|
|
}
|