New package: fsearch-0.1
This commit is contained in:
parent
808e0c0a62
commit
3abe83fe2c
2 changed files with 31 additions and 0 deletions
13
srcpkgs/fsearch/patches/musl-no-malloc_trim.diff
Normal file
13
srcpkgs/fsearch/patches/musl-no-malloc_trim.diff
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff -ruN fsearch-0.1/src/fsearch_database.c fsearch-0.1-musl/src/fsearch_database.c
|
||||
--- fsearch-0.1/src/fsearch_database.c 2021-09-25 02:41:49.000000000 +1000
|
||||
+++ fsearch-0.1-musl/src/fsearch_database.c 2021-09-25 21:42:00.187684634 +1000
|
||||
@@ -1454,7 +1454,9 @@
|
||||
|
||||
g_clear_pointer(&db, free);
|
||||
|
||||
+#ifdef __GLIBC__
|
||||
malloc_trim(0);
|
||||
+#endif
|
||||
|
||||
g_debug("[db_free] freed");
|
||||
}
|
18
srcpkgs/fsearch/template
Normal file
18
srcpkgs/fsearch/template
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Template file for 'fsearch'
|
||||
pkgname=fsearch
|
||||
version=0.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="autogen automake libtool pkg-config autoconf-archive
|
||||
intltool gettext-devel glib-devel"
|
||||
makedepends="gtk+3-devel"
|
||||
short_desc="Fast file search utility based on GTK+3"
|
||||
maintainer="a dinosaur <nick@a-dinosaur.com>"
|
||||
license="GPL-2.0-or-later"
|
||||
homepage="https://cboxdoerfer.github.io/fsearch/"
|
||||
distfiles="https://github.com/cboxdoerfer/fsearch/archive/v${version}.tar.gz"
|
||||
checksum=50287fb77e56d2451bd828f207e9a1e33958aea591ec030d47b8b67d4e6f0828
|
||||
|
||||
pre_configure() {
|
||||
./autogen.sh
|
||||
}
|
Loading…
Reference in a new issue