revert unintended code changes while upstream code sync.
authorHermet Park <chuneon.park@samsung.com>
Thu, 11 Mar 2021 10:05:18 +0000 (19:05 +0900)
committerHermet Park <chuneon.park@samsung.com>
Thu, 11 Mar 2021 10:05:18 +0000 (19:05 +0900)
Change-Id: I5c95954a470d5a1f330f3044e254b896d445426c

meson_options.txt
packaging/thorvg.spec
src/examples/Svg.cpp

index 5c7251a..4a18785 100644 (file)
@@ -30,7 +30,7 @@ option('tools',
 
 option('examples',
     type: 'boolean',
-    value: true,
+    value: false,
     description: 'Enable building examples')
 
 option('test',
index f48e297..c3e7652 100644 (file)
@@ -9,7 +9,6 @@ Source0:    %{name}-%{version}.tar.gz
 
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(glesv2)
-BuildRequires:  pkgconfig(elementary)
 BuildRequires:  meson
 BuildRequires:  ninja
 Requires(post): /sbin/ldconfig
index 2dc89a3..392e5c7 100644 (file)
@@ -6,7 +6,7 @@
 /************************************************************************/
 
 #define NUM_PER_LINE 5
-#define SIZE 320
+#define SIZE 160
 
 static int count = 0;
 
@@ -46,7 +46,7 @@ void tvgDrawCmds(tvg::Canvas* canvas)
 
     if (canvas->push(move(shape)) != tvg::Result::Success) return;
 
-    eina_file_dir_list("/tmp", EINA_TRUE, svgDirCallback, canvas);
+    eina_file_dir_list(EXAMPLE_DIR, EINA_TRUE, svgDirCallback, canvas);
 
     /* This showcase shows you asynchrounous loading of svg.
        For this, pushing pictures at a certian sync time.