From 0ebcd2cbf178600b5eb36b2f24cdbb3d2f4a9000 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 13 Jun 2024 00:08:30 +0100 Subject: gentoo auto-resync : 13:06:2024 - 00:08:29 --- media-libs/alsa-lib/Manifest | 2 + media-libs/alsa-lib/alsa-lib-1.2.12.ebuild | 98 ++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 media-libs/alsa-lib/alsa-lib-1.2.12.ebuild (limited to 'media-libs/alsa-lib') diff --git a/media-libs/alsa-lib/Manifest b/media-libs/alsa-lib/Manifest index 34be5f067774..e290eccf6d88 100644 --- a/media-libs/alsa-lib/Manifest +++ b/media-libs/alsa-lib/Manifest @@ -7,7 +7,9 @@ AUX alsa-lib-1.2.10-ump-header-detection.patch 1624 BLAKE2B da7a512d1e389d8dbf00 AUX alsa-lib-1.2.11-topology-correct-version-script-path.patch 1167 BLAKE2B 0540456e96eb47279d952b888d7c7ada54b7850e0a2a091b98bafc7969e97cdd829ecf7572a03eaa8b5da3d8e548b3c787eda66502673954bd583809b98a5f3d SHA512 a8ed806a9a98a0c351a76f043bb8344746f5258c13d8d08be547556e0f9c1c65472398d9d6cdeb87c22fb1340b8cc23c10bb1aee42063544c31f4afbcf8fa84e DIST alsa-lib-1.2.10.tar.bz2 1107007 BLAKE2B b2e4f8431e61f5bb56b2b5d124e67d5a68bbca3c647bebfa93f5e5ff092ec9ef3f6cb6315801fcd93e21151784814ff238d357313b8b44f32d4e7c9ee565388f SHA512 4ccbd1dc5a612044571c26290923009e4c3f7959b30a5d0bed47daa68bbefaff9059c4f0fa3bc16f22c1eed2d36f079139369f40243da5921ae4de02a4541939 DIST alsa-lib-1.2.11.tar.bz2 1107150 BLAKE2B 7fb245ffbfb841bdd5cb9da08fb2ec0a4ce8d340d4d1461999aca558c67c16e7c596cd0bffab761b7b4549025b0fb25462fb352e6d3900fb42f00b47de58d34c SHA512 7bf2c541dff5262c0302a1c716ca10cdb5105f4e0ad48f3341c3c7e975b0c3ea835a298a05974c3e216a85912c368d8025ba3cdda3ff04a7683133ce5b2a286d +DIST alsa-lib-1.2.12.tar.bz2 1108712 BLAKE2B bcb48ad2c8687454b312e789c650136fee0db8cccf58e997b9d619aac5c74288b69220589efdcd3917eb1d781ef71be5fcd16d997c59c069fe20788d1a479068 SHA512 053e36e51c0ff28f07028b89c8845b50682a5c14035ab85c2fc8cae2f2f0d05e4cd45ed879602c15c1596fb7fe84bfd50ec0d119dfb55c66589a2d458a9b317d EBUILD alsa-lib-1.2.10-r2.ebuild 2863 BLAKE2B 13aef97c3efab8d9ba88cb3896ab69d72a9a6ba2fc28ccb5ca4b7b0fb6de4f8ae79e9e70cb8634381bec06b24f432c2929cea423545804b691565783432416b9 SHA512 2842ac667bdf1d88296ebb2025a6e62bdc49a87afb542c817966794ffb8b33943efa31b90a67309e992e69b73ee564656b661568a217c5fa0aeba1a2cfee9be2 EBUILD alsa-lib-1.2.10-r3.ebuild 2920 BLAKE2B c64e3be13f0807b2e8e95a1ad75159cd12fc1567afb817c11ebd257c5aee81c3ef0bc44b35fac8ff0a46c917c3c90bc3ec9245af616680823f5d63d72c630db5 SHA512 56b9fe496e9e78ac6c74cfb6c33b3035e093530a3829a5f8a363f72488eb71a6b2e861dc96492ddb30f54e978c5f8fbcbab050ceb77389e4004687ae841fafda EBUILD alsa-lib-1.2.11.ebuild 2665 BLAKE2B 309d8300c41a5847518bddcf8838c312e2d2b4f99719e8453b692b0f9adee856d9d219757cc51e54b9325cea721e58f800fb62b976b41e5240e58f6a465b2aad SHA512 c2f5ffe4c30479263aebb71afc08218e13d61c4ec4bc1f7a5a4d729db1bd4607aa615dc29134b0bd9eb2e5c766ce3cbed5308146a3de06516e540d3af99fa4b4 +EBUILD alsa-lib-1.2.12.ebuild 2602 BLAKE2B 99699041b520b786ed5895df5ff491488e447dd1aaebffeec54c1799013dc88290c95bfc3c8c92f658873052b20990c33273b57dc42f2806849d89d2745cecdb SHA512 9c07ff1742b75abfaf34524e5e1ea712e47b358f313a88e371f6a8673443c7d909fed57d7efdc4d60cc044f54eecfa6df2d59c9b036a6984bbe975b53f93c689 MISC metadata.xml 508 BLAKE2B 5d7cb196ffea7d75c228f28cfbc88b7c3ca7e18b4f8f790dd51718bce508679fb61073f0df0a192028c57bf3c8f99e3838c7c061dc408ae915b84213fd14b383 SHA512 4b682f9fa77d3287e0e56e39c6aa97b06129f85cc1dd898efac0682dd33f6b22ca20e08dcb95423ac953eafde7d2850db9c5a363156eaefa2c1752dd72011a4c diff --git a/media-libs/alsa-lib/alsa-lib-1.2.12.ebuild b/media-libs/alsa-lib/alsa-lib-1.2.12.ebuild new file mode 100644 index 000000000000..29238ca3c274 --- /dev/null +++ b/media-libs/alsa-lib/alsa-lib-1.2.12.ebuild @@ -0,0 +1,98 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit autotools multilib-minimal flag-o-matic python-single-r1 + +DESCRIPTION="Advanced Linux Sound Architecture Library" +HOMEPAGE="https://alsa-project.org/wiki/Main_Page" +if [[ ${PV} == *_p* ]] ; then + # Please set correct commit ID for a snapshot release! + COMMIT="7e3a3c2b0a092d0f568ba3c98365030dd91cc877" + SRC_URI="https://git.alsa-project.org/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz -> ${P}.tar.gz" + S="${WORKDIR}"/${PN}-${COMMIT:0:7} +else + # TODO: Upstream does publish .sig files, so someone could implement verify-sig ;) + SRC_URI="https://www.alsa-project.org/files/pub/lib/${P}.tar.bz2" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="alisp debug doc python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + media-libs/alsa-topology-conf + media-libs/alsa-ucm-conf + python? ( ${PYTHON_DEPS} ) +" +DEPEND="${RDEPEND}" +BDEPEND="doc? ( >=app-text/doxygen-1.2.6 )" + +PATCHES=( + "${FILESDIR}/${PN}-1.1.6-missing_files.patch" # bug #652422 +) + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + find . -name Makefile.am -exec sed -i -e '/CFLAGS/s:-g -O2::' {} + || die + # bug #545950 + sed -i -e '5s:^$:\nAM_CPPFLAGS = -I$(top_srcdir)/include:' test/lsb/Makefile.am || die + + eautoreconf +} + +multilib_src_configure() { + # Broken upstream. Could in theory work with -flto-partitions=none + # but it's a hack to workaround the real problem and not strictly safe. + # bug #616108, bug #669086, and https://github.com/alsa-project/alsa-lib/issues/6. + # (This bug is closed as of 1.2.9 but there's been no clear actual fix to it. + # Let us know if you can identify one.) + filter-lto + + local myeconfargs=( + --disable-maintainer-mode + --disable-resmgr + --enable-aload + --enable-rawmidi + --enable-seq + --enable-shared + --enable-thread-safety + + $(multilib_native_use_enable python) + $(use_enable alisp) + $(use_with debug) + ) + + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_compile() { + emake + + if multilib_is_native_abi && use doc; then + emake doc + grep -FZrl "${S}" doc/doxygen/html | \ + xargs -0 sed -i -e "s:${S}::" || die + fi +} + +multilib_src_install() { + multilib_is_native_abi && use doc && local HTML_DOCS=( doc/doxygen/html/. ) + + default +} + +multilib_src_install_all() { + find "${ED}" -type f -name '*.la' -delete || die + + dodoc ChangeLog doc/asoundrc.txt NOTES TODO +} -- cgit v1.2.3