From d3fb83731d657ebf4daa0e354912eea9e655da55 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Sat, 10 Jan 2015 15:43:07 +0000 Subject: [PATCH 1/4] Add a new Haiku App, DeskNotes Needs some fixes, merge requested upstream: https://gitorious.org/desknotes/desknotes/merge_requests/1 --- haiku-apps/desknotes/desknotes-1.1.recipe | 47 +++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 haiku-apps/desknotes/desknotes-1.1.recipe diff --git a/haiku-apps/desknotes/desknotes-1.1.recipe b/haiku-apps/desknotes/desknotes-1.1.recipe new file mode 100644 index 000000000..4825b0176 --- /dev/null +++ b/haiku-apps/desknotes/desknotes-1.1.recipe @@ -0,0 +1,47 @@ +SUMMARY="A simple note replicant-capable program" +DESCRIPTION=" +With DeskNotes, you can now leave little notes all over your desktop \ +reminding you of things to do. The main difference between DeskNotes and \ +other Note utilities for Haiku, is that DeskNotes is designed to be used \ +as a replicant. This means that when you tear a note from the DeskNotes \ +application onto your desktop, it stays there! You don't have to save it \ +before rebooting, or fiddle with your bootscript. +" + +HOMEPAGE="https://github.com/HaikuArchives/DeskNotes" +SRC_URI="git+https://github.com/HaikuArchives/DeskNotes#93f0654745e3dc317152bdfc49ae8b6d23bf443b" +REVISION="1" +LICENSE="BSD (3-clause)" +COPYRIGHT="2000 Colin Stewart" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + desknotes = $portVersion + app:desknotes = $portVersion + " +REQUIRES=" + haiku + lib:libstdc++ + " +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:make + cmd:gcc + cmd:mkdepend + " + +BUILD() +{ + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + mkdir -p $appsDir + cp -a objects/DeskNotes $appsDir + addAppDeskbarSymlink $appsDir/DeskNotes +} From bf19e07f6f94573535fa24cc9b7b54c8e442ef12 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Sat, 10 Jan 2015 18:16:42 +0000 Subject: [PATCH 2/4] Add a Haiku app, PonpokoDiff --- .../ponpokodiff/ponpokodiff-0.2.0.recipe | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 haiku-apps/ponpokodiff/ponpokodiff-0.2.0.recipe diff --git a/haiku-apps/ponpokodiff/ponpokodiff-0.2.0.recipe b/haiku-apps/ponpokodiff/ponpokodiff-0.2.0.recipe new file mode 100644 index 000000000..ab87b14b5 --- /dev/null +++ b/haiku-apps/ponpokodiff/ponpokodiff-0.2.0.recipe @@ -0,0 +1,44 @@ +SUMMARY="A GUI-based diff application" +DESCRIPTION=" +PonpokoDiff is a graphical file comparison utility. \ +It can compare two files and show its differences graphically. \ +Currently, the comparison of folders is not supported. \ +You can also use it as an extenal diff command of Subversion (--diff-cmd). +" + +HOMEPAGE="https://code.google.com/p/ponpokodiff/" +SRC_URI="git+https://github.com/HaikuArchives/PonpokoDiff#f68f59d8f359ddbaeec89e2c8a72da93142c139d" +REVISION="1" +LICENSE="MIT" +COPYRIGHT="2008 PonpokoDiff Project Contributors" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + ponpokodiff = $portVersion + app:ponpokodiff = $portVersion + " +REQUIRES=" + haiku + " +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:make + cmd:gcc + cmd:mkdepend + " + +BUILD() +{ + make $jobArgs OBJ_DIR=objects +} + +INSTALL() +{ + mkdir -p $appsDir + cp -a objects/PonpokoDiff $appsDir + addAppDeskbarSymlink $appsDir/PonpokoDiff +} From 2105a5cbe25085df77ca922cb7f444a38d6e3dcf Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Sat, 10 Jan 2015 13:53:14 -0500 Subject: [PATCH 3/4] hyperstudio: create recipe. --- .../hyperstudio/hyperstudio-1.1_git.recipe | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 haiku-apps/hyperstudio/hyperstudio-1.1_git.recipe diff --git a/haiku-apps/hyperstudio/hyperstudio-1.1_git.recipe b/haiku-apps/hyperstudio/hyperstudio-1.1_git.recipe new file mode 100644 index 000000000..b89c7b327 --- /dev/null +++ b/haiku-apps/hyperstudio/hyperstudio-1.1_git.recipe @@ -0,0 +1,49 @@ +SUMMARY="Multitrack audio recording and editing suite." +DESCRIPTION="HyperStudio is a multitrack audio recording and editing \ +suite with an easy to master graphical user interface. It's based off of \ +BeAE, and improves on BeAE in numerous ways." +HOMEPAGE="https://github.com/HaikuArchives/HyperStudio" +LICENSE="MIT" +COPYRIGHT="2007 Pier Luigi Fiorini" +srcrev="59b31f0bdc3f0e49feb7d9892faa67222ffb3f95" +SRC_URI="https://github.com/HaikuArchives/HyperStudio/archive/$srcrev.tar.gz" +CHECKSUM_SHA256="03c2a7fc68d2a95bce9c873bf6d8a32494370861a23dc8e2689285e7e201a4c9" +SOURCE_DIR="HyperStudio-$srcrev" + +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + hyperstudio = $portVersion + app:HyperStudio = $portVersion + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:gcc + cmd:awk + cmd:jam + cmd:ld + " + +BUILD() +{ + ./configure + jam -q + # multi-job builds don't work reliably +} + +INSTALL() +{ + mkdir -p $appsDir + cp -a generated/distro-haiku-$(getarch | sed s/_/-/)-release/HyperStudio $appsDir + cp -a generated/distro-haiku-$(getarch | sed s/_/-/)-release/HyperStudioRecorder $appsDir + + addAppDeskbarSymlink $appsDir/HyperStudio + addAppDeskbarSymlink $appsDir/HyperStudioRecorder +} From 1971004f25c951c01bbdcb8f722fafc30424aefe Mon Sep 17 00:00:00 2001 From: Markus Himmel Date: Sun, 11 Jan 2015 21:03:55 +0000 Subject: [PATCH 4/4] Add bpg recipe --- media-libs/bpg/bpg-0.9.4.recipe | 78 +++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 media-libs/bpg/bpg-0.9.4.recipe diff --git a/media-libs/bpg/bpg-0.9.4.recipe b/media-libs/bpg/bpg-0.9.4.recipe new file mode 100644 index 000000000..4b6be21e9 --- /dev/null +++ b/media-libs/bpg/bpg-0.9.4.recipe @@ -0,0 +1,78 @@ +SUMMARY="Tools and library for the Better Prortable Graphics format" +DESCRIPTION="BPG is an image format based on the HEVC standard that aims to \ +provide a replacement for the JPEG format with better quality and smaller file\ + size." + +HOMEPAGE="http://bellard.org/bpg/" +LICENSE=" + MIT + GNU LGPL v2.1 + " +COPYRIGHT="2014 Fabrice Bellard" + + +SRC_URI="http://bellard.org/bpg/libbpg-0.9.4.tar.gz" +CHECKSUM_SHA256="9986d66408f36fb678014bfcbb693c0f8358767719bc05797e4af54fa4237c2a" +SOURCE_DIR="libbpg-$portVersion" + +REVISION="1" +ARCHITECTURES="x86 ?x86_64" +# libbpg requires gcc4, so we can only do x86_gcc2 if it's a hybrid +if [ $effectiveTargetArchitecture != x86_gcc2 ]; then + ARCHITECTURES="$ARCHITECTURES x86_gcc2" +else + ARCHITECTURES="$ARCHITECTURES !x86_gcc2" +fi + +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + bpg = $portVersion + cmd:bpgenc$secondaryArchSuffix + cmd:bpgdec$secondaryArchSuffix + " + +REQUIRES=" + haiku$secondaryArchSuffix + lib:libstdc++$secondaryArchSuffix + lib:libpng$secondaryArchSuffix + lib:libjpeg$secondaryArchSuffix + " + +PROVIDES_devel=" + libbpg${secondaryArchSuffix}_devel = $portVersion + devel:libbpg$secondaryArchSuffix = $portVersion + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libpng$secondaryArchSuffix + devel:libjpeg$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + cmd:make + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + " + +BUILD() +{ + sed -i 's/-lpthread//g' Makefile + sed -i 's/-lm//g' Makefile + sed -i 's/-lrt//g' Makefile + make +} + +INSTALL() +{ + mkdir -p $binDir + + sed -i "s,\$(prefix)/bin,$binDir,g" Makefile + make install + + mkdir -p $libDir + cp libbpg.a $libDir + prepareInstalledDevelLib libbpg + packageEntries devel $developLibDir +}