New package: glyr-1.0.10
Closes 5994 by manual merge
This commit is contained in:
parent
e66a8cb8c3
commit
965b905ebc
4 changed files with 54 additions and 0 deletions
|
@ -2822,3 +2822,4 @@ libserialport.so.0 libserialport-0.1.1_1
|
|||
libsigrok.so.3 libsigrok-0.4.0_1
|
||||
libsigrokcxx.so.3 libsigrok-0.4.0_1
|
||||
libsigrokdecode.so.3 libsigrokdecode-0.4.1_1
|
||||
libglyr.so.1 glyr-1.0.8_1
|
||||
|
|
1
srcpkgs/glyr-devel
Symbolic link
1
srcpkgs/glyr-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
glyr
|
29
srcpkgs/glyr/patches/musl-execinfo.patch
Normal file
29
srcpkgs/glyr/patches/musl-execinfo.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
--- src/glyrc/glyrc.c.original
|
||||
+++ src/glyrc/glyrc.c
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
|
||||
-#ifdef __linux__
|
||||
+#ifdef __GLIBC__
|
||||
/* Backtrace*/
|
||||
#include <execinfo.h>
|
||||
#endif
|
||||
@@ -102,7 +102,7 @@
|
||||
|
||||
////////////////////////////////////////////////////////////////
|
||||
|
||||
-#ifdef __linux__
|
||||
+#ifdef __GLIBC__
|
||||
#define STACK_FRAME_SIZE 20
|
||||
|
||||
/* Obtain a backtrace and print it to stdout. */
|
||||
@@ -141,7 +141,7 @@
|
||||
cvprint (DEFAULT," It would be just natural to blame us now, so just visit <https://github.com/sahib/glyr/issues>\n");
|
||||
cvprint (DEFAULT," and throw hard words like 'backtrace', 'bug report' or even the '$(command I issued' at them).\n");
|
||||
cvprint (DEFAULT," The libglyr developers will try to fix it as soon as possible so please stop pulling their hair.\n");
|
||||
-#ifdef __linux__
|
||||
+#ifdef __GLIBC__
|
||||
cvprint (DEFAULT,"\nA list of the last called functions follows, please add this to your report:\n");
|
||||
print_trace();
|
||||
#endif
|
23
srcpkgs/glyr/template
Normal file
23
srcpkgs/glyr/template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'glyr'
|
||||
pkgname=glyr
|
||||
version="1.0.10"
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libcurl-devel glib-devel sqlite-devel"
|
||||
short_desc="A music metadata searchengine utility and library"
|
||||
maintainer="Michal Koutenský <koutak.m@gmail.com>"
|
||||
license="LGPL-3"
|
||||
homepage="https://github.com/sahib/glyr"
|
||||
distfiles="https://github.com/sahib/glyr/archive/${version}.tar.gz"
|
||||
checksum=77e8da60221c8d27612e4a36482069f26f8ed74a1b2768ebc373c8144ca806e8
|
||||
|
||||
glyr-devel_package() {
|
||||
depends="glyr>=${version}_${revision}"
|
||||
short_desc="A music metadata searchengine utility and library - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue