[packages/libopenshot] - up to 0.1.8

arekm arekm at pld-linux.org
Tue Sep 12 13:13:25 CEST 2017


commit f2083487b8771522d0919b184d99a9ffbbbac4c7
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Sep 12 13:13:20 2017 +0200

    - up to 0.1.8

 imagemagick7.patch |  4 ++--
 libopenshot.spec   | 15 ++++++++-------
 2 files changed, 10 insertions(+), 9 deletions(-)
---
diff --git a/libopenshot.spec b/libopenshot.spec
index dfdf689..43c2e41 100644
--- a/libopenshot.spec
+++ b/libopenshot.spec
@@ -1,11 +1,11 @@
 Summary:	Library for creating and editing videos
 Name:		libopenshot
-Version:	0.1.5
-Release:	2
+Version:	0.1.8
+Release:	1
 License:	LGPL-3.0+
 Group:		Libraries
-Source0:	https://launchpad.net/libopenshot/0.1/%{version}/+download/%{name}-%{version}.tar.gz
-# Source0-md5:	842551733c3bd82a7ffd9eaeea1c2b1d
+Source0:	https://github.com/OpenShot/libopenshot/archive/v%{version}.tar.gz
+# Source0-md5:	70930d0c973dac2ab5468175224f142b
 Patch0:		imagemagick7.patch
 Group:		Development/Libraries
 URL:		http://www.openshot.org/
@@ -53,7 +53,7 @@ The python-%{name} package contains python bindings for applications
 that use %{name}.
 
 %prep
-%setup -qc
+%setup -q
 %patch0 -p1
 
 sed -i -e 's#${_REL_PYTHON_MODULE_PATH}#%{py3_sitedir}#g' src/bindings/python/CMakeLists.txt
@@ -61,7 +61,8 @@ sed -i -e 's#${_REL_PYTHON_MODULE_PATH}#%{py3_sitedir}#g' src/bindings/python/CM
 %build
 install -d build
 cd build
-%cmake ..
+%cmake .. \
+	-DENABLE_RUBY=NO
 %{__make}
 
 %install
@@ -79,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libopenshot.so.*.*
-%attr(755,root,root) %ghost %{_libdir}/libopenshot.so.11
+%attr(755,root,root) %ghost %{_libdir}/libopenshot.so.13
 
 %files devel
 %defattr(644,root,root,755)
diff --git a/imagemagick7.patch b/imagemagick7.patch
index ba397a0..f54498d 100644
--- a/imagemagick7.patch
+++ b/imagemagick7.patch
@@ -1,10 +1,10 @@
 diff -ur libopenshot-0.1.2.orig/include/TextReader.h libopenshot-0.1.2/include/TextReader.h
 --- libopenshot-0.1.2.orig/include/TextReader.h	2016-08-30 13:23:13.000000000 +0900
 +++ libopenshot-0.1.2/include/TextReader.h	2017-01-01 02:41:47.536511096 +0900
-@@ -91,7 +91,7 @@
+@@ -91,7 +91,7 @@ namespace openshot
  		string text_color;
  		string background_color;
- 		tr1::shared_ptr<Magick::Image> image;
+ 		std::shared_ptr<Magick::Image> image;
 -		list<Magick::Drawable> lines;
 +		vector<Magick::Drawable> lines;
  		bool is_open;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libopenshot.git/commitdiff/f2083487b8771522d0919b184d99a9ffbbbac4c7



More information about the pld-cvs-commit mailing list