mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 19:48:53 +02:00
Fusionado haikuports/haikuports con master
This commit is contained in:
@@ -1,25 +0,0 @@
|
|||||||
DESCRIPTION="ARAnyM (Atari Running on Any Machine) is a multiplatform virtual machine for running Atari ST/TT/Falcon operating systems and applications."
|
|
||||||
HOMEPAGE="http://aranym.org/"
|
|
||||||
SRC_URI="cvs://:pserver:anoncvs@cvs.aranym.org:/var/repos/aranym"
|
|
||||||
REVISION="1"
|
|
||||||
STATUS_HAIKU="untested"
|
|
||||||
DEPEND="dev-libs/libcdio >= 0.82
|
|
||||||
media-libs/libsdl >= 1.2.10"
|
|
||||||
#CHECKSUM_MD5=""
|
|
||||||
|
|
||||||
BUILD()
|
|
||||||
{
|
|
||||||
cd aranym
|
|
||||||
./autogen.sh --help >/dev/null
|
|
||||||
./configure --prefix=/boot/apps/ARAnyM
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
INSTALL()
|
|
||||||
{
|
|
||||||
cd aranym
|
|
||||||
make install
|
|
||||||
}
|
|
||||||
|
|
||||||
COPYRIGHT="2001-2010 ARAnyM developer team"
|
|
||||||
LICENSE="GNU GPL v2"
|
|
||||||
52
app-emulation/aranym/aranym-0.9.15_git.recipe
Normal file
52
app-emulation/aranym/aranym-0.9.15_git.recipe
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
SUMMARY="ARAnyM (Atari Running on Any Machine)"
|
||||||
|
DESCRIPTION="ARAnyM (Atari Running on Any Machine)
|
||||||
|
is a multiplatform virtual machine for running
|
||||||
|
Atari ST/TT/Falcon operating systems and applications."
|
||||||
|
HOMEPAGE="http://aranym.org/"
|
||||||
|
SRC_URI="git://git.code.sf.net/p/aranym/code"
|
||||||
|
REVISION="1"
|
||||||
|
#CHECKSUM_MD5=""
|
||||||
|
COPYRIGHT="2001-2010 ARAnyM developer team"
|
||||||
|
LICENSE="GNU GPL v2"
|
||||||
|
|
||||||
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||||
|
|
||||||
|
SOURCE_DIR="code"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
aranym = $portVersion
|
||||||
|
app:aranym = $portVersion
|
||||||
|
cmd:aranym = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku
|
||||||
|
libsdl
|
||||||
|
lib:libsdl_image_1.2
|
||||||
|
"
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku_devel >= $haikuVersion
|
||||||
|
devel:libsdl_1.2 >= 0.10
|
||||||
|
devel:libSDL_image_1.2 >= 0.8.4
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:aclocal
|
||||||
|
cmd:autoconf
|
||||||
|
cmd:make
|
||||||
|
cmd:gcc
|
||||||
|
cmd:sdl_config
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
./autogen.sh --help >/dev/null
|
||||||
|
runConfigure ./configure
|
||||||
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make install
|
||||||
|
mimeset $prefix/bin/aranym
|
||||||
|
addAppDeskbarSymlink /bin/aranym ARAnyM
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
DESCRIPTION="Oricutron is an emulator for the Oric series of computers."
|
|
||||||
HOMEPAGE="http://code.google.com/p/oriculator/"
|
|
||||||
SRC_URI="svn://http://oriculator.googlecode.com/svn/trunk"
|
|
||||||
REVISION="1"
|
|
||||||
STATUS_HAIKU="untested"
|
|
||||||
DEPEND="media-libs/libsdl >= 1.2.10"
|
|
||||||
#CHECKSUM_MD5=""
|
|
||||||
|
|
||||||
BUILD()
|
|
||||||
{
|
|
||||||
cd trunk
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
INSTALL()
|
|
||||||
{
|
|
||||||
cd trunk
|
|
||||||
make install
|
|
||||||
}
|
|
||||||
|
|
||||||
COPYRIGHT="2009-2012 Peter Gordon"
|
|
||||||
LICENSE="GNU GPL v2"
|
|
||||||
48
app-emulation/oricutron/oricutron-1.1_svn.recipe
Normal file
48
app-emulation/oricutron/oricutron-1.1_svn.recipe
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
SUMMARY="Oricutron is an emulator for the Oric series of computers."
|
||||||
|
DESCRIPTION="Oricutron is an emulator for the Oric series of computers."
|
||||||
|
HOMEPAGE="http://code.google.com/p/oriculator/"
|
||||||
|
SRC_URI="svn+http://oriculator.googlecode.com/svn/trunk"
|
||||||
|
REVISION="1"
|
||||||
|
DEPEND="media-libs/libsdl >= 1.2.10"
|
||||||
|
#CHECKSUM_MD5=""
|
||||||
|
COPYRIGHT="2009-2012 Peter Gordon"
|
||||||
|
LICENSE="GNU GPL v2"
|
||||||
|
|
||||||
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||||
|
|
||||||
|
SOURCE_DIR="trunk"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
oricutron = $portVersion
|
||||||
|
app:oricutron = $portVersion
|
||||||
|
cmd:oricutron = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku
|
||||||
|
libsdl
|
||||||
|
"
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku_devel >= $haikuVersion
|
||||||
|
devel:libsdl_1.2 >= 0.10
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:make
|
||||||
|
cmd:gcc
|
||||||
|
cmd:sdl_config
|
||||||
|
"
|
||||||
|
#FIXME: Makefile uses svnversion to get the revision...
|
||||||
|
# subversion >= 1.6.18
|
||||||
|
# cmd:svnversion >= 1.6.18
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
make INSTALLDIR=$prefix/apps/Oricutron
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make install INSTALLDIR=$prefix/apps/Oricutron
|
||||||
|
mimeset $prefix/apps/Oricutron/oricutron
|
||||||
|
#addAppDeskbarSymlink $prefix/apps/Oricutron/oricutron Oricutron
|
||||||
|
}
|
||||||
|
|
||||||
90
dev-db/db/db-4.8.30.recipe
Normal file
90
dev-db/db/db-4.8.30.recipe
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
SUMMARY="The Oracle Berkeley Database"
|
||||||
|
DESCRIPTION="The Oracle Berkeley DB family of open source, embeddable databases provides developers with fast, reliable, local persistence with zero administration."
|
||||||
|
HOMEPAGE="http://www.oracle.com/technetwork/database/berkeleydb/index.html"
|
||||||
|
SRC_URI="http://download.oracle.com/berkeley-db/db-${portVersion}.tar.gz"
|
||||||
|
CHECKSUM_MD5="f80022099c5742cd179343556179aa8c"
|
||||||
|
REVISION="2"
|
||||||
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
|
LICENSE="SleepyCat"
|
||||||
|
COPYRIGHT="1990-2013, Oracle
|
||||||
|
1990-1995, The Regents of the University of California
|
||||||
|
1996-1996, The President and Fellows of Harvard University
|
||||||
|
2000-2005, INRIA - France Telecom"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
db${secondaryArchSuffix} = $portVersion compat >= 4.8
|
||||||
|
cmd:db_archive${secondaryArchSuffix}
|
||||||
|
cmd:db_checkpoint${secondaryArchSuffix}
|
||||||
|
cmd:db_deadlock${secondaryArchSuffix}
|
||||||
|
cmd:db_dump${secondaryArchSuffix}
|
||||||
|
cmd:db_hotbackup${secondaryArchSuffix}
|
||||||
|
cmd:db_load${secondaryArchSuffix}
|
||||||
|
cmd:db_printlog${secondaryArchSuffix}
|
||||||
|
cmd:db_recover${secondaryArchSuffix}
|
||||||
|
cmd:db_stat${secondaryArchSuffix}
|
||||||
|
cmd:db_sql${secondaryArchSuffix}
|
||||||
|
cmd:db_upgrade${secondaryArchSuffix}
|
||||||
|
cmd:db_verify${secondaryArchSuffix}
|
||||||
|
lib:libdb_4.8${secondaryArchSuffix}
|
||||||
|
lib:libdb_4${secondaryArchSuffix}
|
||||||
|
lib:libdb${secondaryArchSuffix}
|
||||||
|
lib:libdb_cxx${secondaryArchSuffix}
|
||||||
|
lib:libdb_cxx_4.8${secondaryArchSuffix}
|
||||||
|
lib:libdb_cxx_4${secondaryArchSuffix}
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||||
|
"
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:libtool
|
||||||
|
cmd:make
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES="db-${portVersion}.patch"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
cd build_unix
|
||||||
|
runConfigure ../dist/configure --enable-cxx
|
||||||
|
make $jobArgs
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
cd build_unix
|
||||||
|
make install
|
||||||
|
|
||||||
|
# prepare develop/lib
|
||||||
|
prepareInstalledDevelLibs libdb libdb-4.8 libdb_cxx libdb_cxx-4.8
|
||||||
|
fixPkgconfig
|
||||||
|
|
||||||
|
# devel package
|
||||||
|
packageEntries devel \
|
||||||
|
$developDir
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST()
|
||||||
|
{
|
||||||
|
cd build_unix
|
||||||
|
#make dbtest
|
||||||
|
}
|
||||||
|
|
||||||
|
# ----- devel package -------------------------------------------------------
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
db${secondaryArchSuffix}_devel = $portVersion compat >= 4.8
|
||||||
|
devel:libdb${secondaryArchSuffix} = $portVersion
|
||||||
|
devel:libdb_4.8${secondaryArchSuffix} = $portVersion
|
||||||
|
devel:libdb_cxx${secondaryArchSuffix} = $portVersion
|
||||||
|
devel:libdb_cxx_4.8${secondaryArchSuffix} = $portVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES_devel="
|
||||||
|
db$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
@@ -3,7 +3,7 @@ DESCRIPTION="The Oracle Berkeley DB family of open source, embeddable databases
|
|||||||
HOMEPAGE="http://www.oracle.com/technetwork/database/berkeleydb/index.html"
|
HOMEPAGE="http://www.oracle.com/technetwork/database/berkeleydb/index.html"
|
||||||
SRC_URI="http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz"
|
SRC_URI="http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz"
|
||||||
CHECKSUM_MD5="b99454564d5b4479750567031d66fe24"
|
CHECKSUM_MD5="b99454564d5b4479750567031d66fe24"
|
||||||
REVISION="2"
|
REVISION="3"
|
||||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||||
LICENSE="SleepyCat"
|
LICENSE="SleepyCat"
|
||||||
@@ -13,27 +13,27 @@ COPYRIGHT="1990-2013, Oracle
|
|||||||
2000-2005, INRIA - France Telecom"
|
2000-2005, INRIA - France Telecom"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
db${secondaryArchSuffix} = $portVersion
|
db${secondaryArchSuffix} = $portVersion compat >= 5.3
|
||||||
cmd:db_archive
|
cmd:db_archive${secondaryArchSuffix}
|
||||||
cmd:db_checkpoint
|
cmd:db_checkpoint${secondaryArchSuffix}
|
||||||
cmd:db_deadlock
|
cmd:db_deadlock${secondaryArchSuffix}
|
||||||
cmd:db_dump
|
cmd:db_dump${secondaryArchSuffix}
|
||||||
cmd:db_hotbackup
|
cmd:db_hotbackup${secondaryArchSuffix}
|
||||||
cmd:db_load
|
cmd:db_load${secondaryArchSuffix}
|
||||||
cmd:db_log_verify
|
cmd:db_log_verify${secondaryArchSuffix}
|
||||||
cmd:db_printlog
|
cmd:db_printlog${secondaryArchSuffix}
|
||||||
cmd:db_recover
|
cmd:db_recover${secondaryArchSuffix}
|
||||||
cmd:db_replicate
|
cmd:db_replicate${secondaryArchSuffix}
|
||||||
cmd:db_stat
|
cmd:db_stat${secondaryArchSuffix}
|
||||||
cmd:db_tuner
|
cmd:db_tuner${secondaryArchSuffix}
|
||||||
cmd:db_upgrade
|
cmd:db_upgrade${secondaryArchSuffix}
|
||||||
cmd:db_verify
|
cmd:db_verify${secondaryArchSuffix}
|
||||||
lib:libdb_5.3
|
lib:libdb_5.3${secondaryArchSuffix}
|
||||||
lib:libdb_5
|
lib:libdb_5${secondaryArchSuffix}
|
||||||
lib:libdb
|
lib:libdb${secondaryArchSuffix}
|
||||||
lib:libdb_cxx
|
lib:libdb_cxx${secondaryArchSuffix}
|
||||||
lib:libdb_cxx_5.3
|
lib:libdb_cxx_5.3${secondaryArchSuffix}
|
||||||
lib:libdb_cxx_5
|
lib:libdb_cxx_5${secondaryArchSuffix}
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku${secondaryArchSuffix} >= $haikuVersion
|
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||||
@@ -81,11 +81,11 @@ TEST()
|
|||||||
# ----- devel package -------------------------------------------------------
|
# ----- devel package -------------------------------------------------------
|
||||||
|
|
||||||
PROVIDES_devel="
|
PROVIDES_devel="
|
||||||
db${secondaryArchSuffix}_devel = $portVersion
|
db${secondaryArchSuffix}_devel = $portVersion compat >= 5.3
|
||||||
devel:libdb$secondaryArchSuffix = $portVersion
|
devel:libdb${secondaryArchSuffix} = $portVersion
|
||||||
devel:libdb_5.3$secondaryArchSuffix = $portVersion
|
devel:libdb_5.3${secondaryArchSuffix} = $portVersion
|
||||||
devel:libdb_cxx$secondaryArchSuffix = $portVersion
|
devel:libdb_cxx${secondaryArchSuffix} = $portVersion
|
||||||
devel:libdb_cxx_5.3$secondaryArchSuffix = $portVersion
|
devel:libdb_cxx_5.3${secondaryArchSuffix} = $portVersion
|
||||||
"
|
"
|
||||||
|
|
||||||
REQUIRES_devel="
|
REQUIRES_devel="
|
||||||
|
|||||||
79
dev-db/db/patches/db-4.8.30.patch
Normal file
79
dev-db/db/patches/db-4.8.30.patch
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
diff --git a/dist/Makefile.in b/dist/Makefile.in
|
||||||
|
index c4b0739..d3860b4 100644
|
||||||
|
--- a/dist/Makefile.in
|
||||||
|
+++ b/dist/Makefile.in
|
||||||
|
@@ -11,7 +11,7 @@ exec_prefix=@exec_prefix@
|
||||||
|
bindir= @bindir@
|
||||||
|
includedir=@includedir@
|
||||||
|
libdir= @libdir@
|
||||||
|
-docdir= $(prefix)/docs
|
||||||
|
+docdir= @docdir@
|
||||||
|
|
||||||
|
dmode= 755
|
||||||
|
emode= 555
|
||||||
|
diff --git a/dist/configure b/dist/configure
|
||||||
|
index 295fec1..e05e451 100755
|
||||||
|
--- a/dist/configure
|
||||||
|
+++ b/dist/configure
|
||||||
|
@@ -4533,6 +4533,8 @@ irix*) optimize_debug="-O2"
|
||||||
|
CPPFLAGS="$CPPFLAGS -D_SGI_MP_SOURCE";;
|
||||||
|
mpeix*) CPPFLAGS="$CPPFLAGS -D_POSIX_SOURCE -D_SOCKET_SOURCE"
|
||||||
|
LIBSO_LIBS="$LIBSO_LIBS -lsocket -lsvipc";;
|
||||||
|
+haiku*)
|
||||||
|
+ LIBSO_LIBS="$LIBSO_LIBS -lnetwork";;
|
||||||
|
osf*) CPPFLAGS="$CPPFLAGS -pthread";;
|
||||||
|
*qnx*) qnx_build="yes"
|
||||||
|
$as_echo "#define HAVE_QNX 1" >>confdefs.h
|
||||||
|
diff --git a/dist/configure.ac b/dist/configure.ac
|
||||||
|
index 4a99779..85dfb93 100644
|
||||||
|
--- a/dist/configure.ac
|
||||||
|
+++ b/dist/configure.ac
|
||||||
|
@@ -184,6 +184,8 @@ irix*) optimize_debug="-O2"
|
||||||
|
CPPFLAGS="$CPPFLAGS -D_SGI_MP_SOURCE";;
|
||||||
|
mpeix*) CPPFLAGS="$CPPFLAGS -D_POSIX_SOURCE -D_SOCKET_SOURCE"
|
||||||
|
LIBSO_LIBS="$LIBSO_LIBS -lsocket -lsvipc";;
|
||||||
|
+haiku*)
|
||||||
|
+ LIBSO_LIBS="$LIBSO_LIBS -lnetwork";;
|
||||||
|
osf*) CPPFLAGS="$CPPFLAGS -pthread";;
|
||||||
|
*qnx*) qnx_build="yes"
|
||||||
|
AC_DEFINE(HAVE_QNX)
|
||||||
|
@@ -519,6 +521,9 @@ AC_SEARCH_LIBS(sched_yield, rt)
|
||||||
|
# The Berkeley DB library calls fdatasync, only available in -lrt on Solaris.
|
||||||
|
AC_SEARCH_LIBS(fdatasync, rt)
|
||||||
|
|
||||||
|
+# Socket only available in -lnetwork on Haiku
|
||||||
|
+AC_SEARCH_LIBS(socket, network)
|
||||||
|
+
|
||||||
|
AC_SEARCH_LIBS(getaddrinfo, nsl socket)
|
||||||
|
AC_SEARCH_LIBS(hstrerror, resolv)
|
||||||
|
|
||||||
|
diff --git a/repmgr/repmgr_posix.c b/repmgr/repmgr_posix.c
|
||||||
|
index 741f378..6892469 100644
|
||||||
|
--- a/repmgr/repmgr_posix.c
|
||||||
|
+++ b/repmgr/repmgr_posix.c
|
||||||
|
@@ -488,11 +488,7 @@ __repmgr_wake_main_thread(env)
|
||||||
|
* PUBLIC: int __repmgr_writev __P((socket_t, db_iovec_t *, int, size_t *));
|
||||||
|
*/
|
||||||
|
int
|
||||||
|
-__repmgr_writev(fd, iovec, buf_count, byte_count_p)
|
||||||
|
- socket_t fd;
|
||||||
|
- db_iovec_t *iovec;
|
||||||
|
- int buf_count;
|
||||||
|
- size_t *byte_count_p;
|
||||||
|
+__repmgr_writev(socket_t fd, db_iovec_t *iovec, int buf_count, size_t *byte_count_p)
|
||||||
|
{
|
||||||
|
int nw;
|
||||||
|
|
||||||
|
@@ -506,11 +502,7 @@ __repmgr_writev(fd, iovec, buf_count, byte_count_p)
|
||||||
|
* PUBLIC: int __repmgr_readv __P((socket_t, db_iovec_t *, int, size_t *));
|
||||||
|
*/
|
||||||
|
int
|
||||||
|
-__repmgr_readv(fd, iovec, buf_count, byte_count_p)
|
||||||
|
- socket_t fd;
|
||||||
|
- db_iovec_t *iovec;
|
||||||
|
- int buf_count;
|
||||||
|
- size_t *byte_count_p;
|
||||||
|
+__repmgr_readv(socket_t fd, db_iovec_t *iovec, int buf_count, size_t *byte_count_p)
|
||||||
|
{
|
||||||
|
ssize_t nw;
|
||||||
|
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
#FIXME: Appending installation info to /packages/html_parser-3.70-1/.self/lib/perl5/5.18.1/BePC-haiku/perllocal.pod
|
||||||
|
#FIXME: Warning: prerequisite HTML::Tagset 3 not found.
|
||||||
SUMMARY="Encode or decode strings with HTML entities"
|
SUMMARY="Encode or decode strings with HTML entities"
|
||||||
HOMEPAGE="http://search.cpan.org/~gaas/HTML-Parser/"
|
HOMEPAGE="http://search.cpan.org/~gaas/HTML-Parser/"
|
||||||
SRC_URI="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.70.tar.gz"
|
SRC_URI="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-3.70.tar.gz"
|
||||||
@@ -5,9 +7,12 @@ REVISION="1"
|
|||||||
ARCHITECTURES="x86 x86_gcc2"
|
ARCHITECTURES="x86 x86_gcc2"
|
||||||
CHECKSUM_MD5="efe7699f5ece3a230d730a3682359c08"
|
CHECKSUM_MD5="efe7699f5ece3a230d730a3682359c08"
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
HTML_Parser = $portVersion
|
html_parser = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku >= $haikuVersion
|
||||||
|
perl
|
||||||
"
|
"
|
||||||
REQUIRES="perl"
|
|
||||||
COPYRIGHT="
|
COPYRIGHT="
|
||||||
1995-2009 Gisle Aas. All rights reserved.
|
1995-2009 Gisle Aas. All rights reserved.
|
||||||
1999-2000 Michael A. Chase. All rights reserved.
|
1999-2000 Michael A. Chase. All rights reserved.
|
||||||
@@ -17,16 +22,20 @@ LICENSE="
|
|||||||
Artistic (Perl)
|
Artistic (Perl)
|
||||||
"
|
"
|
||||||
|
|
||||||
BUILD_REQUIRES="make"
|
BUILD_REQUIRES="
|
||||||
|
haiku_devel >= $haikuVersion
|
||||||
|
cmd:gcc
|
||||||
|
cmd:make
|
||||||
|
cmd:perl"
|
||||||
|
|
||||||
SOURCE_DIR="HTML-Parser-3.70"
|
SOURCE_DIR="HTML-Parser-3.70"
|
||||||
BUILD() {
|
BUILD() {
|
||||||
perl Makefile.PL
|
perl Makefile.PL PREFIX=$prefix
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
INSTALL() {
|
INSTALL() {
|
||||||
make install DESTDIR=$prefix
|
make install
|
||||||
}
|
}
|
||||||
|
|
||||||
DESCRIPTION="
|
DESCRIPTION="
|
||||||
43
haiku-games/becheckers/becheckers-1.0.1.recipe
Normal file
43
haiku-games/becheckers/becheckers-1.0.1.recipe
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
SUMMARY="A simple checkers game for two players"
|
||||||
|
DESCRIPTION="
|
||||||
|
BeCheckers is a simple checkers game for two players.
|
||||||
|
It follows almost all American Checker Federation (ACF)
|
||||||
|
rules.
|
||||||
|
"
|
||||||
|
HOMEPAGE="https://github.com/HaikuArchives/BeCheckers"
|
||||||
|
SRC_URI="git://github.com/HaikuArchives/BeCheckers.git#930d3e37339c4570d58e59c3300dba7d69dd4439"
|
||||||
|
LICENSE="MIT"
|
||||||
|
COPYRIGHT="2000 Jeremy J. Gibbons"
|
||||||
|
REVISION="1"
|
||||||
|
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
BeCheckers = $portVersion
|
||||||
|
app:BeCheckers = $portVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES="
|
||||||
|
haiku >= $haikuVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku_devel >= $haikuVersion
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:gcc
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
cd trunk
|
||||||
|
g++ -o BeCheckers -lbe \
|
||||||
|
BeCheckers.cpp BeCheckersWindow.cpp \
|
||||||
|
Checker.cpp CheckerBoard.cpp
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
mkdir -p $appsDir
|
||||||
|
cp trunk/BeCheckers $appsDir
|
||||||
|
addAppDeskbarSymlink $appsDir/BeCheckers
|
||||||
|
}
|
||||||
140
sys-libs/mesa/mesa-10.0.0.recipe
Normal file
140
sys-libs/mesa/mesa-10.0.0.recipe
Normal file
@@ -0,0 +1,140 @@
|
|||||||
|
SUMMARY="Multi-platform GL implementation"
|
||||||
|
DESCRIPTION="Mesa is an open-source implementation of the OpenGL specification.
|
||||||
|
The OpenGL specification documents a system for rendering interactive 3D graphics.
|
||||||
|
|
||||||
|
Mesa fills the role of the Haiku OpenGL kit providing 3D rendering to Haiku applications.
|
||||||
|
"
|
||||||
|
HOMEPAGE="http://www.mesa3d.org/"
|
||||||
|
COPYRIGHT="1999-2013 Brian Paul All Rights Reserved."
|
||||||
|
LICENSE="MIT"
|
||||||
|
SRC_URI="ftp://ftp.freedesktop.org/pub/mesa/10.0/MesaLib-10.0.0.tar.bz2"
|
||||||
|
CHECKSUM_MD5="f3fe55d9735bea158bbe97ed9a0da819"
|
||||||
|
REVISION="1"
|
||||||
|
ARCHITECTURES="x86 x86_64"
|
||||||
|
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||||
|
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||||
|
# for a different secondary architecture.
|
||||||
|
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||||
|
fi
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
mesa$secondaryArchSuffix = $portVersion compat >= 10.0
|
||||||
|
lib:libGL$secondaryArchSuffix = $portVersion compat >= 10.0
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix >= $haikuVersion
|
||||||
|
"
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
"
|
||||||
|
|
||||||
|
# We're locked to LLVM 3.2 as 3.3 is broken at the moment on Haiku.
|
||||||
|
# Mesa should build with any newer LLVM version however.
|
||||||
|
# As LLVM is only linked into the swpipe renderer (and not libGL)
|
||||||
|
# changing LLVM versions shouldn't introduce any abi issues.
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||||
|
libxml2_python
|
||||||
|
llvm == 3.2
|
||||||
|
cmd:bison
|
||||||
|
cmd:find
|
||||||
|
cmd:flex
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:scons
|
||||||
|
cmd:sed
|
||||||
|
"
|
||||||
|
|
||||||
|
SOURCE_DIR="Mesa-$portVersion"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
if [ -n "$secondaryArchSuffix" ]; then
|
||||||
|
export HAIKU_SECONDARY_ARCH="$effectiveTargetArchitecture"
|
||||||
|
fi
|
||||||
|
scons $jobArgs build=release
|
||||||
|
#scons $jobArgs build=debug
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
mesaBuildDir=build/haiku-$effectiveTargetArchitecture
|
||||||
|
|
||||||
|
mkdir -p $includeDir/GL
|
||||||
|
cp include/GL/gl.h $includeDir/GL/
|
||||||
|
cp include/GL/gl_mangle.h $includeDir/GL/
|
||||||
|
cp include/GL/glext.h $includeDir/GL/
|
||||||
|
|
||||||
|
# libGL.so makes up the core of our OpenGL kit
|
||||||
|
mkdir -p $libDir
|
||||||
|
cp $(find $mesaBuildDir -name 'libGL.so') $libDir
|
||||||
|
|
||||||
|
# Our rendering add-ons
|
||||||
|
mkdir -p $addOnsDir/opengl
|
||||||
|
cp $(find $mesaBuildDir -name 'libswrast.so') \
|
||||||
|
"$addOnsDir/opengl/Software Rasterizer"
|
||||||
|
cp $(find $mesaBuildDir -name 'libswpipe.so') \
|
||||||
|
"$addOnsDir/opengl/Software Pipe"
|
||||||
|
|
||||||
|
# devel package
|
||||||
|
packageEntries devel \
|
||||||
|
$developDir
|
||||||
|
|
||||||
|
# swpipe renderer package
|
||||||
|
packageEntries swpipe \
|
||||||
|
"$addOnsDir/opengl/Software Pipe"
|
||||||
|
|
||||||
|
# swrast renderer package
|
||||||
|
packageEntries swrast \
|
||||||
|
"$addOnsDir/opengl/Software Rasterizer"
|
||||||
|
}
|
||||||
|
|
||||||
|
# ----- devel package -------------------------------------------------------
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
mesa${secondaryArchSuffix}_devel = $portVersion
|
||||||
|
devel:libGL$secondaryArchSuffix = $portVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRES_devel="
|
||||||
|
mesa$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|
||||||
|
# ===== Mesa OpenGL Add-ons ==================================================
|
||||||
|
# ----- swrast package -------------------------------------------------------
|
||||||
|
|
||||||
|
SUMMARY_swrast="Mesa software rasterization renderer"
|
||||||
|
DESCRIPTION_swrast="This 3D BGLRenderer add-on provides Mesa software
|
||||||
|
rasterization on Haiku systems. Software rasterization performs all
|
||||||
|
3D rendering on the systems CPU and doesn't require any specialized
|
||||||
|
hardware. Software rasterization is generally considered a fallback
|
||||||
|
3D rendering method as performance is limited.
|
||||||
|
"
|
||||||
|
PROVIDES_swrast="
|
||||||
|
mesa${secondaryArchSuffix}_swrast = $portVersion
|
||||||
|
"
|
||||||
|
REQUIRED_swrast="
|
||||||
|
mesa$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|
||||||
|
# ===== Gallium OpenGL Add-ons ===============================================
|
||||||
|
# ----- swpipe package -------------------------------------------------------
|
||||||
|
|
||||||
|
SUMMARY_swpipe="Mesa LLVM enhanced Gallium software pipe renderer"
|
||||||
|
DESCRIPTION_swpipe="This 3D BGLRenderer add-on provides Gallium LLVM
|
||||||
|
enhanced software rendering. Software pipe rendering performs all
|
||||||
|
3D rendering on the systems CPU and doesn't require any specialized
|
||||||
|
hardware. The usage of LLVM over traditional rasterization gives this
|
||||||
|
renderer a boost in performance.
|
||||||
|
|
||||||
|
Gallium software pipe rendering is in an extremely early state as of
|
||||||
|
this version of Mesa, and may not function as expected.
|
||||||
|
"
|
||||||
|
PROVIDES_swpipe="
|
||||||
|
mesa${secondaryArchSuffix}_swpipe = $portVersion
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRED_swpipe="
|
||||||
|
mesa$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|
||||||
@@ -1,97 +0,0 @@
|
|||||||
SUMMARY="Multi-platform GL implementation"
|
|
||||||
DESCRIPTION="Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics.
|
|
||||||
|
|
||||||
Mesa fills the role of the Haiku OpenGL kit.
|
|
||||||
"
|
|
||||||
|
|
||||||
HOMEPAGE="http://www.mesa3d.org/"
|
|
||||||
COPYRIGHT="1999-2013 Brian Paul All Rights Reserved."
|
|
||||||
LICENSE="MIT"
|
|
||||||
SRC_URI="git://anongit.freedesktop.org/mesa/mesa"
|
|
||||||
REVISION="1"
|
|
||||||
ARCHITECTURES="x86 x86_64"
|
|
||||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
|
||||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
|
||||||
# for a different secondary architecture.
|
|
||||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
|
||||||
fi
|
|
||||||
SECONDARY_ARCHITECTURES="x86"
|
|
||||||
|
|
||||||
PROVIDES="
|
|
||||||
mesa$secondaryArchSuffix = $portVersion compat >= 9.3
|
|
||||||
lib:libGL$secondaryArchSuffix = $portVersion compat >= 9.3
|
|
||||||
"
|
|
||||||
REQUIRES="
|
|
||||||
haiku$secondaryArchSuffix >= $haikuVersion
|
|
||||||
"
|
|
||||||
BUILD_REQUIRES="
|
|
||||||
"
|
|
||||||
BUILD_PREREQUIRES="
|
|
||||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
||||||
libxml2_python
|
|
||||||
llvm >= 3.2
|
|
||||||
cmd:bison
|
|
||||||
cmd:find
|
|
||||||
cmd:flex
|
|
||||||
cmd:gcc$secondaryArchSuffix
|
|
||||||
cmd:ld$secondaryArchSuffix
|
|
||||||
cmd:scons
|
|
||||||
cmd:sed
|
|
||||||
"
|
|
||||||
|
|
||||||
SOURCE_DIR="Mesa-$portVersion"
|
|
||||||
|
|
||||||
BUILD()
|
|
||||||
{
|
|
||||||
if [ -n "$secondaryArchSuffix" ]; then
|
|
||||||
export HAIKU_SECONDARY_ARCH="$effectiveTargetArchitecture"
|
|
||||||
fi
|
|
||||||
scons $jobArgs build=release
|
|
||||||
#scons $jobArgs build=debug
|
|
||||||
}
|
|
||||||
|
|
||||||
INSTALL()
|
|
||||||
{
|
|
||||||
mesaBuildDir=build/haiku-$effectiveTargetArchitecture
|
|
||||||
|
|
||||||
mkdir -p $includeDir/GL
|
|
||||||
cp include/GL/gl.h $includeDir/GL/
|
|
||||||
cp include/GL/gl_mangle.h $includeDir/GL/
|
|
||||||
cp include/GL/glext.h $includeDir/GL/
|
|
||||||
|
|
||||||
# libGL.so makes up the core of our OpenGL kit
|
|
||||||
mkdir -p $libDir
|
|
||||||
cp $(find $mesaBuildDir -name 'libGL.so') $libDir
|
|
||||||
|
|
||||||
# Our rendering add-ons
|
|
||||||
mkdir -p $addOnsDir/opengl
|
|
||||||
cp $(find $mesaBuildDir -name 'libswpipe.so') $addOnsDir/opengl/Softpipe
|
|
||||||
|
|
||||||
# devel package
|
|
||||||
packageEntries devel \
|
|
||||||
$developDir
|
|
||||||
# swpipe renderer package
|
|
||||||
packageEntries swpipe \
|
|
||||||
$addOnsDir
|
|
||||||
}
|
|
||||||
|
|
||||||
# ----- devel package -------------------------------------------------------
|
|
||||||
|
|
||||||
PROVIDES_devel="
|
|
||||||
mesa${secondaryArchSuffix}_devel = $portVersion
|
|
||||||
devel:libGL$secondaryArchSuffix = $portVersion
|
|
||||||
"
|
|
||||||
|
|
||||||
REQUIRES_devel="
|
|
||||||
mesa$secondaryArchSuffix == $portVersion base
|
|
||||||
"
|
|
||||||
|
|
||||||
# ----- swpipe package -------------------------------------------------------
|
|
||||||
|
|
||||||
PROVIDES_swpipe="
|
|
||||||
mesa${secondaryArchSuffix}_swpipe = $portVersion
|
|
||||||
"
|
|
||||||
|
|
||||||
REQUIRED_swpipe="
|
|
||||||
mesa$secondaryArchSuffix == $portVersion base
|
|
||||||
"
|
|
||||||
Reference in New Issue
Block a user