Compare commits
No commits in common. "10908c27f970ea6503ba4a39433fae23a697bb2c" and "4a88136a498547d0872c41eb72634f1c9992e249" have entirely different histories.
10908c27f9
...
4a88136a49
@ -1,25 +0,0 @@
|
|||||||
diff --git a/src/lua/init.c b/src/lua/init.c
|
|
||||||
index c76d13a..ea4c16b 100644
|
|
||||||
--- a/src/lua/init.c
|
|
||||||
+++ b/src/lua/init.c
|
|
||||||
@@ -80,10 +80,17 @@ QuviError l_init(_quvi_t q)
|
|
||||||
return (QUVI_ERROR_LUA_INIT);
|
|
||||||
|
|
||||||
luaL_openlibs(q->handle.lua);
|
|
||||||
+#if LUA_VERSION_NUM < 502
|
|
||||||
luaL_register(q->handle.lua, "quvi", quvi_reg_meth);
|
|
||||||
luaL_register(q->handle.lua, "quvi.http", quvi_http_reg_meth);
|
|
||||||
luaL_register(q->handle.lua, "quvi.crypto", quvi_crypto_reg_meth);
|
|
||||||
luaL_register(q->handle.lua, "quvi.base64", quvi_base64_reg_meth);
|
|
||||||
+#else
|
|
||||||
+ luaL_newlib(q->handle.lua, quvi_reg_meth);
|
|
||||||
+ luaL_newlib(q->handle.lua, quvi_http_reg_meth);
|
|
||||||
+ luaL_newlib(q->handle.lua, quvi_crypto_reg_meth);
|
|
||||||
+ luaL_newlib(q->handle.lua, quvi_base64_reg_meth);
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
return (QUVI_OK);
|
|
||||||
}
|
|
||||||
--
|
|
||||||
1.8.3.1
|
|
||||||
|
|
||||||
19
libquvi.spec
19
libquvi.spec
@ -1,16 +1,14 @@
|
|||||||
Name: libquvi
|
Name: libquvi
|
||||||
Version: 0.9.4
|
Version: 0.9.4
|
||||||
Release: 19
|
Release: 16
|
||||||
Summary: A cross-platform library for parsing flash media stream
|
Summary: A cross-platform library for parsing flash media stream
|
||||||
License: AGPLv3+
|
License: AGPLv3+
|
||||||
URL: http://quvi.sourceforge.net
|
URL: http://quvi.sourceforge.net
|
||||||
Source0: https://master.dl.sourceforge.net/project/quvi/0.9/%{name}/%{name}-%{version}.tar.xz
|
Source0: http://downloads.sourceforge.net/project/quvi/0.9/%{name}/%{name}-%{version}.tar.xz
|
||||||
BuildRequires: gcc git asciidoc lua-devel libproxy-devel
|
BuildRequires: gcc git gdb asciidoc lua-devel libproxy-devel
|
||||||
BuildRequires: libcurl-devel glib2-devel libquvi-scripts libgcrypt-devel
|
BuildRequires: libcurl-devel glib2-devel libquvi-scripts libgcrypt-devel
|
||||||
Requires: libquvi-scripts
|
Requires: libquvi-scripts
|
||||||
|
|
||||||
Patch6000: libquvi-0.9.4-lua-5.2.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Libquvi is a small C library that can be used to parse ad0be flash
|
Libquvi is a small C library that can be used to parse ad0be flash
|
||||||
media stream URLs.
|
media stream URLs.
|
||||||
@ -70,19 +68,10 @@ rm -f %{buildroot}/%{_libdir}/%{name}-0.9.la
|
|||||||
%{_mandir}/man7/quvi-object.7.gz
|
%{_mandir}/man7/quvi-object.7.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jan 13 2022 shixuantong <shixuantong@huawei.com> - 0.9.4-19
|
|
||||||
- fix undefined reference to 'luaL_register'
|
|
||||||
|
|
||||||
* Fri Jul 23 2021 shangyibin <shangyibin1@huawei.com> - 0.9.4-18
|
|
||||||
- delete gdb build dependency
|
|
||||||
|
|
||||||
* Thu Oct 15 2020 shixuantong <shixuantong@huawei.com> - 0.9.4-17
|
|
||||||
- update source0
|
|
||||||
|
|
||||||
* Sat Mar 21 2020 chengquan <chengquan3@huawei.com> - 0.9.4-16
|
* Sat Mar 21 2020 chengquan <chengquan3@huawei.com> - 0.9.4-16
|
||||||
- remove make check
|
- remove make check
|
||||||
|
|
||||||
* Fri Sep 27 2019 luhuaxin <luhuaxin@huawei.com> - 0.9.4-15
|
* Tue Sep 27 2019 luhuaxin <luhuaxin@huawei.com> - 0.9.4-15
|
||||||
- Type: enhancement
|
- Type: enhancement
|
||||||
- ID: NA
|
- ID: NA
|
||||||
- SUG: NA
|
- SUG: NA
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: github
|
|
||||||
src_repo: legatvs/libquvi
|
|
||||||
tag_prefix: ^v
|
|
||||||
seperator: .
|
|
||||||
Loading…
x
Reference in New Issue
Block a user