From d040b051f207fcec1dfd355c437b4700ed365865 Mon Sep 17 00:00:00 2001 From: Daniel Pielmeier Date: Sat, 16 May 2026 10:50:22 +0200 Subject: [PATCH] sys-fs/fatsort: add 1.7.1 Signed-off-by: Daniel Pielmeier --- sys-fs/fatsort/Manifest | 1 + sys-fs/fatsort/fatsort-1.7.1.ebuild | 38 +++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 sys-fs/fatsort/fatsort-1.7.1.ebuild diff --git a/sys-fs/fatsort/Manifest b/sys-fs/fatsort/Manifest index dacc32a554a60..f29cb2e4b225b 100644 --- a/sys-fs/fatsort/Manifest +++ b/sys-fs/fatsort/Manifest @@ -1 +1,2 @@ +DIST fatsort-1.7.1.683.tar.xz 139972 BLAKE2B a4e70d5909ba0bc108073fef5d89f5705298a03a4094d184c4e53413de3cd03a8d516ebcd77d6b266528753870cb6d2bb4a85978f6dae51d92ed19d950da2268 SHA512 f9e4a57a139f5e656c6ff858751dbf227da4d4f4d652ec8d81b2bd04d4c9543688eae929464123b7189778a349630d0be2d904b2e149018763aa27aa8f57e234 DIST fatsort-1.7.679.tar.xz 139700 BLAKE2B d6750c2c5a4b5afb4059ec8f08dbf9db8669d260144d3887fc88300479bdd78fe7d6a665de12b1aa644bc3eb178b7eb456a1136121b2ab214665eb543ad3cd28 SHA512 36245f92963abb1d29692450b849c79ecd0a89a9c363fbe4f337ffcb339dfe2569f61b254ad4d8fef556574e5b5e1585e9149b44eb871ae0229456fa9f534800 diff --git a/sys-fs/fatsort/fatsort-1.7.1.ebuild b/sys-fs/fatsort/fatsort-1.7.1.ebuild new file mode 100644 index 0000000000000..0cbbbd9c5d401 --- /dev/null +++ b/sys-fs/fatsort/fatsort-1.7.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 +REV=683 +MY_P=${P}.${REV} + +inherit toolchain-funcs + +DESCRIPTION="Sorts files on FAT16/32 partitions, ideal for basic audio players" +HOMEPAGE="https://fatsort.sourceforge.io/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.xz" + +S="${WORKDIR}/${MY_P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +src_prepare() { + default + + sed -i -e 's|/usr/local|/usr|g' \ + $(find ./ -name Makefile || die) || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" LD="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ + man +} + +src_test() { + # Tests require root permissions and mounting filesystems which does + # not work inside the ebuild environment + true +}