mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
yab-ide, bump version (#5017)
Co-authored-by: Lorenz Glaser <lorenz.glaser@besly.de>
This commit is contained in:
BIN
haiku-apps/yab_ide/additional-files/yab.hvif
Normal file
BIN
haiku-apps/yab_ide/additional-files/yab.hvif
Normal file
Binary file not shown.
@@ -1,72 +0,0 @@
|
|||||||
SUMMARY="An integrated development environment for yab"
|
|
||||||
DESCRIPTION="Yab allows fast prototyping with simple and clean code. yab \
|
|
||||||
contains a large number of BeAPI specific commands for GUI creation and much, \
|
|
||||||
much more.
|
|
||||||
|
|
||||||
yab wouldn't be complete without the yab-IDE, a powerful development \
|
|
||||||
environment, which of course is programmed in yab itself."
|
|
||||||
HOMEPAGE="http://yab.orgfree.com/"
|
|
||||||
COPYRIGHT="2006-2015 Jan Bungeroth
|
|
||||||
2015-2017 Jim Saxton"
|
|
||||||
LICENSE="Artistic"
|
|
||||||
REVISION="4"
|
|
||||||
SOURCE_URI="https://github.com/bbjimmy/YAB/archive/1.7.5.5.tar.gz"
|
|
||||||
CHECKSUM_SHA256="ea80d21487c472b7ae11eb4f45bb6dc3468b0e68490a7a1ea2d5c44378dc1853"
|
|
||||||
SOURCE_DIR="YAB-1.7.5.5"
|
|
||||||
|
|
||||||
ARCHITECTURES="x86_gcc2 !x86 x86_64"
|
|
||||||
|
|
||||||
PROVIDES="
|
|
||||||
yab_ide = $portVersion
|
|
||||||
app:yab_IDE = $portVersion
|
|
||||||
"
|
|
||||||
REQUIRES="
|
|
||||||
haiku
|
|
||||||
yab >= 1.7.5.5
|
|
||||||
devel:libz # needed to build and for the BuildFactory to do its work
|
|
||||||
lib:libz
|
|
||||||
"
|
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
|
||||||
haiku_devel
|
|
||||||
devel:libyab
|
|
||||||
devel:libz
|
|
||||||
"
|
|
||||||
BUILD_PREREQUIRES="
|
|
||||||
cmd:bison
|
|
||||||
cmd:flex
|
|
||||||
cmd:gcc
|
|
||||||
cmd:make
|
|
||||||
cmd:mkdepend
|
|
||||||
cmd:perl
|
|
||||||
"
|
|
||||||
|
|
||||||
BUILD()
|
|
||||||
{
|
|
||||||
pushd src
|
|
||||||
make $jobArgs BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
|
||||||
popd
|
|
||||||
pushd yab-IDE/BuildFactory
|
|
||||||
gcc -o yab-compress yab-compress.c -lz
|
|
||||||
popd
|
|
||||||
mkdir -p tmp/buildfactory
|
|
||||||
mkdir -p tmp/buildfactory/lib
|
|
||||||
cp -r src/libyab.so tmp/buildfactory/lib/libyab.so
|
|
||||||
cp -r src/* tmp/buildfactory
|
|
||||||
cp -r yab-IDE/BuildFactory/* tmp/buildfactory/
|
|
||||||
cp yab-IDE/src/yab-IDE.yab tmp/buildfactory/
|
|
||||||
pushd tmp/buildfactory
|
|
||||||
rm flex.c
|
|
||||||
./yab BuildFactory.yab yab-IDE yab-IDE.yab application/x-vnd.yab-IDE
|
|
||||||
RdefApply parts/YAB-IDE.bf.rdef yab-IDE
|
|
||||||
addattr -t mime BEOS:TYPE application/x-vnd.be-elfexecutable yab-IDE
|
|
||||||
popd
|
|
||||||
}
|
|
||||||
|
|
||||||
INSTALL()
|
|
||||||
{
|
|
||||||
mkdir -p $appsDir
|
|
||||||
cp -r yab-IDE/ $appsDir/
|
|
||||||
cp tmp/buildfactory/yab-IDE $appsDir/yab-IDE/
|
|
||||||
addAppDeskbarSymlink $appsDir/yab-IDE/yab-IDE "Yab IDE"
|
|
||||||
}
|
|
||||||
47
haiku-apps/yab_ide/yab_ide-2.3.recipe
Normal file
47
haiku-apps/yab_ide/yab_ide-2.3.recipe
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
SUMMARY="An integrated development environment for yab"
|
||||||
|
DESCRIPTION="Yab allows fast prototyping with simple and clean code. yab \
|
||||||
|
contains a large number of BeAPI specific commands for GUI creation and much, \
|
||||||
|
much more.
|
||||||
|
|
||||||
|
yab wouldn't be complete without the yab-IDE, a powerful development \
|
||||||
|
environment, which of course is programmed in yab itself."
|
||||||
|
HOMEPAGE="http://software.besly.de/"
|
||||||
|
COPYRIGHT="2006-2015 Jan Bungeroth
|
||||||
|
2015-2017 Jim Saxton
|
||||||
|
2020 Lorenz Glaser (lorglas) BeSly Software Solutions"
|
||||||
|
LICENSE="Artistic"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="https://github.com/lorglas/yab_ide/archive/$portVersion.tar.gz"
|
||||||
|
CHECKSUM_SHA256="73c873c2e67b9afba37f8b704d7fa1b5663e620603ae2176c454a6f8029fe85e"
|
||||||
|
SOURCE_FILENAME="yab_ide-$portVersion.tar.gz"
|
||||||
|
SOURCE_DIR="yab_ide-$portVersion"
|
||||||
|
ADDITIONAL_FILES="yab.hvif"
|
||||||
|
|
||||||
|
ARCHITECTURES="x86_gcc2 !x86 x86_64"
|
||||||
|
DISABLE_SOURCE_PACKAGE="YES"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
yab_ide = $portVersion
|
||||||
|
app:yab_IDE = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku
|
||||||
|
#yab_buildfactory
|
||||||
|
yab_documentation
|
||||||
|
yab
|
||||||
|
"
|
||||||
|
# devel:libz is needed both to build and for the BuildFactory to do its work.
|
||||||
|
|
||||||
|
BUILD_REQUIRES=""
|
||||||
|
BUILD_PREREQUIRES=""
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
mkdir -p $appsDir/yab-IDE
|
||||||
|
cp -R * $appsDir/yab-IDE
|
||||||
|
addattr -t icon -f $portDir/additional-files/yab.hvif "BEOS:ICON" "$appsDir/yab-IDE/yab-IDE.yab"
|
||||||
|
chmod 777 $appsDir/yab-IDE/yab-IDE.yab
|
||||||
|
DIR_YAB_DESKBAR="${dataDir}/deskbar/menu/Applications/yab"
|
||||||
|
mkdir -p ${DIR_YAB_DESKBAR}
|
||||||
|
addAppDeskbarSymlink ${appsDir}/yab-IDE/yab-IDE.yab "yab/yab-IDE"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user