aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Talavera-Greenberg <jessetalavera@aol.com>2017-07-14 23:45:50 -0400
committerJesse Talavera-Greenberg <jessetalavera@aol.com>2017-07-14 23:45:50 -0400
commitaf1aa04b56c2933fe0699a77d12cdd841aadf89d (patch)
tree109afd0099528993c2d80b5605ae1d4d804d3144
parent6d986f5112ab9dfa4f3a67e13a347cc6f40f62b1 (diff)
downloadvcpkg-af1aa04b56c2933fe0699a77d12cdd841aadf89d.tar.gz
vcpkg-af1aa04b56c2933fe0699a77d12cdd841aadf89d.zip
Add support for physfs and libtheora to allegro5
-rw-r--r--ports/allegro5/CONTROL2
-rw-r--r--ports/allegro5/portfile.cmake39
2 files changed, 39 insertions, 2 deletions
diff --git a/ports/allegro5/CONTROL b/ports/allegro5/CONTROL
index 2f7ff0ccd..becfe1966 100644
--- a/ports/allegro5/CONTROL
+++ b/ports/allegro5/CONTROL
@@ -1,4 +1,4 @@
Source: allegro5
Version: 5.2.1.0
Description: Allegro is a cross-platform library mainly aimed at video game and multimedia programming. It handles common, low-level tasks such as creating windows, accepting user input, loading data, drawing images, playing sounds, etc. and generally abstracting away the underlying platform. However, Allegro is not a game engine: you are free to design and structure your program as you like.
-Build-Depends: opengl, zlib, freetype, libogg, libvorbis, opus, libflac, openal-soft, libpng, bzip2 \ No newline at end of file
+Build-Depends: opengl, zlib, freetype, libogg, libvorbis, opus, libflac, openal-soft, libpng, bzip2, physfs, libtheora \ No newline at end of file
diff --git a/ports/allegro5/portfile.cmake b/ports/allegro5/portfile.cmake
index 0028a090a..7481f7f3c 100644
--- a/ports/allegro5/portfile.cmake
+++ b/ports/allegro5/portfile.cmake
@@ -22,7 +22,44 @@ vcpkg_extract_source_archive(${ARCHIVE})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA # Disable this option if project cannot be built with Ninja
- OPTIONS -DSHARED=OFF -DWANT_DOCS=OFF -DALLEGRO_SDL=OFF -DWANT_STATIC_RUNTIME=ON -DWANT_DEMO=OFF -DWANT_EXAMPLES=OFF -DWANT_CURL_EXAMPLE=OFF -DWANT_TESTS=OFF
+ OPTIONS
+ -DWANT_DOCS=OFF
+ -DALLEGRO_SDL=OFF
+ -DWANT_DEMO=OFF
+ -DWANT_EXAMPLES=OFF
+ -DWANT_CURL_EXAMPLE=OFF
+ -DWANT_TESTS=OFF
+ -DWANT_AUDIO=ON
+ -DWANT_COLOR=ON
+ -DWANT_D3D=ON
+ -DWANT_D3D9EX=ON
+ -DWANT_DSOUND=ON
+ -DWANT_FLAC=ON
+ -DWANT_FONT=ON
+ -DWANT_GLES2=ON
+ -DWANT_GLES3=ON
+ -DWANT_IMAGE=ON
+ -DWANT_IMAGE_JPG=ON
+ -DWANT_IMAGE_PNG=ON
+ -DWANT_MEMFILE=ON
+ -DWANT_MODAUDIO=ON
+ -DWANT_NATIVE_DIALOG=ON
+ -DWANT_NATIVE_IMAGE_LOADER=ON
+ -DWANT_OGG_VIDEO=ON
+ -DWANT_OPENAL=ON
+ -DWANT_OPENGL=ON
+ -DWANT_OPUS=ON
+ -DWANT_PHYSFS=ON
+ -DWANT_POPUP_EXAMPLES=OFF
+ -DWANT_PRIMITIVES=ON
+ -DWANT_RELEASE_LOGGING=OFF
+ -DWANT_SHADERS_D3D=ON
+ -DWANT_SHADERS_GL=ON
+ -DWANT_TREMOR=ON
+ -DWANT_TTF=ON
+ -DWANT_VIDEO=ON
+ -DWANT_VORBIS=ON
+ -DOPENAL_INCLUDE_DIR=${CURRENT_INSTALLED_DIR}/include
OPTIONS_RELEASE -DWANT_ALLOW_SSE=ON
OPTIONS_DEBUG -DWANT_ALLOW_SSE=OFF
)