mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
50 lines
1.1 KiB
Bash
50 lines
1.1 KiB
Bash
SUMMARY="A media player for the Haiku Operating System"
|
||
DESCRIPTION="
|
||
Cherry Blossom is a 100% native application. Cherry Blossom uses Haiku \
|
||
specific API’s 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
|
||
}
|