Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
10908c27f9
!11 【轻量级 PR】:fix bogus date
From: @zhangshaoning_uniontech 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2023-01-30 02:29:19 +00:00
zhangshaoning
012d249836
fix bogus date 2022-06-14 06:56:37 +00:00
openeuler-ci-bot
d017e4527d
!8 fix undefined reference to 'luaL_register'
Merge pull request !8 from 桐小哥/openEuler-22.03-LTS-Next
2022-01-13 10:46:42 +00:00
shixuantong
9ae562155b fix undefined reference to 'luaL_register' 2022-01-13 16:49:20 +08:00
openeuler-ci-bot
b0f111ee26 !6 deleting gdb build dependency
From: @s17723959267
Reviewed-by: @openeuler-basic
Signed-off-by: @openeuler-basic
2021-07-24 03:30:07 +00:00
Zhiqiang Liu
86e84d2b16 deleting gdb build dependency 2021-07-23 10:54:51 +08:00
openeuler-ci-bot
dc2aba7b6e !3 update Source0
From: @tong_1001
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2020-10-16 15:02:56 +08:00
桐小哥
dea71a2ee5 update Source0 2020-10-15 21:06:13 +08:00
openeuler-ci-bot
9830974ad6 !2 add yaml file in package
Merge pull request !2 from 吴超超/master
2020-06-19 16:15:51 +08:00
19909236985
6995630ef8 add yaml file in package 2020-06-12 11:37:44 +08:00
3 changed files with 44 additions and 4 deletions

View File

@ -0,0 +1,25 @@
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

View File

@ -1,14 +1,16 @@
Name: libquvi
Version: 0.9.4
Release: 16
Release: 19
Summary: A cross-platform library for parsing flash media stream
License: AGPLv3+
URL: http://quvi.sourceforge.net
Source0: http://downloads.sourceforge.net/project/quvi/0.9/%{name}/%{name}-%{version}.tar.xz
BuildRequires: gcc git gdb asciidoc lua-devel libproxy-devel
Source0: https://master.dl.sourceforge.net/project/quvi/0.9/%{name}/%{name}-%{version}.tar.xz
BuildRequires: gcc git asciidoc lua-devel libproxy-devel
BuildRequires: libcurl-devel glib2-devel libquvi-scripts libgcrypt-devel
Requires: libquvi-scripts
Patch6000: libquvi-0.9.4-lua-5.2.patch
%description
Libquvi is a small C library that can be used to parse ad0be flash
media stream URLs.
@ -68,10 +70,19 @@ rm -f %{buildroot}/%{_libdir}/%{name}-0.9.la
%{_mandir}/man7/quvi-object.7.gz
%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
- remove make check
* Tue Sep 27 2019 luhuaxin <luhuaxin@huawei.com> - 0.9.4-15
* Fri Sep 27 2019 luhuaxin <luhuaxin@huawei.com> - 0.9.4-15
- Type: enhancement
- ID: NA
- SUG: NA

4
libquvi.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: legatvs/libquvi
tag_prefix: ^v
seperator: .