mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
Add QuickLaunch 0.9.5 contributed by Humdinger
Patch file to fix building on gcc4 and small changes to the bep by me.
resolves issue #1
(cherry picked from commit c182159bc8)
This commit is contained in:
committed by
Oliver Tappe
parent
adf174fe32
commit
e4feb6cecc
16
haiku-apps/quicklaunch/patches/quicklaunch-0.9.5.patch
Normal file
16
haiku-apps/quicklaunch/patches/quicklaunch-0.9.5.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git quicklaunch-0.9.5/Makefile quicklaunch-0.9.5/Makefile
|
||||
index 8c0337c..469546c 100644
|
||||
--- quicklaunch-0.9.5/Makefile
|
||||
+++ quicklaunch-0.9.5/Makefile
|
||||
@@ -4,9 +4,9 @@ TYPE= APP
|
||||
SRCS= QuickLaunch.cpp QLFilter.cpp MainWindow.cpp MainListView.cpp MainListItem.cpp SetupWindow.cpp SetupListView.cpp QLSettings.cpp
|
||||
RSRCS= QuickLaunch.rsrc
|
||||
ifeq ($(gccver),2)
|
||||
- LIBS= /boot/develop/lib/x86/libbe.so /boot/system/lib/libstdc++.r4.so /boot/develop/lib/x86/libroot_debug.so /boot/develop/lib/x86/libtracker.so
|
||||
+ LIBS= be stdc++.r4 tracker
|
||||
else
|
||||
- LIBS= /boot/system/lib/gcc4/libbe.so /boot/system/lib/gcc4/libstdc++.so /boot/system/lib/gcc4/libroot_debug.so /boot/system/lib/gcc4/libtracker.so
|
||||
+ LIBS= be stdc++ tracker
|
||||
endif
|
||||
LIBPATHS=
|
||||
SYSTEM_INCLUDE_PATHS= /boot/develop/headers/be /boot/develop/headers/cpp /boot/develop/headers/posix /boot/home/config/include
|
||||
35
haiku-apps/quicklaunch/quicklaunch-0.9.5.bep
Normal file
35
haiku-apps/quicklaunch/quicklaunch-0.9.5.bep
Normal file
@@ -0,0 +1,35 @@
|
||||
DESCRIPTION="A tool to quickly start any installed application"
|
||||
HOMEPAGE="https://sourceforge.net/p/quicklaunch-h"
|
||||
SRC_URI="git://git.code.sf.net/p/quicklaunch-h/code"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
|
||||
BUILD {
|
||||
cd quicklaunch-0.9.5
|
||||
rc -o QuickLaunch.rsrc QuickLaunch.rdef
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd quicklaunch-0.9.5
|
||||
cd objects.x86-gcc`setgcc | tail -c -2`-release
|
||||
mkdir -p $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch
|
||||
cp -af QuickLaunch $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch
|
||||
cd ..
|
||||
unzip -o ReadMe.zip -d $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch
|
||||
chmod +x Add\ to\ Deskbar.sh
|
||||
cp -af Add\ to\ Deskbar.sh $DESTDIR`finddir B_APPS_DIRECTORY`/QuickLaunch
|
||||
mkdir -p $DESTDIR`finddir B_USER_DESKBAR_DIRECTORY`/Applications
|
||||
ln -sf `finddir B_APPS_DIRECTORY`/QuickLaunch/QuickLaunch \
|
||||
$DESTDIR`finddir B_USER_DESKBAR_DIRECTORY`/Applications
|
||||
if [-z "$DESTDIR" ]
|
||||
then
|
||||
cd `finddir B_APPS_DIRECTORY`/QuickLaunch
|
||||
desklink --remove=QuickLaunch
|
||||
desklink "cmd=Remove replicant:desklink --remove=QuickLaunch" QuickLaunch
|
||||
fi
|
||||
}
|
||||
|
||||
LICENSE="MIT"
|
||||
COPYRIGHT="2013 Humdinger"
|
||||
Reference in New Issue
Block a user