19ae20e67e
Conflicts: build/jam/HaikuImage build/jam/OptionalBuildFeatures build/jam/OptionalPackages build/jam/UserBuildConfig.sample data/bin/installoptionalpackage src/apps/deskbar/DeskbarMenu.cpp src/servers/debug/DebugServer.cpp src/system/kernel/fs/vfs.cpp
348 lines
12 KiB
Plaintext
348 lines
12 KiB
Plaintext
# This file defines the optional lib packages that can be added to the Haiku image.
|
|
# It is directly included from HaikuImage -- all variables defined there can
|
|
# be used
|
|
|
|
|
|
# Available Optional Lib Packages:
|
|
# AllegroLibs
|
|
# box2d
|
|
# fribidi
|
|
# lcms
|
|
# libart_lgpl
|
|
# libmad
|
|
# libmikmod
|
|
# libmodplug
|
|
# libpaper
|
|
# physfs
|
|
# SDLLibs
|
|
# XiphLibs
|
|
|
|
|
|
local baseURL = http://haiku-files.org/files/optional-packages ;
|
|
local baseSourceURL = http://haiku-files.org/files/sources ;
|
|
|
|
|
|
# AllegroLibs
|
|
if [ IsOptionalHaikuImagePackageAdded AllegroLibs ] {
|
|
# libsdl and related libs
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package AllegroLibs available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
allegro-4.4.1.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/allegro-4.4.1.1-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
dumb-0.9.3-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/dumb-0.9.3-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
jgmod-0.99-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/jgmod-0.99-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
allegro-4.4.1.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/allegro-4.4.1.1-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
dumb-0.9.3-x86-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/dumb-0.9.3-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
jgmod-0.99-x86-gcc2-2011-08-02.zip
|
|
: $(baseURL)/lib/jgmod-0.99-x86-gcc2-2011-08-02.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# box2d
|
|
if [ IsOptionalHaikuImagePackageAdded box2d ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package box2d available for $(TARGET_ARCH)" ;
|
|
} else {
|
|
if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
box2d-2.1.2-r1a3-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/box2d-2.1.2-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
Echo "No optional package box2d available for $(TARGET_ARCH)-gcc2" ;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
# fribidi
|
|
if [ IsOptionalHaikuImagePackageAdded fribidi ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package fribidi available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
fribidi-0.19.2-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/fribidi-0.19.2-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
fribidi-0.19.2-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/fribidi-0.19.2-r1a3-x86-gcc2-2011-05-19.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# lcms
|
|
if [ IsOptionalHaikuImagePackageAdded lcms ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package lcms available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
lcms-2.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/lcms-2.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
lcms-2.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/lcms-2.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# libart_lgpl
|
|
if [ IsOptionalHaikuImagePackageAdded libart_lgpl ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package libart_lgpl available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libart_lgpl-2.3.21-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/libart_lgpl-2.3.21-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libart_lgpl-2.3.21-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/libart_lgpl-2.3.21-r1a3-x86-gcc2-2011-05-19.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# libmad
|
|
if [ IsOptionalHaikuImagePackageAdded libmad ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package libmad available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libmad-0.15.1b-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/libmad-0.15.1b-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libmad-0.15.1b-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/libmad-0.15.1b-r1a3-x86-gcc2-2011-05-19.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# libmikmod
|
|
if [ IsOptionalHaikuImagePackageAdded libmikmod ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package libmikmod available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libmikmod-3.1.11-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/libmikmod-3.1.11-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libmikmod-3.1.11-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/libmikmod-3.1.11-r1a3-x86-gcc2-2011-05-19.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# libmodplug
|
|
if [ IsOptionalHaikuImagePackageAdded libmodplug ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package libmodplug available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libmodplug-0.8.8.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/libmodplug-0.8.8.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libmodplug-0.8.8.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/libmodplug-0.8.8.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# libpaper
|
|
if [ IsOptionalHaikuImagePackageAdded libpaper ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package libpaper available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libpaper-1.1.24-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/libpaper-1.1.24-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libpaper-1.1.24-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/libpaper-1.1.24-r1a3-x86-gcc2-2011-05-19.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# physfs
|
|
if [ IsOptionalHaikuImagePackageAdded physfs ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package physfs available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
physfs-2.0.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/physfs-2.0.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: : true ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
physfs-2.0.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/physfs-2.0.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: : true ;
|
|
}
|
|
}
|
|
|
|
|
|
# SDLLibs
|
|
if [ IsOptionalHaikuImagePackageAdded SDLLibs ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package SDLLibs available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
libsdl-1.2-hg-r1a3-x86-gcc4-2011-05-29.zip
|
|
: $(baseURL)/lib/libsdl-1.2-hg-r1a3-x86-gcc4-2011-05-29.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
guilib-1.2.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/guilib-1.2.1-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-gfx-2.0.22-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/sdl-gfx-2.0.22-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-image-1.2.10-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/sdl-image-1.2.10-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-mixer-1.2.11-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/sdl-mixer-1.2.11-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-net-1.2.7-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/sdl-net-1.2.7-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-sound-1.0.3-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/sdl-sound-1.0.3-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-rtf-0.1.0-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/sdl-rtf-0.1.0-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-ttf-2.0.10-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/sdl-ttf-2.0.10-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sge-030809-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/sge-030809-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
smjpeg-0.2.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/smjpeg-0.2.1-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
smpeg-0.4.5-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/smpeg-0.4.5-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
libsdl-1.2-hg-r1a3-x86-gcc2-2011-05-29.zip
|
|
: $(baseURL)/lib/libsdl-1.2-hg-r1a3-x86-gcc2-2011-05-29.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
guilib-1.2.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/guilib-1.2.1-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-gfx-2.0.22-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/sdl-gfx-2.0.22-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-image-1.2.10-x86-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/sdl-image-1.2.10-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-mixer-1.2.11-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/sdl-mixer-1.2.11-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-net-1.2.7-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/sdl-net-1.2.7-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-sound-1.0.3-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/sdl-sound-1.0.3-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-rtf-0.1.0-r1a3-x86-gcc2-2011-05-20.zip
|
|
: $(baseURL)/lib/sdl-rtf-0.1.0-r1a3-x86-gcc2-2011-05-20.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sdl-ttf-2.0.10-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/sdl-ttf-2.0.10-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
sge-030809-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/sge-030809-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
smjpeg-0.2.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/smjpeg-0.2.1-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
smpeg-0.4.5-r1a3-x86-gcc2-2011-05-20.zip
|
|
: $(baseURL)/lib/smpeg-0.4.5-r1a3-x86-gcc2-2011-05-20.zip ;
|
|
}
|
|
}
|
|
|
|
|
|
# XiphLibs
|
|
if [ IsOptionalHaikuImagePackageAdded XiphLibs ] {
|
|
if $(TARGET_ARCH) != x86 {
|
|
Echo "No optional package XiphLibs available for $(TARGET_ARCH)" ;
|
|
} else if $(HAIKU_GCC_VERSION[1]) >= 4 {
|
|
InstallOptionalHaikuImagePackage
|
|
flac-1.2.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/flac-1.2.1-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
libao-1.0.0-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/libao-1.0.0-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
libogg-1.2.2-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/libogg-1.2.2-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
libtheora-1.1.1-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/libtheora-1.1.1-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
libvorbis-1.3.2-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/libvorbis-1.3.2-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
speex-1.2-git-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/speex-1.2-git-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
vorbis-tools-1.4.0-r1a3-x86-gcc4-2011-05-26.zip
|
|
: $(baseURL)/lib/vorbis-tools-1.4.0-r1a3-x86-gcc4-2011-05-26.zip ;
|
|
} else {
|
|
InstallOptionalHaikuImagePackage
|
|
flac-1.2.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/flac-1.2.1-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
libao-1.0.0-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/libao-1.0.0-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
libogg-1.2.2-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/libogg-1.2.2-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
libtheora-1.1.1-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/libtheora-1.1.1-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
libvorbis-1.3.2-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/libvorbis-1.3.2-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
speex-1.2-git-r1a3-x86-gcc2-2011-05-26.zip
|
|
: $(baseURL)/lib/speex-1.2-git-r1a3-x86-gcc2-2011-05-26.zip ;
|
|
InstallOptionalHaikuImagePackage
|
|
vorbis-tools-1.4.0-r1a3-x86-gcc2-2011-05-19.zip
|
|
: $(baseURL)/lib/vorbis-tools-1.4.0-r1a3-x86-gcc2-2011-05-19.zip ;
|
|
}
|
|
}
|
|
|