mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Update to version 0.9.1.
This commit is contained in:
83
haiku-libs/ale/ale-0.9.1.recipe
Normal file
83
haiku-libs/ale/ale-0.9.1.recipe
Normal file
@@ -0,0 +1,83 @@
|
||||
SUMMARY="Auckland Layout Editor (ALE): \
|
||||
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"
|
||||
SRC_URI="git://github.com/czeidler/ALEditor#c7f17666dd5cb7f73edcabe2e9c4c7def9768175"
|
||||
COPYRIGHT="Copyright (C) 2009-2014 by UniAuckland Team"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
lib:libale = $portVersion
|
||||
app:ALEditor = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
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/
|
||||
}
|
||||
Reference in New Issue
Block a user