lottie: rename lottie-player to rlottie in meson build 95/198095/2
authorsub.mohanty@samsung.com <smohantty@gmail.com>
Sat, 19 Jan 2019 00:22:16 +0000 (09:22 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Mon, 21 Jan 2019 04:38:24 +0000 (13:38 +0900)
Change-Id: Ie19ea2d849af95b348417e826dcc2fb7e6ded86b

example/meson.build
meson.build
src/meson.build
src/vector/stb/meson.build
src/vector/vimageloader.cpp
test/meson.build

index 9a89b60..41c9c96 100644 (file)
@@ -16,7 +16,7 @@ if (demo_dep.found())
     executable('demo',
                demo_sources,
                include_directories : inc,
-               link_with : lottie_player_lib,
+               link_with : rlottie_lib,
                dependencies : demo_dep)
 
     lottieview_test_src  = files('lottieviewtest.cpp')
@@ -25,7 +25,7 @@ if (demo_dep.found())
     executable('lottieviewTest',
                lottieview_test_src,
                include_directories : inc,
-               link_with : lottie_player_lib,
+               link_with : rlottie_lib,
                dependencies : demo_dep)
 
     uxsample_test_src  = files('uxsampletest.cpp')
@@ -34,7 +34,7 @@ if (demo_dep.found())
     executable('uxsampleTest',
                uxsample_test_src,
                include_directories : inc,
-               link_with : lottie_player_lib,
+               link_with : rlottie_lib,
                dependencies : demo_dep)
 
     lottieviewer_sources = files('lottieviewer.cpp')
@@ -43,14 +43,14 @@ if (demo_dep.found())
     executable('lottieviewer',
                lottieviewer_sources,
                include_directories : inc,
-               link_with : lottie_player_lib,
+               link_with : rlottie_lib,
                dependencies : demo_dep)
 
 if (meson.get_compiler('cpp').has_header('elementary-1/elm_animation_view.h'))
     executable('efl_animview',
                'efl_animview.cpp',
                include_directories : inc,
-               link_with : lottie_player_lib,
+               link_with : rlottie_lib,
                dependencies : demo_dep)
 endif
 
index a3315b5..85c04b2 100644 (file)
@@ -1,8 +1,8 @@
-project('lottie-player library',
+project('rlottie library',
         'cpp',
         license : 'Apache')
 
-lottie_player_lib_version = '0.0.1'
+rlottie_lib_version = '0.0.1'
 
 add_global_arguments('-DDEMO_DIR="@0@/example/resource/"'.format(meson.current_source_dir()), language : 'cpp')
 
@@ -46,9 +46,9 @@ endif
 
 pkg_mod = import('pkgconfig')
 
-pkg_mod.generate( libraries   : lottie_player_lib,
-                  version     : lottie_player_lib_version,
-                  name        : 'liblottie-player',
-                  filebase    : 'lottie-player',
+pkg_mod.generate( libraries   : rlottie_lib,
+                  version     : rlottie_lib_version,
+                  name        : 'librlottie',
+                  filebase    : 'rlottie',
                   description : 'A Library for rendering lottie files.'
                 )
index dc6a837..148edd8 100644 (file)
@@ -6,9 +6,9 @@ library_deps  = vector_dep
 library_deps += lottie_dep
 library_deps += binding_dep
 
-lottie_player_lib = shared_library( 'lottie-player',
-                                    include_directories : inc,
-                                    version             : lottie_player_lib_version,
-                                    dependencies        : library_deps,
-                                    install             : true
-                                  )
+rlottie_lib = shared_library('rlottie',
+                             include_directories : inc,
+                             version             : rlottie_lib_version,
+                             dependencies        : library_deps,
+                             install             : true
+                            )
index a7a59c0..79f1962 100644 (file)
@@ -1,7 +1,8 @@
 
-lottie_image_loader_sources = ['stb_image.cpp']
+rlottie_image_loader_sources = ['stb_image.cpp']
 
-lottie_image_loader_lib = shared_library( 'lottie-image-loader',
-                                          lottie_image_loader_sources,
-                                          install : true)
+rlottie_image_loader_lib = shared_library('rlottie-image-loader',
+                                          rlottie_image_loader_sources,
+                                          install : true
+                                         )
 
index 28a774a..c7e73b7 100644 (file)
@@ -15,18 +15,18 @@ struct VImageLoader::Impl
     Impl()
     {
         #ifdef __APPLE__
-            dl_handle = dlopen("liblottie-image-loader.dylib", RTLD_LAZY);
+            dl_handle = dlopen("librlottie-image-loader.dylib", RTLD_LAZY);
         #else
-            dl_handle = dlopen("liblottie-image-loader.so", RTLD_LAZY);
+            dl_handle = dlopen("librlottie-image-loader.so", RTLD_LAZY);
         #endif
         if (!dl_handle)
-            vWarning<<"Failed to dlopen liblottie-image-loader library";
+            vWarning<<"Failed to dlopen librlottie-image-loader library";
         lottie_image_load = (lottie_image_load_f) dlsym(dl_handle, "lottie_image_load");
         if (!lottie_image_load)
-            vWarning<<"Failed to find symbol lottie_image_load in liblottie-image-loader library";
+            vWarning<<"Failed to find symbol lottie_image_load in librlottie-image-loader library";
         lottie_image_free = (lottie_image_free_f) dlsym(dl_handle, "lottie_image_free");
         if (!lottie_image_free)
-            vWarning<<"Failed to find symbol lottie_image_free in liblottie-image-loader library";
+            vWarning<<"Failed to find symbol lottie_image_free in librlottie-image-loader library";
     }
     ~Impl()
     {
index 8a83c86..312e53e 100644 (file)
@@ -19,7 +19,7 @@ animation_test_sources += files('test_lottieanimation_capi.cpp')
 animation_testsuite = executable('animationTestSuite',
                               animation_test_sources,
                               include_directories : inc,
-                              link_with : lottie_player_lib,
+                              link_with : rlottie_lib,
                               dependencies : gtest_dep)
 
 test('Animation Testsuite', animation_testsuite)