mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 19:48:53 +02:00
Merge branch 'master' of https://bitbucket.org/AdrianArroyoCalle/haikuports
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"
|
||||
SRC_URI="http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz"
|
||||
CHECKSUM_MD5="b99454564d5b4479750567031d66fe24"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
||||
LICENSE="SleepyCat"
|
||||
@@ -13,27 +13,27 @@ COPYRIGHT="1990-2013, Oracle
|
||||
2000-2005, INRIA - France Telecom"
|
||||
|
||||
PROVIDES="
|
||||
db${secondaryArchSuffix} = $portVersion
|
||||
cmd:db_archive
|
||||
cmd:db_checkpoint
|
||||
cmd:db_deadlock
|
||||
cmd:db_dump
|
||||
cmd:db_hotbackup
|
||||
cmd:db_load
|
||||
cmd:db_log_verify
|
||||
cmd:db_printlog
|
||||
cmd:db_recover
|
||||
cmd:db_replicate
|
||||
cmd:db_stat
|
||||
cmd:db_tuner
|
||||
cmd:db_upgrade
|
||||
cmd:db_verify
|
||||
lib:libdb_5.3
|
||||
lib:libdb_5
|
||||
lib:libdb
|
||||
lib:libdb_cxx
|
||||
lib:libdb_cxx_5.3
|
||||
lib:libdb_cxx_5
|
||||
db${secondaryArchSuffix} = $portVersion compat >= 5.3
|
||||
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_log_verify${secondaryArchSuffix}
|
||||
cmd:db_printlog${secondaryArchSuffix}
|
||||
cmd:db_recover${secondaryArchSuffix}
|
||||
cmd:db_replicate${secondaryArchSuffix}
|
||||
cmd:db_stat${secondaryArchSuffix}
|
||||
cmd:db_tuner${secondaryArchSuffix}
|
||||
cmd:db_upgrade${secondaryArchSuffix}
|
||||
cmd:db_verify${secondaryArchSuffix}
|
||||
lib:libdb_5.3${secondaryArchSuffix}
|
||||
lib:libdb_5${secondaryArchSuffix}
|
||||
lib:libdb${secondaryArchSuffix}
|
||||
lib:libdb_cxx${secondaryArchSuffix}
|
||||
lib:libdb_cxx_5.3${secondaryArchSuffix}
|
||||
lib:libdb_cxx_5${secondaryArchSuffix}
|
||||
"
|
||||
REQUIRES="
|
||||
haiku${secondaryArchSuffix} >= $haikuVersion
|
||||
@@ -81,11 +81,11 @@ TEST()
|
||||
# ----- devel package -------------------------------------------------------
|
||||
|
||||
PROVIDES_devel="
|
||||
db${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libdb$secondaryArchSuffix = $portVersion
|
||||
devel:libdb_5.3$secondaryArchSuffix = $portVersion
|
||||
devel:libdb_cxx$secondaryArchSuffix = $portVersion
|
||||
devel:libdb_cxx_5.3$secondaryArchSuffix = $portVersion
|
||||
db${secondaryArchSuffix}_devel = $portVersion compat >= 5.3
|
||||
devel:libdb${secondaryArchSuffix} = $portVersion
|
||||
devel:libdb_5.3${secondaryArchSuffix} = $portVersion
|
||||
devel:libdb_cxx${secondaryArchSuffix} = $portVersion
|
||||
devel:libdb_cxx_5.3${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
|
||||
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"
|
||||
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"
|
||||
@@ -5,9 +7,12 @@ REVISION="1"
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
CHECKSUM_MD5="efe7699f5ece3a230d730a3682359c08"
|
||||
PROVIDES="
|
||||
HTML_Parser = $portVersion
|
||||
html_parser = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
perl
|
||||
"
|
||||
REQUIRES="perl"
|
||||
COPYRIGHT="
|
||||
1995-2009 Gisle Aas. All rights reserved.
|
||||
1999-2000 Michael A. Chase. All rights reserved.
|
||||
@@ -17,16 +22,20 @@ LICENSE="
|
||||
Artistic (Perl)
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="make"
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
cmd:perl"
|
||||
|
||||
SOURCE_DIR="HTML-Parser-3.70"
|
||||
BUILD() {
|
||||
perl Makefile.PL
|
||||
perl Makefile.PL PREFIX=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL() {
|
||||
make install DESTDIR=$prefix
|
||||
make install
|
||||
}
|
||||
|
||||
DESCRIPTION="
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY="ccache is a fast compiler cache."
|
||||
DESCRIPTION="ccache is a compiler cache. It speeds up recompilation by caching previous compilations and detecting when same compilation is being done again. Supported languages are C, C++, Objective-C and Objective-C++."
|
||||
HOMEPAGE="http://ccache.samba.org/"
|
||||
DESCRIPTION="ccache is a compiler cache. It speeds up recompilation by caching previous compilations and detecting when same compilation is being done again. Supported languages are C, C++, Objective-C and Objective-C++."
|
||||
HOMEPAGE="http://ccache.samba.org/"
|
||||
SRC_URI="http://samba.org/ftp/ccache/ccache-3.1.9.tar.bz2"
|
||||
REVISION="1"
|
||||
|
||||
@@ -11,15 +11,21 @@ COPYRIGHT="2002-2007 Andrew Tridgell
|
||||
CHECKSUM_MD5="65f48376a91d3651d6527ca568858be8"
|
||||
|
||||
ARCHITECTURES="x86 x86_gcc2"
|
||||
|
||||
PROVIDES="
|
||||
ccache = $portVersion
|
||||
cmd:ccache
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
lib:libroot >= $haikuVersion
|
||||
haiku >= $haikuVersion
|
||||
lib:libz >= 1
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY="fastdep is a fast dependency generator for C/C++ files."
|
||||
SUMMARY="fastdep is a fast dependency generator for C/C++ files."
|
||||
DESCRIPTION="fastdep is a preprocessor which generates dependency information suitable for Makefile inclusion from C or C++ source files. Meant to run on slower hardware, it is several orders of magnitude faster than gcc."
|
||||
HOMEPAGE="http://www.irule.be/bvh/c++/fastdep/"
|
||||
HOMEPAGE="http://www.irule.be/bvh/c++/fastdep/"
|
||||
SRC_URI="http://ports-space.haiku-files.org/dev-util/source/fastdep-0.16.tar.gz"
|
||||
REVISION="1"
|
||||
CHECKSUM_MD5="838c08b790a5dfe9a50a4aec7947bc54"
|
||||
@@ -14,14 +14,15 @@ PATCHES="fastdep-0.16.patch"
|
||||
PROVIDES="
|
||||
cmd:fastdep = $portVersion compat >= 0
|
||||
"
|
||||
|
||||
|
||||
REQUIRES="
|
||||
lib:libstdc++.r4
|
||||
lib:libroot >= $haikuVersion"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
@@ -40,5 +41,3 @@ INSTALL()
|
||||
mkdir -p $binDir
|
||||
cp -f fastdep $binDir
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
SUMMARY="Paladin is a open source integrated development environment (IDE)"
|
||||
DESCRIPTION="Paladin is an open source integrated development environment (IDE) modeled after BeOS' BeIDE."
|
||||
HOMEPAGE="http://paladin.sourceforge.net"
|
||||
DESCRIPTION="Paladin is an open source integrated development environment (IDE) modeled after BeOS' BeIDE."
|
||||
HOMEPAGE="http://paladin.sourceforge.net"
|
||||
SRC_URI="http://sourceforge.net/projects/paladin/files/Paladin-1.3.src.zip/download"
|
||||
REVISION="2"
|
||||
CHECKSUM_MD5="5cf4b445f77626f71956ccc325ed77dc"
|
||||
@@ -25,6 +25,8 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
lib:libpcre
|
||||
cmd:fastdep
|
||||
cmd:ccache
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libpcre
|
||||
@@ -51,12 +53,12 @@ BUILD()
|
||||
cd Paladin
|
||||
./build.sh
|
||||
cd ..
|
||||
|
||||
|
||||
#Rez
|
||||
cd PalEdit/rez/Sources
|
||||
g++ -o rez *.cpp -I. -lbe
|
||||
cd ../../..
|
||||
|
||||
|
||||
#PalEdit
|
||||
cd PalEdit/Sources
|
||||
g++ -shared -fPIC -o libhekkel.so HAppResFile.cpp HButtonBar.cpp HColorControl.cpp \
|
||||
@@ -76,7 +78,7 @@ BUILD()
|
||||
utf-support.cpp Utils.cpp libhekkel.so -lpcre -lbe -ltracker -lmail -ltextencoding -ltranslation \
|
||||
-lnetwork
|
||||
cd ../..
|
||||
|
||||
|
||||
#SymbolFinder
|
||||
cd SymbolFinder
|
||||
g++ -o SymbolFinder *.cpp -lbe -lroot
|
||||
@@ -88,23 +90,23 @@ INSTALL()
|
||||
mkdir -p $appsDir/Paladin
|
||||
mkdir -p $libDir
|
||||
mkdir -p $binDir
|
||||
|
||||
|
||||
#Paladin
|
||||
cp Paladin/Paladin $appsDir/Paladin
|
||||
cp Paladin/README $appsDir/Paladin
|
||||
cp -r Templates $appsDir/Paladin
|
||||
cp -r Paladin/Licenses $appsDir/Paladin
|
||||
|
||||
|
||||
#Rez
|
||||
cp PalEdit/rez/Sources/rez $binDir
|
||||
|
||||
|
||||
#PalEdit
|
||||
cp PalEdit/Sources/PalEdit $appsDir/Paladin/PalEdit
|
||||
cp PalEdit/Sources/libhekkel.so $libDir
|
||||
|
||||
|
||||
#SymbolFinder
|
||||
cp SymbolFinder/SymbolFinder $appsDir/Paladin
|
||||
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Paladin/Paladin Paladin
|
||||
addAppDeskbarSymlink $appsDir/Paladin/PalEdit PalEdit
|
||||
addAppDeskbarSymlink $appsDir/Paladin/SymbolFinder "Symbol Finder"
|
||||
|
||||
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
|
||||
}
|
||||
@@ -21,7 +21,7 @@ REQUIRES="
|
||||
lib:libglu$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libtiff$secondaryArchSuffix
|
||||
# lib:libtiff$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
|
||||
@@ -1,28 +1,66 @@
|
||||
SUMMARY="ocp - Open Cubic Player"
|
||||
DESCRIPTION="ocp - Open Cubic Player, a music player ported from DOS"
|
||||
HOMEPAGE="http://stian.cubic.org/project-ocp.php"
|
||||
SRC_URI="git://git.code.sf.net/p/opencubicplayer/code"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND="media-libs/libvorbis >= 1.3.1
|
||||
media-libs/libogg >= 1.2.2
|
||||
sys-devel/gettext >= 0.18.1.1
|
||||
media-libs/libsdl >= 1.2.14"
|
||||
# media-libs/flac >= 1.2.1"
|
||||
# ncurses zlib ... cf. ocp.spec
|
||||
MESSAGE="This port requires gcc4"
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="1994-2012 Niklas Beisert, Stian Skjelstad and others"
|
||||
#DEPEND="media-libs/libvorbis >= 1.3.1
|
||||
# media-libs/libogg >= 1.2.2
|
||||
# sys-devel/gettext >= 0.18.1.1
|
||||
# media-libs/libsdl >= 1.2.14"
|
||||
## media-libs/flac >= 1.2.1"
|
||||
## ncurses zlib ... cf. ocp.spec
|
||||
|
||||
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"
|
||||
else
|
||||
ARCHITECTURES="$ARCHITECTURES !x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
ocp$secondaryArchSuffix = $portVersion
|
||||
cmd:ocp = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
libsdl$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libogg$secondaryArchSuffix >= 0.8.0
|
||||
lib:libvorbis$secondaryArchSuffix >= 0.4.5
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
devel:libsdl_1.2$secondaryArchSuffix >= 0.10
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libncurses$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix >= 1.2.8
|
||||
devel:libogg$secondaryArchSuffix >= 0.8.0
|
||||
devel:libvorbis$secondaryArchSuffix >= 0.4.5
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:autoconf
|
||||
cmd:make
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:sdl_config
|
||||
"
|
||||
|
||||
|
||||
SOURCE_DIR="code"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd code
|
||||
autoconf
|
||||
CPPFLAGS=-I/boot/common/include LDFLAGS=-L/boot/common/lib ./configure --prefix=`finddir B_COMMON_DIRECTORY`
|
||||
./configure --prefix=$prefix
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd code
|
||||
make install
|
||||
}
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="1994-2012 Niklas Beisert, Stian Skjelstad and others"
|
||||
|
||||
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