From 9bdf703e0f4ce1081ce58ec885756571c389a6a8 Mon Sep 17 00:00:00 2001 From: Adrian Jelen Date: Mon, 23 Dec 2013 02:33:31 +0000 Subject: [PATCH 1/3] Add Cherry Blossom recipe and patch --- .../cherry_blossom/cherry_blossom-1.0.recipe | 46 +++++++++++++++++++ .../patches/cherry_blossom-1.0.patch | 36 +++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe create mode 100644 haiku-apps/cherry_blossom/patches/cherry_blossom-1.0.patch diff --git a/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe b/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe new file mode 100644 index 000000000..9fed0758c --- /dev/null +++ b/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe @@ -0,0 +1,46 @@ +SUMMARY="Cherry Blossom is an iTunes style 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" + +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 +} +LICENSE="MIT" +COPYRIGHT="Copyright (c) 2010 Bryce Groff" + +DESCRIPTION=" Cherry Blossom is a 100% native application and does not try to be portable to any other operating system. 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." diff --git a/haiku-apps/cherry_blossom/patches/cherry_blossom-1.0.patch b/haiku-apps/cherry_blossom/patches/cherry_blossom-1.0.patch new file mode 100644 index 000000000..984da661e --- /dev/null +++ b/haiku-apps/cherry_blossom/patches/cherry_blossom-1.0.patch @@ -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 From e9e665c314a7d18f20ede81db8165c56a3befd79 Mon Sep 17 00:00:00 2001 From: Adrian Jelen Date: Mon, 23 Dec 2013 14:41:39 +0000 Subject: [PATCH 2/3] Move license, copyright and description to the top --- haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe b/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe index 9fed0758c..e1a8bc377 100644 --- a/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe +++ b/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe @@ -1,10 +1,14 @@ -SUMMARY="Cherry Blossom is an iTunes style media player for the Haiku Operating System." +DESCRIPTION="Cherry Blossom is a 100% native application and does not try to be portable to any other operating system. 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 @@ -40,7 +44,3 @@ INSTALL() cp -a objects/Cherry_Blossom $appsDir addAppDeskbarSymlink ${appsDir}/Cherry_Blossom } -LICENSE="MIT" -COPYRIGHT="Copyright (c) 2010 Bryce Groff" - -DESCRIPTION=" Cherry Blossom is a 100% native application and does not try to be portable to any other operating system. 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." From a8c79c70ccd4597ad780e4a144c560c1302da08d Mon Sep 17 00:00:00 2001 From: Adrian Jelen Date: Mon, 23 Dec 2013 14:45:54 +0000 Subject: [PATCH 3/3] Remove mention of other operating system --- haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe b/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe index e1a8bc377..545814d11 100644 --- a/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe +++ b/haiku-apps/cherry_blossom/cherry_blossom-1.0.recipe @@ -1,4 +1,4 @@ -DESCRIPTION="Cherry Blossom is a 100% native application and does not try to be portable to any other operating system. 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." +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"