Update Moe recipe to use HaikuArchives repo

This commit is contained in:
Puck Meerburg
2015-01-18 19:45:32 +00:00
parent 7c31d203af
commit 1c7b79e030
2 changed files with 12 additions and 399 deletions

View File

@@ -2,13 +2,13 @@ SUMMARY="A cute mascot on the active window"
DESCRIPTION="\
Moe is a program that displays a cute mascot on the active window. \
How about mind cooler for your desktop?"
HOMEPAGE="http://web.archive.org/web/20040205093746/http://www.be-in.org/~yun/index_e.html"
HOMEPAGE="https://github.com/HaikuArchives/moe"
LICENSE="GNU GPL v2"
COPYRIGHT="2001 Okada Jun"
SRC_URI="http://web.archive.org/web/20040205093746/http://www.be-in.org/~yun/Moe/Moe1.1.2-src.zip"
CHECKSUM_SHA256="4ccbe50ab845ffa5d4e04055f9db4ffa867860c38c58d2f5bd3404982b2c04dc"
SOURCE_DIR="Moe"
REVISION="1"
SRC_URI="https://github.com/HaikuArchives/Moe/archive/68e18f359d114fbce2b0f4247a43c951becc87bc.tar.gz"
CHECKSUM_SHA256="62aaefdd298e41d865d73ed092251469a0cc63b9ed5c2e1531d0a409513d5f46"
SOURCE_DIR="Moe-68e18f359d114fbce2b0f4247a43c951becc87bc"
REVISION="2"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
@@ -34,36 +34,21 @@ BUILD_PREREQUIRES="
cmd:make
"
PATCHES="moe-1.1.2.patchset"
BUILD()
{
# work around git limitations...
# must recreate the attributes on the sample
addattr -t mime BEOS:TYPE image/png sample/moe.png
addattr -t mime BEOS:PREF_APP application/x-vnd.Kamnagi.Moe sample/moe.png
addattr -t float MOE:Y_RATE 0.287425 sample/moe.png
addattr -t bool MOE:Y_LOCKED 1 sample/moe.png
addattr -t float MOE:X_RATE 0.993443 sample/moe.png
addattr -t bool MOE:X_LOCKED 0 sample/moe.png
addattr -t float MOE:SIZE 1.000000 sample/moe.png
addattr -t int MOE:SIDE 0 sample/moe.png
addattr -f wink1.bin -t "'MSGG'" MOE:ANIME:WINK1 sample/moe.png
addattr -f wink2.bin -t "'MSGG'" MOE:ANIME:WINK2 sample/moe.png
cd sample
./add_attributes.sh
make
cd ../source
make OBJ_DIR=objects $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/Moe
mkdir -p $appsDir/Moe $binDir
cp -a objects.*-*/Moe $appsDir/Moe
cp -a source/objects/Moe $appsDir/Moe
cp -a sample/moe.png COPYING doc $appsDir/Moe
cp -a 1stReadMe.* sample/moe.png GPL doc $appsDir/Moe
mkdir $binDir
ln -sfn $appsDir/Moe/Moe $binDir/moe
#addAppDeskbarSymlink $appsDir/Moe/Moe
}