diff --git a/CMakeLists.txt b/CMakeLists.txt index 015504a5..c111dac6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required( VERSION 3.3 ) #declare project -project( rlottie VERSION 0.1 LANGUAGES C CXX ASM) +project( rlottie VERSION 0.2 LANGUAGES C CXX ASM) if (NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE MinSizeRel) @@ -18,9 +18,8 @@ set_target_properties( rlottie PROPERTIES DEFINE_SYMBOL RLOTTIE_BUILD ) #declare version of the target set(player_version_major 0) -set(player_version_minor 0) -set(player_version_patch 1) -set(player_version ${player_version_major}.${player_version_minor}.${player_version_patch} ) +set(player_version_minor 2) +set(player_version ${player_version_major}.${player_version_minor}) set_target_properties(rlottie PROPERTIES VERSION ${player_version} SOVERSION ${player_version_major} @@ -64,8 +63,6 @@ if (NOT WIN32) target_compile_options(rlottie PUBLIC PRIVATE - -Werror - -Wextra -Wnon-virtual-dtor -Woverloaded-virtual -Wno-unused-parameter diff --git a/meson.build b/meson.build index f5693bcf..50404c58 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project('rlottie', 'cpp', - default_options : ['warning_level=3', 'werror=true', 'cpp_std=c++14', 'optimization=s'], - version : '0.1', + default_options : ['cpp_std=c++14', 'optimization=s'], + version : '0.2', license : 'MIT', meson_version : '>=0.49', ) diff --git a/packaging/rlottie.spec b/packaging/rlottie.spec index 6cf10b9a..c757a1fe 100644 --- a/packaging/rlottie.spec +++ b/packaging/rlottie.spec @@ -3,10 +3,10 @@ %define devel %mklibname rlottie -d %define git 20200408 -%define rel 1 +%define rel 2 Name: rlottie -Version: 0.0.1 +Version: 0.2 Release: %mkrel %{?git:-c git%{git}} %{rel} Summary: Platform independent standalone library that plays Lottie Animation Group: System/Libraries @@ -42,36 +42,36 @@ bodymovin, Sketch with Lottie Sketch Export, and from Haiku. For the first time, designers can create and ship beautiful animations without an engineer painstakingly recreating it by hand. Since the animation is backed -by JSON they are extremely small in size but can be large in complexity! - -This is the development libraries for rlottie. - -%package -n %{libname} -Summary: Platform independent standalone library that plays Lottie Animation -Group: System/Libraries - -%description -n %{libname} -rlottie is a platform independent standalone c++ library for rendering vector -based animations and art in realtime. - -Lottie loads and renders animations and vectors exported in the bodymovin JSON -format. Bodymovin JSON can be created and exported from After Effects with -bodymovin, Sketch with Lottie Sketch Export, and from Haiku. - -For the first time, designers can create and ship beautiful animations without -an engineer painstakingly recreating it by hand. Since the animation is backed -by JSON they are extremely small in size but can be large in complexity! - -%prep -%autosetup -n %{name}-master - -%build -%meson - -%install +by JSON they are extremely small in size but can be large in complexity! + +This is the development libraries for rlottie. + +%package -n %{libname} +Summary: Platform independent standalone library that plays Lottie Animation +Group: System/Libraries + +%description -n %{libname} +rlottie is a platform independent standalone c++ library for rendering vector +based animations and art in realtime. + +Lottie loads and renders animations and vectors exported in the bodymovin JSON +format. Bodymovin JSON can be created and exported from After Effects with +bodymovin, Sketch with Lottie Sketch Export, and from Haiku. + +For the first time, designers can create and ship beautiful animations without +an engineer painstakingly recreating it by hand. Since the animation is backed +by JSON they are extremely small in size but can be large in complexity! + +%prep +%autosetup -n %{name}-master + +%build +%meson + +%install %meson_install -%files -n %{devel} +%files -n %{devel} %{_includedir}/rlottie.h %{_includedir}/rlottie_capi.h %{_includedir}/rlottiecommon.h