mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Merged in Admixior/haikuports (pull request #77)
Add Cherry Blossom recipe and patch
This commit is contained in:
46
haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe
Normal file
46
haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe
Normal file
@@ -0,0 +1,46 @@
|
||||
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."
|
||||
SUMMARY="Cherry Blossom is media player for the Haiku Operating System."
|
||||
HOMEPAGE="http://gitorious.org/cherry-blossom/"
|
||||
SRC_URI="git+http://gitorious.org/cherry-blossom/cherry-blossom.git"
|
||||
REVISION="1"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2010 Bryce Groff"
|
||||
|
||||
PROVIDES="
|
||||
cherry_blosom = $portVersion
|
||||
app:cherry_blosom = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
taglib_devel
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:mkdepend
|
||||
"
|
||||
|
||||
PATCHES="cherry_blossom-1.0.patch"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
make OBJ_DIR=objects \
|
||||
BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p ${appsDir}
|
||||
cp -a objects/Cherry_Blossom $appsDir
|
||||
addAppDeskbarSymlink ${appsDir}/Cherry_Blossom
|
||||
}
|
||||
36
haiku-apps/cherry_blossom/patches/cherry_blossom-1.0.patch
Normal file
36
haiku-apps/cherry_blossom/patches/cherry_blossom-1.0.patch
Normal file
@@ -0,0 +1,36 @@
|
||||
diff --git a/makefile b/makefile
|
||||
new file mode 100644
|
||||
index 0000000..d134de0
|
||||
--- /dev/null
|
||||
+++ b/makefile
|
||||
@@ -0,0 +1,30 @@
|
||||
+NAME= Cherry_Blossom
|
||||
+
|
||||
+TYPE= APP
|
||||
+
|
||||
+SRCS= interface/DrawingTidbits.cpp \
|
||||
+interface/PositionToolTip.cpp \
|
||||
+interface/TransportButton.cpp \
|
||||
+interface/PeakView.cpp \
|
||||
+interface/SeekSlider.cpp \
|
||||
+interface/VolumeSlider.cpp \
|
||||
+views/AlbumView.cpp \
|
||||
+views/ControlView.cpp \
|
||||
+views/MusicView.cpp \
|
||||
+views/SearchView.cpp \
|
||||
+views/ArtistView.cpp \
|
||||
+views/GenreView.cpp \
|
||||
+views/PlayListView.cpp \
|
||||
+views/SongView.cpp \
|
||||
+CherryBlossom.cpp \
|
||||
+CherryBlossomWindow.cpp \
|
||||
+
|
||||
+SYSTEM_INCLUDE_PATHS = /boot/system/develop/headers/private/interface/ \
|
||||
+ /boot/system/develop/headers/private/shared/
|
||||
+
|
||||
+
|
||||
+LIBS= be locale tag
|
||||
+
|
||||
+APP_VERSION = 1.0
|
||||
+
|
||||
+include $(BUILDHOME)/etc/makefile-engine
|
||||
Reference in New Issue
Block a user