summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/flac
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-multimedia/flac
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/flac')
-rw-r--r--meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch45
-rw-r--r--meta/recipes-multimedia/flac/flac_1.5.0.bb45
2 files changed, 0 insertions, 90 deletions
diff --git a/meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch b/meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch
deleted file mode 100644
index 0e6be8c8d2..0000000000
--- a/meta/recipes-multimedia/flac/flac/0001-API-documentation-replace-modules.html-by-topics.htm.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 6ad5b6a9ce81383ef75e6f7b88f54d3c29294e63 Mon Sep 17 00:00:00 2001
2From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
3Date: Sat, 15 Mar 2025 11:50:08 +0100
4Subject: [PATCH] API documentation: replace modules.html by topics.html
5
6This fixes the issue reported on
7https://lists.xiph.org/pipermail/flac-dev/2025-February/006696.html
8
9Newer Doxygen versions call what was previously api/modules.html
10api/topics.html instead.
11
12Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
13Suggested-by: Christian Weisgerber <naddy@mips.inka.de>
14Upstream-Status: Submitted [https://github.com/xiph/flac/pull/824]
15---
16 configure.ac | 2 +-
17 include/FLAC/all.h | 2 +-
18 2 files changed, 2 insertions(+), 2 deletions(-)
19
20diff --git a/configure.ac b/configure.ac
21index 8eb82320..74295eec 100644
22--- a/configure.ac
23+++ b/configure.ac
24@@ -296,7 +296,7 @@ if test "x$enable_doxygen_docs" != xfalse ; then
25 fi
26 AM_CONDITIONAL(FLaC__HAS_DOXYGEN, test -n "$DOXYGEN")
27
28-if test ! -n "$DOXYGEN" && test -f "$srcdir/doc/FLAC.tag" && test -f "$srcdir/doc/api/modules.html" ; then
29+if test ! -n "$DOXYGEN" && test -f "$srcdir/doc/FLAC.tag" && test -f "$srcdir/doc/api/topics.html" ; then
30 HAS_PREBUILT_DOXYGEN=yes
31 fi
32 AM_CONDITIONAL(FLaC__HAS_PREBUILT_DOXYGEN, test "x$HAS_PREBUILT_DOXYGEN" = xyes)
33diff --git a/include/FLAC/all.h b/include/FLAC/all.h
34index f29aa010..0be26fd7 100644
35--- a/include/FLAC/all.h
36+++ b/include/FLAC/all.h
37@@ -102,7 +102,7 @@
38 * \section getting_started Getting Started
39 *
40 * A good starting point for learning the API is to browse through
41- * the <A HREF="modules.html">modules</A>. Modules are logical
42+ * the <A HREF="topics.html">modules</A>. Modules are logical
43 * groupings of related functions or classes, which correspond roughly
44 * to header files or sections of header files. Each module includes a
45 * detailed description of the general usage of its functions or
diff --git a/meta/recipes-multimedia/flac/flac_1.5.0.bb b/meta/recipes-multimedia/flac/flac_1.5.0.bb
deleted file mode 100644
index d6df801aec..0000000000
--- a/meta/recipes-multimedia/flac/flac_1.5.0.bb
+++ /dev/null
@@ -1,45 +0,0 @@
1SUMMARY = "Free Lossless Audio Codec"
2DESCRIPTION = "FLAC stands for Free Lossless Audio Codec, a lossless audio compression format."
3HOMEPAGE = "https://xiph.org/flac/"
4BUGTRACKER = "https://github.com/xiph/flac/issues"
5SECTION = "libs"
6LICENSE = "GFDL-1.3 & GPL-2.0-or-later & LGPL-2.1-or-later & BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://COPYING.FDL;md5=802e79e394e372d01e863e3f4058cf40 \
8 file://src/Makefile.am;beginline=1;endline=17;md5=9c882153132df8f3a1cb1a8ca1f2350f \
9 file://COPYING.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10 file://src/flac/main.c;beginline=1;endline=18;md5=1e826b5083ba1e028852fe7ceec6a8ad \
11 file://COPYING.LGPL;md5=fbc093901857fcd118f065f900982c24 \
12 file://COPYING.Xiph;md5=78a131b2ea50675d245d280ccc34f8b6 \
13 file://include/FLAC/all.h;beginline=65;endline=70;md5=39aaf5e03c7364363884c8b8ddda8eea \
14 "
15
16SRC_URI = "http://downloads.xiph.org/releases/flac/${BP}.tar.xz \
17 file://0001-API-documentation-replace-modules.html-by-topics.htm.patch"
18
19SRC_URI[sha256sum] = "f2c1c76592a82ffff8413ba3c4a1299b6c7ab06c734dee03fd88630485c2b920"
20
21CVE_PRODUCT = "libflac flac"
22
23inherit autotools gettext
24
25EXTRA_OECONF = "--disable-oggtest \
26 --without-libiconv-prefix \
27 "
28
29PACKAGECONFIG ??= " \
30 ogg \
31"
32PACKAGECONFIG[avx] = "--enable-avx,--disable-avx"
33PACKAGECONFIG[ogg] = "--enable-ogg --with-ogg-libraries=${STAGING_LIBDIR} --with-ogg-includes=${STAGING_INCDIR},--disable-ogg,libogg"
34
35PACKAGES += "libflac libflac++"
36FILES:${PN} = "${bindir}/*"
37FILES:libflac = "${libdir}/libFLAC.so.*"
38FILES:libflac++ = "${libdir}/libFLAC++.so.*"
39
40do_install:append() {
41 # make the links in documentation relative to avoid buildpaths reproducibility problem
42 sed -i "s#${S}/include#${includedir}#g" ${D}${docdir}/flac/FLAC.tag ${D}${docdir}/flac/api/*.html
43 # there is also one root path without trailing slash
44 sed -i "s#${S}#/#g" ${D}${docdir}/flac/api/*.html
45}