mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
70 lines
1.7 KiB
Plaintext
70 lines
1.7 KiB
Plaintext
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"
|
|
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"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
|
|
PROVIDES="
|
|
moe = $portVersion
|
|
app:Moe = $portVersion
|
|
cmd:moe = $portVersion
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku
|
|
lib:libz
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku_devel
|
|
devel:libz
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:gcc
|
|
cmd:ld
|
|
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
|
|
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir/Moe
|
|
|
|
cp -a objects.*-*/Moe $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
|
|
}
|