mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Medo, revbump, builds on 32bit, but crashes on launch (#5509)
This commit is contained in:
@@ -19,29 +19,36 @@ An SDK allows 3rd party developers to create Addons and Plugins."
|
||||
HOMEPAGE="https://github.com/smallstepforman/Medo"
|
||||
COPYRIGHT="2019-2021 Zen Yes Pty Ltd"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/smallstepforman/Medo/archive/R1.0.0-Beta1-1.tar.gz"
|
||||
CHECKSUM_SHA256="734443d5d34d74c2a654e63d5bab33baddf68199fe2497688bcac337f10b7cf8"
|
||||
SOURCE_DIR="Medo-R1.0.0-Beta1-1"
|
||||
PATCHES="medo-$portVersion.patchset"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86"
|
||||
|
||||
PROVIDES="
|
||||
medo$secondaryArchSuffix = $portVersion
|
||||
app:medo
|
||||
app:Medo
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libavcodec$secondaryArchSuffix
|
||||
lib:libavformat$secondaryArchSuffix
|
||||
lib:libavutil$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libGL$secondaryArchSuffix
|
||||
lib:libswresample$secondaryArchSuffix
|
||||
lib:libswscale$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libavformat$secondaryArchSuffix
|
||||
devel:libsoxr$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libGL$secondaryArchSuffix
|
||||
devel:libsoxr$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
@@ -50,6 +57,14 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd AddOns
|
||||
for d in */; do
|
||||
cd "$d"
|
||||
chmod +x clean_all
|
||||
cd ..
|
||||
done
|
||||
cd ..
|
||||
|
||||
release=true jam -q $jobArgs
|
||||
sh build_addons
|
||||
sh setup_attributes
|
||||
@@ -60,8 +75,6 @@ INSTALL()
|
||||
mkdir -p $appsDir/Medo
|
||||
cp Medo $appsDir/Medo
|
||||
|
||||
addDeskbarAppSymlink Medo $appsDir/Medo/Medo
|
||||
|
||||
mkdir $appsDir/Medo/AddOns
|
||||
pushd AddOns
|
||||
for d in */; do
|
||||
@@ -91,4 +104,8 @@ INSTALL()
|
||||
cp *".png" "$appsDir/Medo/Resources/"
|
||||
cp "Icon/Medo_Logo.png" "$appsDir/Medo/Resources/Icon"
|
||||
popd
|
||||
|
||||
addResourcesToBinaries Resources/Icon/Medo_icon.rdef \
|
||||
$appsDir/Medo/Medo
|
||||
addAppDeskbarSymlink $appsDir/Medo/Medo
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user