mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-30 03:58:51 +02:00
Added Mr.Peeps port
This commit is contained in:
44
haiku-apps/mrpeeps/mrpeeps-1.2_beta.recipe
Normal file
44
haiku-apps/mrpeeps/mrpeeps-1.2_beta.recipe
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
SUMMARY="Easy to use powerful contact manager for haiku"
|
||||||
|
DESCRIPTION="MrPeeps is an app for managing People files that has more
|
||||||
|
features than other contact managers. For more info read README file"
|
||||||
|
HOMEPAGE="https://github.com/HaikuArchives/MrPeeps"
|
||||||
|
SRC_URI="git+https://github.com/HaikuArchives/MrPeeps#ce2e65"
|
||||||
|
LICENSE="MIT"
|
||||||
|
REVISION="1"
|
||||||
|
PROVIDES="
|
||||||
|
MrPeeps = $portVersion
|
||||||
|
app:MrPeeps = $portVersion
|
||||||
|
cmd:MrPeeps = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku >= $haikuVersion
|
||||||
|
"
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku_devel >= $haikuVersion
|
||||||
|
cmd:gcc
|
||||||
|
"
|
||||||
|
ARCHITECTURES="x86 x86_gcc2 x86_64"
|
||||||
|
PATCHES="MrPeeps-1.2_beta.patch"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
cd src
|
||||||
|
cp Locale\ Support/* ./
|
||||||
|
g++ -lbe -ltranslation -lroot AboutWindow.cpp BitmapDump.cpp \
|
||||||
|
BitmapView.cpp BStringList.cpp DataView.cpp Formatting.cpp \
|
||||||
|
IntroView.cpp ListData.cpp MrPeeps.cpp NewTextControl.cpp \
|
||||||
|
PeepsItem.cpp PeepsWindow.cpp PeopleList.cpp LocaleRoster.cpp \
|
||||||
|
Locale.cpp TextFile.cpp -o ../MrPeeps
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
mrPeepsDir=$appsDir/MrPeeps
|
||||||
|
mkdir -p $mrPeepsDir
|
||||||
|
[ -h $binDir ] || mkdir -p $binDir
|
||||||
|
cp -f ./MrPeeps $mrPeepsDir
|
||||||
|
ln -sfn $mrPeepsDir/MrPeeps $binDir/
|
||||||
|
addAppDeskbarSymlink $mrPeepsDir/MrPeeps
|
||||||
|
}
|
||||||
|
|
||||||
|
COPYRIGHT="2003 DarkWyrm"
|
||||||
30
haiku-apps/mrpeeps/patches/MrPeeps-1.2_beta.patch
Normal file
30
haiku-apps/mrpeeps/patches/MrPeeps-1.2_beta.patch
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
diff -Naur -x .git /boot/home/MrPeeps/src/ListData.h ./src/ListData.h
|
||||||
|
--- /boot/home/MrPeeps/src/ListData.h 2013-12-01 19:17:49.441188352 +0400
|
||||||
|
+++ ./src/ListData.h 2013-12-01 20:25:27.129236992 +0400
|
||||||
|
@@ -2,6 +2,7 @@
|
||||||
|
#define LIST_DATA
|
||||||
|
|
||||||
|
#include <Entry.h>
|
||||||
|
+#include <Node.h>
|
||||||
|
#include <List.h>
|
||||||
|
#include <String.h>
|
||||||
|
#include "BStringList.h"
|
||||||
|
diff -Naur -x .git /boot/home/MrPeeps/src/PeepsWindow.h ./src/PeepsWindow.h
|
||||||
|
--- /boot/home/MrPeeps/src/PeepsWindow.h 2013-12-01 19:17:49.467927040 +0400
|
||||||
|
+++ ./src/PeepsWindow.h 2013-12-01 20:24:59.028573696 +0400
|
||||||
|
@@ -8,6 +8,8 @@
|
||||||
|
#include <Button.h>
|
||||||
|
#include <Menu.h>
|
||||||
|
#include <MenuItem.h>
|
||||||
|
+#include <ListItem.h>
|
||||||
|
+#include <Entry.h>
|
||||||
|
#include "NewTextControl.h"
|
||||||
|
#include <Messenger.h>
|
||||||
|
#include "LocaleRoster.h"
|
||||||
|
@@ -117,4 +119,4 @@
|
||||||
|
|
||||||
|
#define TRANSLATE(x) gCurrentLocale->Translate(x).String()
|
||||||
|
|
||||||
|
-#endif
|
||||||
|
\ No newline at end of file
|
||||||
|
+#endif
|
||||||
Reference in New Issue
Block a user