[aseprite] 21/128: Make Skia the default back-end on OS X

Tobias Hansen thansen at moszumanska.debian.org
Mon May 9 21:24:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 82f4d2150734bbdae1d9589636703b5232a9591d
Author: David Capello <davidcapello at gmail.com>
Date:   Tue Apr 19 14:09:01 2016 -0300

    Make Skia the default back-end on OS X
    
    Related to #1066 and #1074
---
 CMakeLists.txt | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fffd3a5..be2b349 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -57,8 +57,6 @@ option(USE_SHARED_TINYXML "Use your installed copy of tinyxml" off)
 option(USE_SHARED_PIXMAN  "Use your installed copy of pixman" off)
 option(USE_SHARED_FREETYPE "Use shared FreeType library" off)
 option(USE_SHARED_ALLEGRO4 "Use shared Allegro 4 library (without resize support)" off)
-option(USE_ALLEG4_BACKEND "Use Allegro 4 backend" on)
-option(USE_SKIA_BACKEND   "Use Skia backend" off)
 option(ENABLE_MEMLEAK     "Enable memory-leaks detector (only for developers)" off)
 option(ENABLE_UPDATER     "Enable automatic check for updates" on)
 option(ENABLE_WEBSERVER   "Enable support to run a webserver (for HTML5 gamedev)" off)
@@ -68,6 +66,15 @@ option(ENABLE_STEAM       "Compile with Steam library" off)
 option(FULLSCREEN_PLATFORM "Enable fullscreen by default" off)
 set(CUSTOM_WEBSITE_URL "" CACHE STRING "Enable custom local webserver to check updates")
 
+if(APPLE)
+  # On OS X Allegro isn't supported anymore
+  set(USE_ALLEG4_BACKEND off)
+  set(USE_SKIA_BACKEND on)
+else()
+  option(USE_ALLEG4_BACKEND "Use Allegro 4 backend" on)
+  option(USE_SKIA_BACKEND   "Use Skia backend" off)
+endif()
+
 ######################################################################
 # Profile build type
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list