0
0
Fork 0
haikuports/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe

50 lines
1.1 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

SUMMARY="A media player for the Haiku Operating System"
DESCRIPTION="
Cherry Blossom is a 100% native application. Cherry Blossom uses Haiku \
specific APIs for handling media, so if Haiku can play your media files, then \
Cherry Blossom will also be able to play your files."
HOMEPAGE="https://github.com/HaikuArchives/CherryBlossom/"
COPYRIGHT="2010 Bryce Groff"
LICENSE="MIT"
REVISION="4"
srcGitRev="1f2804193deaf9fb08b1578c88ad846b6b15f5c8"
SOURCE_URI="https://github.com/HaikuArchives/CherryBlossom/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="757fec333986a791591a0fe5dcfff2db533cf2b73bab8a1a1661c745d9172ed3"
SOURCE_DIR="CherryBlossom-$srcGitRev"
ARCHITECTURES="?all x86_gcc2"
PROVIDES="
cherry_blossom = $portVersion
app:Cherry_Blossom = $portVersion
"
REQUIRES="
haiku
lib:libtag
"
BUILD_REQUIRES="
haiku_devel
devel:libtag
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
cmd:make
"
BUILD()
{
cd src
make OBJ_DIR=objects \
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}
INSTALL()
{
cd src
mkdir -p ${appsDir}
cp -a objects/CherryBlossom $appsDir
addAppDeskbarSymlink ${appsDir}/CherryBlossom
}