diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-10 06:41:31 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-10 06:41:31 +0000 |
commit | f9d8ddaae80afb8fa0924cd3f769f9b37dd373e1 (patch) | |
tree | d8962e6446d606b8c95329b4b78932a65f928a5f /media-sound/flake | |
parent | d94fef9a5708b8e64f363f4a71f0b56caef5efe4 (diff) |
gentoo auto-resync : 10:01:2025 - 06:41:30
Diffstat (limited to 'media-sound/flake')
-rw-r--r-- | media-sound/flake/Manifest | 3 | ||||
-rw-r--r-- | media-sound/flake/files/flake-0.11-make-instability.patch | 33 | ||||
-rw-r--r-- | media-sound/flake/flake-0.11.ebuild | 14 |
3 files changed, 41 insertions, 9 deletions
diff --git a/media-sound/flake/Manifest b/media-sound/flake/Manifest index 6ff1d9c2e420..576540d33676 100644 --- a/media-sound/flake/Manifest +++ b/media-sound/flake/Manifest @@ -1,3 +1,4 @@ +AUX flake-0.11-make-instability.patch 988 BLAKE2B d2fc2c0dcd2b33dd346462190f35560c30e109283e0c722a7d6522e4539af99c70f254ba12a86e8046dca8e5ebcd5433113a5f3ebc0ec4cad02a39aee2c61432 SHA512 149fdb2570e61e737a023e44bea6166b267f0226cfcb82f286d24376a67541fa54f8c3afc25ccf05bf60c4edcee28a0608ee52a6dc261595923f4b5f13007740 DIST flake-0.11.tar.bz2 43319 BLAKE2B e24b1f80ce2e1048c46db8957fae51f493a39a245d7c667c0b47713f65d6d78074b2d2c56d0345d0be142bddcd64db8d750c3eceb797bf43661472c8d4ed23b1 SHA512 045cbe7f5af29dfdc5843df3dccfa6faf1ce816566b2f3ac928b98e14f5ee0ec15ee5024a092da4e33beb5d87c31f38c0780970811c5b96ae72683aeac332584 -EBUILD flake-0.11.ebuild 751 BLAKE2B f0be833b325f85c8264109a33525314051aad400bc78f355a9ab562a7471b1894c8cee3243eb681c40cce2e1a34c2f630a3fdba47a6e9384bfc0281b41d8637e SHA512 068bf4d392ec684f8a67d5a29824edcb67e626e87d838f206b62d14ea509aecd16612bfef57e6699cc9d2dff5fd27d1681946d646caf3d5f72314426c34f044f +EBUILD flake-0.11.ebuild 780 BLAKE2B 33d4b1c8a2f8abd03da5b635c7263b2694da2c76e8b7a3ccb5832e9e964e5a2cdba18e1532a9d536fd40a9fbac520f1ea91f54a3cff142a8180536d58bf68e87 SHA512 d1de87911789f7222653ca525fd67c761b1ca71155c0152bec270a8e75af3f7353b3a924ace52bb23ae548b5e9b0cbae0c49194dd5a0af2e8b33342da54cc8f5 MISC metadata.xml 333 BLAKE2B 36aa3b934575789a2cee9627d31d408294066ef734849de0d58bed1b16d970ad0d3a7c4288d7860e79a6a6b26e666b82603cb066949ba7f82d616c4b6139562c SHA512 8655c5524728b799e5f42a74efde3f09f9d7723d6b80d8a87e7b7ed5d7a83dcbf2aeb99e6dcbbe3a566f2c09f79ce0107a47f2f0060a635031d2767718a396a7 diff --git a/media-sound/flake/files/flake-0.11-make-instability.patch b/media-sound/flake/files/flake-0.11-make-instability.patch new file mode 100644 index 000000000000..ac2bd95859fb --- /dev/null +++ b/media-sound/flake/files/flake-0.11-make-instability.patch @@ -0,0 +1,33 @@ +https://bugs.gentoo.org/917760 +We can't build program without library, utils dependency is just in case +diff -ru a/Makefile b/Makefile +--- a/Makefile 2025-01-09 11:48:10.117085442 +0400 ++++ b/Makefile 2025-01-09 11:48:27.041979565 +0400 +@@ -19,10 +19,10 @@ + lib: + $(MAKE) -C libflake all + +-progs: ++progs: lib + $(MAKE) -C flake all + +-utils: ++utils: progs lib + $(MAKE) -C util all + + .PHONY: install +https://bugs.gentoo.org/912148 +https://bugs.gentoo.org/880819 +False dependency, if we put flake in build graph, make uses default build +rules, doesn't include library and failure to link occurs. +diff -ru a/flake/Makefile b/flake/Makefile +--- a/flake/Makefile 2025-01-09 11:57:17.279914146 +0400 ++++ b/flake/Makefile 2025-01-09 11:59:25.559155784 +0400 +@@ -21,6 +21,6 @@ + +-all: $(PROGS_G) $(PROGS) ++all: $(PROGS_G) + + flake_g$(EXESUF): flake.o wav.o $(DEP_LIBS) + $(CC) $(FLAKE_LIBDIRS) $(LDFLAGS) -o $@ flake.o wav.o $(FLAKE_LIBS) $(EXTRALIBS) + cp -p flake_g$(EXESUF) flake$(EXESUF) diff --git a/media-sound/flake/flake-0.11.ebuild b/media-sound/flake/flake-0.11.ebuild index 177b54723d9a..995a85be4f49 100644 --- a/media-sound/flake/flake-0.11.ebuild +++ b/media-sound/flake/flake-0.11.ebuild @@ -1,34 +1,32 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit toolchain-funcs DESCRIPTION="An alternative to the FLAC reference encoder" -HOMEPAGE="http://flake-enc.sourceforge.net" +HOMEPAGE="https://flake-enc.sourceforge.net" SRC_URI="https://downloads.sourceforge.net/flake-enc/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="amd64 x86" +PATCHES=("${FILESDIR}"/${P}-make-instability.patch) + src_configure() { # NIH configure script ./configure \ --ar="$(tc-getAR)" \ --cc="$(tc-getCC)" \ --ranlib="$(tc-getRANLIB)" \ - --prefix="${ED}"/usr \ + --prefix="${EPREFIX}"/usr \ --disable-opts \ --disable-debug \ --disable-strip || die "configure failed" } -src_compile() { - emake -j1 -} - src_install() { dobin flake/flake doheader libflake/flake.h |