forked from conan-io/conan-center-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(conan-io#25613) lunasvg: add version 3.0.0
* lunasvg: add version 3.0.0 * rm cmake files * disable "LUNASVG_BUILD_EXAMPLES" * lunasvg: add version 3.0.0 --------- Co-authored-by: Ernesto de Gracia Herranz <ernestodegraciah@gmail.com>
- Loading branch information
Showing
7 changed files
with
83 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
recipes/lunasvg/all/patches/3.0.0-0001-use-cci-package.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
diff --git a/CMakeLists.txt b/CMakeLists.txt | ||
index 0e7ed4b..9c4f8c7 100644 | ||
--- a/CMakeLists.txt | ||
+++ b/CMakeLists.txt | ||
@@ -6,16 +6,16 @@ set(LUNASVG_VERSION_MICRO 0) | ||
|
||
project(lunasvg LANGUAGES CXX VERSION ${LUNASVG_VERSION_MAJOR}.${LUNASVG_VERSION_MINOR}.${LUNASVG_VERSION_MICRO}) | ||
|
||
-include(FetchContent) | ||
-FetchContent_Declare(plutovg | ||
- GIT_REPOSITORY https://github.com/sammycage/plutovg.git | ||
- GIT_TAG main | ||
- GIT_SHALLOW ON | ||
- FIND_PACKAGE_ARGS 0.0.4 | ||
-) | ||
- | ||
-FetchContent_MakeAvailable(plutovg) | ||
- | ||
+# include(FetchContent) | ||
+# FetchContent_Declare(plutovg | ||
+# GIT_REPOSITORY https://github.com/sammycage/plutovg.git | ||
+# GIT_TAG main | ||
+# GIT_SHALLOW ON | ||
+# FIND_PACKAGE_ARGS 0.0.4 | ||
+# ) | ||
+ | ||
+# FetchContent_MakeAvailable(plutovg) | ||
+find_package(plutovg CONFIG REQUIRED) | ||
set(lunasvg_sources | ||
source/lunasvg.cpp | ||
source/graphics.cpp | ||
diff --git a/source/graphics.h b/source/graphics.h | ||
index 775f53c..5676f01 100644 | ||
--- a/source/graphics.h | ||
+++ b/source/graphics.h | ||
@@ -1,7 +1,7 @@ | ||
#ifndef LUNASVG_GRAPHICS_H | ||
#define LUNASVG_GRAPHICS_H | ||
|
||
-#include <plutovg.h> | ||
+#include <plutovg/plutovg.h> | ||
|
||
#include <cstdint> | ||
#include <algorithm> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
versions: | ||
"3.0.0": | ||
folder: all | ||
"2.4.1": | ||
folder: all | ||
"2.4.0": | ||
|