diff --git a/package/public/qcake/pkgmapper.in b/package/public/qcake/pkgmapper.in new file mode 100644 index 000000000..bdb854644 --- /dev/null +++ b/package/public/qcake/pkgmapper.in @@ -0,0 +1,3 @@ +case $pkg in + qcake*) pkg=qcake ;; +esac diff --git a/package/public/qcake/preconfig.in b/package/public/qcake/preconfig.in new file mode 100644 index 000000000..e5b192ff9 --- /dev/null +++ b/package/public/qcake/preconfig.in @@ -0,0 +1,6 @@ +pkgfork qcake qcake-cat +pkgfork qcake qcake-soundcat +pkgfork qcake qcake-3dcat +pkgfork qcake qcake-splcat +pkgfork qcake qcake-shadercat +pkgfork qcake qcake-demos diff --git a/package/public/qcake/qcake.conf b/package/public/qcake/qcake.conf new file mode 100644 index 000000000..0da80d24d --- /dev/null +++ b/package/public/qcake/qcake.conf @@ -0,0 +1,9 @@ +hook_add premake 5 "qmake" +hook_add postmake 5 qcake_pm + +qcake_pm () +{ + mv bin/qcake{,player} $bindir/ + mkdir -p $datadir/qcake + mv bin/* $datadir/qcake +} diff --git a/package/public/qcake/qcake.desc b/package/public/qcake/qcake.desc new file mode 100644 index 000000000..378d37a79 --- /dev/null +++ b/package/public/qcake/qcake.desc @@ -0,0 +1,99 @@ +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/public/qcake/qcake.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[T] QCake (GPL) is a programming environment as well as a scene editor for +[T] 3D games based on PLIB (TM). QCake will support almost all PLIB functions. +[T] +[T] Currently implemented features: +[T] * Platforms: Linux on i386 and PPC, Mac OS-X 10.3.x +[T] * Hierarchical object tree +[T] * Non-blocking scene display with PLIB +[T] * Lens flare, fire and fog +[T] * Particle and wave systems +[T] * Cameras +[T] * Project file using XML-OPML format +[T] * Player controlled by keyboard, mouse and joystick +[T] * Physics with ODE +[T] * Collision detection with OPCODE +[T] * Barrier Object +[T] * Body Object +[T] * Player camera: TV, 2D, Ego modes +[T] * Dynamic sky +[T] * SPL script language +[T] * 3D sound with OpenAL +[T] * Sound- and object catalogue +[T] * GUI with PLIB user interface +[T] * md2 bone-animation +[T] * Pathfinding with AStar +[T] * pixel and vertex shader with GLSL +[T] * QCake-Player to release your project + +[U] http://www.qcake.org + +[A] Harald Krippel +[A] Roland Schwartz +[A] Harald Leibrecht +[A] David Kuderer +[A] Clifford Wolf +[M] The ROCK Linux Project + +[C] extra/development extra/game + +[L] GPL +[S] Stable +[P] X -----5---9 800.000 + +#if xpkg == qcake +[I] The Gamemaker +[V] 0.5.8.3 +[D] 1380258668 qcake-0.5.8.3.tgz http://www.qcake.org/kcake_distri/ +#endif + +#if xpkg == qcake-soundcat +[I] Sound Catalogue for QCake - The Gamemaker +[V] 20040510 +[D] 1990169688 soundcat-20040510.tgz http://qcake.the-k.net/download/ +#endif + +#if xpkg == qcake-3dcat +[I] 3D Catalogue for QCake - The Gamemaker +[V] 20050831 +[D] 1920630494 cat3d-20050831.tgz http://www.qcake.org/kcake_distri/ +#endif + +#if xpkg == qcake-shadercat +[I] Shader Catalogue for QCake - The Gamemaker +[V] 20060524 +[D] 1017246189 shadercat-20060524.tgz http://www.qcake.org/kcake_distri/ +#endif + +#if xpkg == qcake-splcat +[I] SPL Script Catalogue for QCake - The Gamemaker +[V] 20060524 +[D] 2006742738 splcat-20060524.tgz http://www.qcake.org/kcake_distri/ +#endif + +#if xpkg == qcake-demos +[I] Demos for QCake - The Gamemaker +[V] 20060817 +[D] 2285494171 demos-20060817.tgz http://qcake.the-k.net/download/ +#endif diff --git a/package/public/qcake/qcake.patch b/package/public/qcake/qcake.patch new file mode 100644 index 000000000..5d1ecbb3d --- /dev/null +++ b/package/public/qcake/qcake.patch @@ -0,0 +1,56 @@ +diff -dur /usr/src/qcake-0.5.8.3/qcakeplayer/qcakeplayer.pro qcake-0.5.8.3/qcakeplayer/qcakeplayer.pro +--- /usr/src/qcake-0.5.8.3/qcakeplayer/qcakeplayer.pro 2006-10-13 13:14:32.000000000 +0200 ++++ qcake-0.5.8.3/qcakeplayer/qcakeplayer.pro 2006-12-07 21:34:00.000000000 +0100 +@@ -83,9 +83,11 @@ + # -lssl \ + -ldl \ + -lpcre \ +- /usr/local/lib/libode.a \ ++ /usr/lib/libode.a \ + -lplibnet \ + -lopenal \ +-# -lalut \ ++ -lalut \ + -lGL \ +- -lGLU ++ -lGLU \ ++ -lreadline \ ++ -lncurses +diff -dur /usr/src/qcake-0.5.8.3/src/audioenv.cpp qcake-0.5.8.3/src/audioenv.cpp +--- /usr/src/qcake-0.5.8.3/src/audioenv.cpp 2006-09-12 10:57:09.000000000 +0200 ++++ qcake-0.5.8.3/src/audioenv.cpp 2006-12-07 20:59:53.000000000 +0100 +@@ -261,7 +261,7 @@ + + #ifdef LINUX + // debian sarge +- alutLoadVorbisp = (vorbisLoader *) alGetProcAddress((ALubyte *) VORBIS_FUNC); ++ alutLoadVorbisp = (vorbisLoader *) alGetProcAddress( VORBIS_FUNC); + // debian etch + // alutLoadVorbisp = (vorbisLoader *) alGetProcAddress( VORBIS_FUNC); + #endif +diff -dur /usr/src/qcake-0.5.8.3/src/src.pro qcake-0.5.8.3/src/src.pro +--- /usr/src/qcake-0.5.8.3/src/src.pro 2006-10-13 13:14:17.000000000 +0200 ++++ qcake-0.5.8.3/src/src.pro 2006-12-07 21:34:58.000000000 +0100 +@@ -157,12 +157,12 @@ + # -lssl \ + -ldl \ + -lpcre \ +- /usr/local/lib/libode.a \ ++ /usr/lib/libode.a \ + # -lplibsl \ + -lplibnet \ + # -lplibsm \ + -lopenal \ +-# -lalut \ ++ -lalut \ + -lGL \ + # test + # -lICE \ +@@ -172,4 +172,6 @@ + # -lX11 \ + # -lm \ + # /test +- -lGLU ++ -lGLU \ ++ -lreadline \ ++ -lncurses