[aseprite] 292/308: Add patch to build against shared modp_b64.

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:45:21 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 3427d73b09f7c754e15fec5dc0eea9cb8fc01061
Author: Tobias Hansen <thansen at localhost.localdomain>
Date:   Mon Mar 7 23:41:25 2016 +0000

    Add patch to build against shared modp_b64.
---
 debian/patches/series                |  1 +
 debian/patches/shared_modp_b64.patch | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index d6d5253..bc2442a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ libx11-underlinkage.patch
 find-pixman-combine32.patch
 third_party_cmakelists.patch
 find_freetype.patch
+shared_modp_b64.patch
diff --git a/debian/patches/shared_modp_b64.patch b/debian/patches/shared_modp_b64.patch
new file mode 100644
index 0000000..8191145
--- /dev/null
+++ b/debian/patches/shared_modp_b64.patch
@@ -0,0 +1,35 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -47,6 +47,7 @@
+ 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_MODP_B64 "Use shared modp_b64 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)
+@@ -274,6 +275,12 @@
+ endif()
+ include_directories(${LIBCURL_INCLUDE_DIR})
+ 
++if(USE_SHARED_MODP_B64)
++  find_library(LIBMODP_LIBRARY NAMES modpbase64)
++  find_path(LIBMODP_INCLUDE_DIR NAMES modp_b64.h)
++endif()
++include_directories(${LIBMODP_INCLUDE_DIR})
++
+ # simpleini
+ include_directories(${SIMPLEINI_DIR})
+ 
+--- a/third_party/CMakeLists.txt
++++ b/third_party/CMakeLists.txt
+@@ -58,5 +58,8 @@
+   add_subdirectory(freetype2)
+ endif()
+ 
++if(NOT USE_SHARED_MODP_B64)
++  add_subdirectory(modp_b64)
++endif()
++
+ add_subdirectory(simpleini)
+-add_subdirectory(modp_b64)

-- 
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