mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 01:42:56 +02:00
New package: qimgv-0.7.
This commit is contained in:
parent
14e1bd83b4
commit
440dc308cd
2 changed files with 30 additions and 0 deletions
13
srcpkgs/qimgv/patches/fix-musl.patch
Normal file
13
srcpkgs/qimgv/patches/fix-musl.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git core.cpp core.cpp
|
||||||
|
index 26821e3..231ec1a 100644
|
||||||
|
--- core.cpp
|
||||||
|
+++ core.cpp
|
||||||
|
@@ -16,7 +16,7 @@ Core::Core()
|
||||||
|
scaler(nullptr),
|
||||||
|
thumbnailer(nullptr)
|
||||||
|
{
|
||||||
|
-#ifdef __linux__
|
||||||
|
+#ifdef __GLIBC__
|
||||||
|
// default value of 128k causes memory fragmentation issues
|
||||||
|
// finding this took 3 days of my life
|
||||||
|
mallopt(M_MMAP_THRESHOLD, 64000);
|
17
srcpkgs/qimgv/template
Normal file
17
srcpkgs/qimgv/template
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Template file for 'qimgv'
|
||||||
|
pkgname=qimgv
|
||||||
|
version=0.7
|
||||||
|
revision=1
|
||||||
|
build_style=cmake
|
||||||
|
makedepends="qt5-devel mpv-devel"
|
||||||
|
depends="hicolor-icon-theme"
|
||||||
|
short_desc="Cross-platform image viewer with webm support"
|
||||||
|
maintainer="travankor <travankor@tuta.io>"
|
||||||
|
license="GPL-3.0-or-later"
|
||||||
|
homepage="https://github.com/easymodo/qimgv"
|
||||||
|
distfiles="https://github.com/easymodo/qimgv/archive/v${version}.tar.gz"
|
||||||
|
checksum=ce47987c835068230eeb8512ee5e3f9751e4c7d3f94785ebe386e4484da417d6
|
||||||
|
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
hostmakedepends+=" qt5-host-tools qt5-qmake"
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue