commit:     b4b382eb28783543f29712f7014b6baa4a78dfde
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Thu Jan 16 15:29:46 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 23:06:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4b382eb

media-libs/faun: drop 0.1.4

Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-libs/faun/Manifest                        |  1 -
 media-libs/faun/faun-0.1.4.ebuild               | 37 ------------
 media-libs/faun/files/faun-0.1.2_makefile.patch | 79 -------------------------
 media-libs/faun/metadata.xml                    |  1 -
 4 files changed, 118 deletions(-)

diff --git a/media-libs/faun/Manifest b/media-libs/faun/Manifest
index 3f02599eba50..bf4da9d5f578 100644
--- a/media-libs/faun/Manifest
+++ b/media-libs/faun/Manifest
@@ -1,2 +1 @@
-DIST faun-0.1.4.tar.gz 110154 BLAKE2B 
a41e33282442a1b2999c7cc46fc6978607b6d6f2e6d8d7e92dd43386f2ff2ac61aa3c86e0219ffded8a35224c366a85cd7ab1c36a128eb746457be9fdea76c8e
 SHA512 
4449c478109dd78933e346e87228639d0c5fcc33466a60a9649756cb69b087b82a7e0aa21591b4b2e8046858ac6ac9fc7cc43d84eb2e64624b49af8445dcda21
 DIST faun-0.2.1.tar.gz 118623 BLAKE2B 
812f99462d512efde104c664ae1a12b0ada5b87e7b975c2f89274c41d9d24409eccb2ea28d37e02225dab0d6290bf2fa5302a55b5ec824ae7943aaa6149c80cb
 SHA512 
d145d99519c6836147f27bada0b87b70ad864b9bb3af3860183fc7a1c0b51c10a6f904ca365f7016510088d4f83e42dbd2d0e9dd260ad73209e29985af3a9fd4

diff --git a/media-libs/faun/faun-0.1.4.ebuild 
b/media-libs/faun/faun-0.1.4.ebuild
deleted file mode 100644
index a5b0eb2e7089..000000000000
--- a/media-libs/faun/faun-0.1.4.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit edo toolchain-funcs
-
-DESCRIPTION="A high-level C audio library"
-HOMEPAGE="https://wickedsmoke.github.io/faun/";
-SRC_URI="https://github.com/WickedSmoke/faun/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
-
-# based on COPYING file
-LICENSE="MIT flac? ( GPL-2 )"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="flac"
-
-DEPEND="
-       media-libs/libpulse
-       media-libs/libvorbis
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-0.1.2_makefile.patch"
-)
-
-src_configure() {
-       tc-export CC
-       # custom configure
-       edo ./configure $(usex !flac --no_flac "")
-}
-
-src_install() {
-       emake DESTDIR="${D}/usr" install
-       dodoc README.md
-}

diff --git a/media-libs/faun/files/faun-0.1.2_makefile.patch 
b/media-libs/faun/files/faun-0.1.2_makefile.patch
deleted file mode 100644
index 5bc22077aad2..000000000000
--- a/media-libs/faun/files/faun-0.1.2_makefile.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 7d87d5e2fc52c1d429fe99b505bf2db643c82da2 Mon Sep 17 00:00:00 2001
-From: "Azamat H. Hackimov" <[email protected]>
-Date: Fri, 28 Apr 2023 14:58:02 +0300
-Subject: [PATCH] Fix buildsystem
-
-* Respect CC, CFLAGS, LDFLAGS
-* Don't strip binaries on install
---- a/Makefile
-+++ b/Makefile
-@@ -6,10 +6,13 @@ ifeq ($(STATIC),1)
-     STATIC_LIB=true
- endif
-
--CFLAGS=-O3 -DNDEBUG
-+CC ?= cc
-+PKG_CONFIG ?= pkg-config
-+
-+CFLAGS ?= -O3 -DNDEBUG
- #CFLAGS=-g -DDEBUG
-
--OPT=-DUSE_SFX_GEN
-+OPT=-DUSE_SFX_GEN `$(PKG_CONFIG) --cflags libpulse-simple libpulse vorbisfile`
- ifeq ($(FLAC),1)
-       OPT+=-DUSE_FLAC
- endif
-@@ -25,7 +28,7 @@ else
- LIB_DIR=$(DESTDIR)/lib
- endif
-
--DEP_LIB = -lpulse-simple -lpulse -lvorbisfile -lpthread -lm
-+DEP_LIB = `$(PKG_CONFIG) --libs libpulse-simple libpulse vorbisfile` 
-lpthread -lm
-
- ifdef STATIC_LIB
- FAUN_LIB=libfaun.a
-@@ -49,10 +52,10 @@ obj:
-       mkdir obj
-
- obj/tmsg.o: support/tmsg.c obj
--      cc -c -pipe -Wall -W $< $(CFLAGS) -Isupport $(OPT) -fPIC -o $@
-+      $(CC) -c -pipe -Wall -W $< $(CFLAGS) -Isupport $(OPT) -fPIC -o $@
-
- obj/faun.o: faun.c support/wav_write.c support/wav_read.c support/flac.c 
support/sfx_gen.c support/well512.c support/os_thread.h support/tmsg.h 
support/flac.h support/sfx_gen.h support/well512.h obj
--      cc -c -pipe -Wall -W $< $(CFLAGS) -Isupport $(OPT) -fPIC -o $@
-+      $(CC) -c -pipe -Wall -W $< $(CFLAGS) -Isupport $(OPT) -fPIC -o $@
-
- $(FAUN_LIB): obj/tmsg.o obj/faun.o
- ifdef STATIC_LIB
-@@ -60,16 +63,16 @@ ifdef STATIC_LIB
-       ranlib $@
-       #strip -d $@
- else
--      cc -o $@ $^ -shared -Wl,-soname,$(FAUN_SO) $(DEP_LIB)
-+      $(CC) -o $@ $^ -shared -Wl,-soname,$(FAUN_SO) $(LDFLAGS) $(DEP_LIB)
-       ln -sf $@ $(FAUN_SO)
-       ln -sf $@ libfaun.so
- endif
-
- faun_test: faun_test.c $(FAUN_LIB)
--      cc -Wall -W $< $(CFLAGS) -I. -L. -lfaun $(DEP_STATIC) -o $@
-+      $(CC) -Wall -W $< $(CFLAGS) -I. -L. -lfaun $(DEP_STATIC) $(LDFLAGS) -o 
$@
-
- basic: example/basic.c $(FAUN_LIB)
--      cc -Wall -W $< $(CFLAGS) -I. -L. -lfaun $(DEP_STATIC) -o $@
-+      $(CC) -Wall -W $< $(CFLAGS) -I. -L. -lfaun $(DEP_STATIC) $(LDFLAGS) -o 
$@
-
- install:
-       mkdir -p $(DESTDIR)/include $(LIB_DIR)
-@@ -77,7 +80,7 @@ install:
- ifdef STATIC_LIB
-       install -m 644 $(FAUN_LIB) $(LIB_DIR)
- else
--      install -m 755 -s $(FAUN_LIB) $(LIB_DIR)
-+      install -m 755 $(FAUN_LIB) $(LIB_DIR)
-       ln -s $(FAUN_LIB) $(LIB_DIR)/$(FAUN_SO)
-       ln -s $(FAUN_LIB) $(LIB_DIR)/libfaun.so
- endif
---
-2.39.2
-

diff --git a/media-libs/faun/metadata.xml b/media-libs/faun/metadata.xml
index 3d722b078133..e17def60d1ea 100644
--- a/media-libs/faun/metadata.xml
+++ b/media-libs/faun/metadata.xml
@@ -11,6 +11,5 @@
        </maintainer>
        <upstream>
                <remote-id type="codeberg">wickedsmoke/faun</remote-id>
-               <remote-id type="github">WickedSmoke/faun</remote-id>
        </upstream>
 </pkgmetadata>

Reply via email to