diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-17 06:41:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-17 06:41:55 +0000 |
commit | 6d730aa8064fbab6cc54447b6ed0e60b99c13256 (patch) | |
tree | 8c303cb48dc49dd218b79708ca71904653c5f831 /media-libs | |
parent | cb2f73d10494730ba590096a1f24ebc6d0d61a9f (diff) |
gentoo auto-resync : 17:01:2025 - 06:41:55
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 69750 -> 69754 bytes | |||
-rw-r--r-- | media-libs/faun/Manifest | 8 | ||||
-rw-r--r-- | media-libs/faun/faun-0.2.1.ebuild (renamed from media-libs/faun/faun-0.1.4.ebuild) | 13 | ||||
-rw-r--r-- | media-libs/faun/files/faun-0.1.2_makefile.patch | 79 | ||||
-rw-r--r-- | media-libs/faun/files/faun-0.2.1_makefile.patch | 40 | ||||
-rw-r--r-- | media-libs/faun/metadata.xml | 2 | ||||
-rw-r--r-- | media-libs/glycin-loaders/Manifest | 4 | ||||
-rw-r--r-- | media-libs/glycin-loaders/glycin-loaders-1.1.2.ebuild | 88 | ||||
-rw-r--r-- | media-libs/glycin-loaders/glycin-loaders-1.1.4.ebuild | 3 |
9 files changed, 56 insertions, 181 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex d0059f9b5435..c2f5ef267f73 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/faun/Manifest b/media-libs/faun/Manifest index a3bc047d6a78..57343892c15a 100644 --- a/media-libs/faun/Manifest +++ b/media-libs/faun/Manifest @@ -1,4 +1,4 @@ -AUX faun-0.1.2_makefile.patch 2362 BLAKE2B caeaeafeafb42508cc276de36142a59b7a5106b0592012f8811ef54d1b06a94555f6a4ce7e0713f5d6ec80c89b8ac22f5bd8cd7e3256ccc5d18815a6a161bd9e SHA512 1c3407800aff5ebf3706c23b72f17c8e448f2a75cb2feb76cf9d91b9c6edca1ab9b70193154fe0b67fffbfc0d4c8141cbfb8824d152f3b95270c1250c209f286 -DIST faun-0.1.4.tar.gz 110154 BLAKE2B a41e33282442a1b2999c7cc46fc6978607b6d6f2e6d8d7e92dd43386f2ff2ac61aa3c86e0219ffded8a35224c366a85cd7ab1c36a128eb746457be9fdea76c8e SHA512 4449c478109dd78933e346e87228639d0c5fcc33466a60a9649756cb69b087b82a7e0aa21591b4b2e8046858ac6ac9fc7cc43d84eb2e64624b49af8445dcda21 -EBUILD faun-0.1.4.ebuild 723 BLAKE2B 9f810398222999017b1c20751446cea6bd9dc0e1e2a81ac7477618561e92b181bf752daab6f79385ab2e9a733ce353ea16861d2b848e01d5fc7a765d8ee8bc53 SHA512 0f4c91835c44194183cdd86ba5ccfa204d34326c7620f1cf837e1a73ce269275074c4cd13af600bd72a33e2a540e7cd517a65d0319611b26ac2ea361cb1edca4 -MISC metadata.xml 474 BLAKE2B 681b365b3146371dac7b778ee37ba9401215ab28cf98f3a01527f4496b2b215f9bf3ff12e60be6f08478a05719b7d1ee3169a7dff86948b3a7c766d6d83efc31 SHA512 511f1ee5ff692e2999da9de2d8dc1ba4a5a840635d70ffaabe2e7efb93694a995a1dad813f4d2f928d83722a86c8b175000835b907522daf698d396d64a945bb +AUX faun-0.2.1_makefile.patch 973 BLAKE2B e3e5185e5a7686dc9e1ba5d5f1487beb4500db8ecaeef5b23960245d4f9969ef8882506b1b50f00633df08bb305ce0a55325c816c7bc042ddea12864fd9fc671 SHA512 c2ead60a2ba361862f3e12322a27c254e03b0299b1d8e685331708785071f890860ee4cedc9ee822532412eb4c2d57ab2a43e3f55ab6afbdfd5b03fe3e4fca31 +DIST faun-0.2.1.tar.gz 118623 BLAKE2B 812f99462d512efde104c664ae1a12b0ada5b87e7b975c2f89274c41d9d24409eccb2ea28d37e02225dab0d6290bf2fa5302a55b5ec824ae7943aaa6149c80cb SHA512 d145d99519c6836147f27bada0b87b70ad864b9bb3af3860183fc7a1c0b51c10a6f904ca365f7016510088d4f83e42dbd2d0e9dd260ad73209e29985af3a9fd4 +EBUILD faun-0.2.1.ebuild 731 BLAKE2B 762583c7c7ef70ac3fd598d98a7486b01c5bcea62144e52e8929bc8e9f0a34ad60824606e492cbb92d97f54f0169fd6513a1df6975542c850d5d1b64b53bfb5e SHA512 243c9af5ef0a758c9b35db834c4a44b7b5a5acf6ac4e4c5d9198a04b7c54f63b062c83cc80f5fe6a144aafb40e313452270821efd6737d33600187e5098a1909 +MISC metadata.xml 476 BLAKE2B 752d96fb4f66572889e2568466fb8122344981a925c835e31c238a676c8942292da1748eeaf5d627489999bc3db0c0196419426b21c28165a773a356d8794225 SHA512 6d4299f946986a0a3463e91fa27482abc836a9fed779301271f1d0d3e1fe1a33e9a14237f03be47a9a1e349cb3c4429c5774ecd1fdfce8a7b94fdf90535b38a4 diff --git a/media-libs/faun/faun-0.1.4.ebuild b/media-libs/faun/faun-0.2.1.ebuild index a5b0eb2e7089..3750f5c686a8 100644 --- a/media-libs/faun/faun-0.1.4.ebuild +++ b/media-libs/faun/faun-0.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023-2024 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,23 +6,24 @@ 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" +HOMEPAGE="https://wickedsmoke.codeberg.page/faun_doc/" +SRC_URI="https://codeberg.org/wickedsmoke/faun/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" -# based on COPYING file -LICENSE="MIT flac? ( GPL-2 )" +LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="flac" DEPEND=" + flac? ( media-libs/flac ) media-libs/libpulse media-libs/libvorbis " RDEPEND="${DEPEND}" PATCHES=( - "${FILESDIR}/${PN}-0.1.2_makefile.patch" + "${FILESDIR}/${PN}-0.2.1_makefile.patch" ) src_configure() { 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" <azamat.hackimov@gmail.com> -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/files/faun-0.2.1_makefile.patch b/media-libs/faun/files/faun-0.2.1_makefile.patch new file mode 100644 index 000000000000..7de9b4d67449 --- /dev/null +++ b/media-libs/faun/files/faun-0.2.1_makefile.patch @@ -0,0 +1,40 @@ +From c8c08f50ba9900790ce4127eee4adcbda208ad7b Mon Sep 17 00:00:00 2001 +From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com> +Date: Thu, 16 Jan 2025 18:19:25 +0300 +Subject: [PATCH] Fix buildsystem + +* Respect CFLAGS, library dependencies +--- a/Makefile ++++ b/Makefile +@@ -6,10 +6,11 @@ ifeq ($(STATIC),1) + STATIC_LIB=true + endif + +-CFLAGS+=-O3 -DNDEBUG ++CFLAGS?=-O3 -DNDEBUG + #CFLAGS+=-g -DDEBUG ++PKG_CONFIG?=pkg-config + +-OPT=-DUSE_LOAD_MEM -DUSE_SFX_GEN ++OPT=-DUSE_LOAD_MEM -DUSE_SFX_GEN `$(PKG_CONFIG) --cflags libpulse-simple libpulse vorbisfile` + + DESTDIR ?= /usr/local + +@@ -22,11 +23,11 @@ else + LIB_DIR=$(DESTDIR)/lib + endif + +-DEP_LIB = -lpulse -lvorbisfile -lpthread -lm ++DEP_LIB = `$(PKG_CONFIG) --libs libpulse-simple libpulse vorbisfile` -lpthread -lm + + ifeq ($(FLAC),1) +-OPT+=-DUSE_FLAC=1 +-DEP_LIB+=-lFLAC ++OPT+=-DUSE_FLAC=1 `$(PKG_CONFIG) --cflags flac` ++DEP_LIB+=`$(PKG_CONFIG) --libs flac` + else ifeq ($(FLAC),2) + OPT+=-DUSE_FLAC=2 + endif +-- +2.45.2 + diff --git a/media-libs/faun/metadata.xml b/media-libs/faun/metadata.xml index a4800f6c9069..e17def60d1ea 100644 --- a/media-libs/faun/metadata.xml +++ b/media-libs/faun/metadata.xml @@ -10,6 +10,6 @@ <name>Proxy Maintainers</name> </maintainer> <upstream> - <remote-id type="github">WickedSmoke/faun</remote-id> + <remote-id type="codeberg">wickedsmoke/faun</remote-id> </upstream> </pkgmetadata> diff --git a/media-libs/glycin-loaders/Manifest b/media-libs/glycin-loaders/Manifest index c88139b886c9..6d82cf12a2d1 100644 --- a/media-libs/glycin-loaders/Manifest +++ b/media-libs/glycin-loaders/Manifest @@ -1,5 +1,3 @@ -DIST glycin-1.1.2.tar.xz 28347232 BLAKE2B fca58f99c8f2096a8d339e32a90435f56547f85715b95a5dd5da754c3d47adae712ea6d0bd9b8f7c6678f9b690837da721203a27ddf461cab16130cc7f3c17d2 SHA512 6eef9d21c5f4a423acea41e82b205de3a4dc0e3a5ce235f6cda4b4bd1052703cb9f4e16095b0927ff9185300c32e8631480d73ac313bda9a58c70122a9b7c3e8 DIST glycin-1.1.4.tar.xz 28352904 BLAKE2B 0623a05462fb8a59d9d7e7f49968b4b68a26bd4f2088702d857048f206e9bc466907dfe2b979fdd4f80ee08e9daa888e4210cc177ca8ca5cc87fc9c10bd86e03 SHA512 8bfeefbbc36794d8b57ac86a0166038372c93aeec65a335db91a098f7442f9d33838c7f657f6a98b5528f62f89cc24b6d52e0e45738e333a3fe0179d0b02ee8c -EBUILD glycin-loaders-1.1.2.ebuild 1784 BLAKE2B 36f63ec9902c25c58394b51f944adcad9bdafd68432492a4d88a24a2b749d4ec2aa866e4eaad7418e50a8654b63855a70b4b9329bbab91d9b115893d73b3406e SHA512 f1b399d96f3003d45d5840fbe212ae9bf424a7130d935284c1ded477d1c04e8e9c0e2be184aac0c98e2e91b5561f6feb41aa011be8c251399a7572f8d2a962e2 -EBUILD glycin-loaders-1.1.4.ebuild 1784 BLAKE2B 36f63ec9902c25c58394b51f944adcad9bdafd68432492a4d88a24a2b749d4ec2aa866e4eaad7418e50a8654b63855a70b4b9329bbab91d9b115893d73b3406e SHA512 f1b399d96f3003d45d5840fbe212ae9bf424a7130d935284c1ded477d1c04e8e9c0e2be184aac0c98e2e91b5561f6feb41aa011be8c251399a7572f8d2a962e2 +EBUILD glycin-loaders-1.1.4.ebuild 1917 BLAKE2B 0dcd849afa9ce8769054770c41745dfd1513662c6e85b729c725286517727a7206fcb2a30fe5326d8e69692a5f8634c4e57457e7693b0c015b1ed971e98ca342 SHA512 f2b93eab34949f7c93b2df94211e2f265e302aa34a48cffaa8afa03be5f21fbd012266ae4c2d660a1b8238453a3b6aba93d9decac43ecc721d0c98bff9e6d66c MISC metadata.xml 331 BLAKE2B b62bbf18b3c5de49ceb8429587082188fa6503b3dc24d8aae4d79cebcba1889846d20724f0293eb87413e554a1c2dea698e452070889c945ed9b3ce823eb7107 SHA512 4408889d08fe53cf137df4ea60d15e4cbda90c1df5da9072f66be025dc97693570c3af4a1e7a22cbba5475c9e30210af07e338197e1a2cfe72f341b28d2f5e7d diff --git a/media-libs/glycin-loaders/glycin-loaders-1.1.2.ebuild b/media-libs/glycin-loaders/glycin-loaders-1.1.2.ebuild deleted file mode 100644 index bef17192a368..000000000000 --- a/media-libs/glycin-loaders/glycin-loaders-1.1.2.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2024-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cargo meson - -MY_P=glycin-${PV/_/.} -DESCRIPTION="Loaders for glycin clients (glycin crate or libglycin)" -HOMEPAGE="https://gitlab.gnome.org/GNOME/glycin/" -SRC_URI=" - https://download.gnome.org/sources/glycin/$(ver_cut 1-2)/${MY_P}.tar.xz -" -S=${WORKDIR}/${MY_P} - -LICENSE="|| ( LGPL-2.1+ MPL-2.0 )" -# Dependent crate licenses -LICENSE+=" - Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD GPL-3+ ISC MIT - Unicode-DFS-2016 - || ( LGPL-2.1+ MPL-2.0 ) -" -SLOT="0" -KEYWORDS="~amd64" -IUSE="heif jpegxl svg test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-libs/glib-2.60:2 - >=sys-libs/libseccomp-2.5.0 - heif? ( >=media-libs/libheif-1.17.0:= ) - jpegxl? ( >=media-libs/libjxl-0.10.0:= ) - svg? ( - >=gnome-base/librsvg-2.52.0:2 - >=x11-libs/cairo-1.17.0 - ) -" -DEPEND=" - ${RDEPEND} - test? ( - >=gui-libs/gtk-4.12.0:4 - >=media-libs/lcms-2.14:2 - ) -" -BDEPEND=" - test? ( - sys-apps/bubblewrap - sys-apps/dbus - ) -" - -ECARGO_VENDOR=${S}/vendor - -QA_FLAGS_IGNORED="usr/libexec/glycin-loaders/.*" - -src_prepare() { - default - - # https://gitlab.gnome.org/GNOME/glycin/-/issues/81 - sed -i -e '\|/fonts|d' tests/tests.rs || die -} - -src_configure() { - local formats=( - $(usev heif glycin-heif) - $(usev jpegxl glycin-jxl) - $(usev svg glycin-svg) - glycin-image-rs - ) - local formats_s=${formats[*]} - local emesonargs=( - -Dprofile=$(usex debug dev release) - -Dglycin-loaders=true - -Dloaders="${formats_s// /,}" - -Dtests=$(usex test true false) - -Dlibglycin=false - ) - - meson_src_configure - ln -s "${CARGO_HOME}" "${BUILD_DIR}/cargo-home" || die -} - -src_test() { - # tests write to /proc/*/uid_map - # apparently, "addpredict /" in Portage breaks it - local -x SANDBOX_ON=0 - meson_src_test -} diff --git a/media-libs/glycin-loaders/glycin-loaders-1.1.4.ebuild b/media-libs/glycin-loaders/glycin-loaders-1.1.4.ebuild index bef17192a368..217ae3663814 100644 --- a/media-libs/glycin-loaders/glycin-loaders-1.1.4.ebuild +++ b/media-libs/glycin-loaders/glycin-loaders-1.1.4.ebuild @@ -58,6 +58,9 @@ src_prepare() { # https://gitlab.gnome.org/GNOME/glycin/-/issues/81 sed -i -e '\|/fonts|d' tests/tests.rs || die + # avoid depending on git + # https://gitlab.gnome.org/GNOME/glycin/-/issues/110 + sed -i -e 's/git/false/' loaders/meson.build || die } src_configure() { |