diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-08 04:29:46 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-08 04:29:46 +0100 |
commit | 91123d2faefa2e7d77657215ec9287ae5d6dc0d7 (patch) | |
tree | 89a4d67ea84c89db1f1c03f53f83cfe59a923b47 /media-sound/alsa-utils | |
parent | de1079fbccb3bceb32818385f756637e266f2107 (diff) |
gentoo auto-resync : 08:09:2023 - 04:29:45
Diffstat (limited to 'media-sound/alsa-utils')
-rw-r--r-- | media-sound/alsa-utils/Manifest | 2 | ||||
-rw-r--r-- | media-sound/alsa-utils/alsa-utils-1.2.10-r1.ebuild | 93 |
2 files changed, 95 insertions, 0 deletions
diff --git a/media-sound/alsa-utils/Manifest b/media-sound/alsa-utils/Manifest index 83da5d2912c7..f1fa78260654 100644 --- a/media-sound/alsa-utils/Manifest +++ b/media-sound/alsa-utils/Manifest @@ -1,9 +1,11 @@ AUX alsa-utils-1.1.8-missing_header.patch 1580 BLAKE2B 59ac66fa5fbc303978bac8e16c2b026e7c9416ee4c06b220ad7bac926c3136e2053ab24438048dcebf96091e2ea934f743ff3c694d9dbd7fee49439ec900b514 SHA512 10f0924522178d3258eb2086da5ab94681ec580cf89aee98ebbc6d7f759db9484a82e8c10f484139516fe4c4f31ee33f021cc9dc7d472debe8c1353b881c40db AUX alsasound.confd-r4 340 BLAKE2B bcd03d51441528871316f1de640c4e7d382756bfea893adad8ea5b65ac166199dfa23acb07a0ae92d933d1b9c74d39cf96a778993b3d72074c27e4a7b4c28f4c SHA512 90c1e974276945f7632dc370a005b58d669b93edbf27116098d4831e69c11c26d9b21e7eacfaf12c50019f8c88dc1f370101e2d905fdde40887fe36bac00d83e AUX alsasound.initd-r8 2183 BLAKE2B 3c3e59847817e06e7847399fad02885fc493e2b51b769a16d3cff57a2270a7769de2072855e5d09883e6c339d207185b4cb75639cbb2c5d3d16c07d9b07a75a3 SHA512 983172bbec6792028d0757d2385bfe1a7226b1db72a4490acf2a4927e6a20d8cca0746a2b1747f0f3390353196051b041397e3eae1d04a6fa02985c87a5e178f +DIST alsa-utils-1.2.10-patches.tar.xz 4984 BLAKE2B aa46afe25e709905285c3255d80a086b843c078d12385e8787812cb33ec0f16bff5fa1f35867166824978c99354cf74d10f2596e026b3b10b0180049486ea15f SHA512 d26e7276ac6636ac71d8bbaa9978999e13ce36f228c9854e90d29a63fae3cc0c3f8b2fb25effdd461d2b77e91fda3069987fa8355f5ef6f22a37af282e26ff6c DIST alsa-utils-1.2.10.tar.bz2 1625707 BLAKE2B 077b4ad090c1ab40dd4fa22db01ae2a080ca849a5564dfe612654993297c80bd3584541c7e68aaad56c4c05538ba0de449e4677b1c4a9dfe56d8e11706c4ca35 SHA512 22adedf6d491d7768d24f054262a9c12bc952049db8374e104c0477ebf84266dcbeb0a2a3a1765b89958073d341f64dedbae63e3cae66f4983a0424e5cb3243f DIST alsa-utils-1.2.8.tar.bz2 1560162 BLAKE2B 4b9676957e775be51076b4798dfd384db4eea440c682899024034d3dd593ba24f1d42b8d742c312e041a37f0dbbc12b16635d79f6e6633a3459cc21f80739b5e SHA512 882e6f67467596ed273bf554fcce87d8ef287806bbdabd6c103de4980981f9e2102fb3800c6e8628ee8e86ffb165c1c92f9370c8145f28a6cb7cca563942330b DIST alsa-utils-1.2.9.tar.bz2 1598424 BLAKE2B 9d75f63c7ff8b0d7ee835a1ad8fc242dee9b59770b1ad0ff9cd233caf50ac844323fb2ebb8e649f03a0a30a161ec72cba472ac79e390c3f0eb6e2a184d8f576c SHA512 f46e13fd57ed05ee38d3fa655e57b14335ecf0664dbe03275808383d87d28df153a81151e2e9d8786625f09929c567c89e145508a706a70eeb91ac1b11fb2fd4 +EBUILD alsa-utils-1.2.10-r1.ebuild 2636 BLAKE2B 1c84e3d42b1d64f3e563963cda281e985b442b8e7309840fe7d15877cb97887e2b34fa36b072643496b3ebb37db3e8a16a79829c1c0a3a3855e7cf0de7d373d9 SHA512 675267c51a8625cd02450a57fe819bde4f2930a68a56baad6a941e4f2c071621ca7a76a0d12b02426b41cd0467b78f07268eb93d25e164902c73e39f42915f19 EBUILD alsa-utils-1.2.10.ebuild 2505 BLAKE2B 11547055f297c57f9634779294fa6046ad24028e40e3a25db681a587c712918e560d0bdcc823bdf089e01c1925e5f5434cb8f32be2babe288e9be468ac1d112b SHA512 a687a6c35e9907f7172817f698d6acf250fb17ce4fdf8e9cd9204d4a0ed267439601d6be2d2d6eb6196d000ed794cd84d04c019c113696f70e44f7d343d4de57 EBUILD alsa-utils-1.2.8-r2.ebuild 2496 BLAKE2B f897dbb5d0363e643efde8b228e205a7b57ef14498937e4f58bcd584f816b76ef974eac6bf8fc12ffa6af1e1c0446f1516b86a9074f9bd6c54ef49c04f06abb3 SHA512 06f9bca8bf127107fdebf1d044e88579d0bca24047fea0b1c1888e60981960ff0e0ed0bdb30ec08e4805c527bb696e53cf89f800fbe8daec1a34ef670cedd00d EBUILD alsa-utils-1.2.9.ebuild 2497 BLAKE2B bce0c8a9a0e901ed353f1335e32ca63ff326588c5533bed68bfd1c2c95d381680d2f79b0c74e3dfecbb68aac7ee618690638c979173fc16b1b22451f2c857696 SHA512 12cade0d9132f80dbfecdd81709296cc78a4f56e1404beb27bb7ad00eb1c1138bb941ab8b4039b2220c86b2052184f57e0716539abc6204b45b75df1736fc5b2 diff --git a/media-sound/alsa-utils/alsa-utils-1.2.10-r1.ebuild b/media-sound/alsa-utils/alsa-utils-1.2.10-r1.ebuild new file mode 100644 index 000000000000..b5a641a657e9 --- /dev/null +++ b/media-sound/alsa-utils/alsa-utils-1.2.10-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd udev + +DESCRIPTION="Advanced Linux Sound Architecture Utils (alsactl, alsamixer, etc.)" +HOMEPAGE="https://alsa-project.org/wiki/Main_Page" +SRC_URI="https://www.alsa-project.org/files/pub/utils/${P}.tar.bz2" +SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-1.2.10-patches.tar.xz" + +LICENSE="GPL-2" +SLOT="0.9" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="bat doc +libsamplerate ieee1394 +ncurses nls selinux" + +DEPEND=" + >=media-libs/alsa-lib-${PV} + libsamplerate? ( media-libs/libsamplerate ) + ieee1394? ( media-libs/libffado ) + ncurses? ( >=sys-libs/ncurses-5.7-r7:= ) + bat? ( sci-libs/fftw:= ) +" +RDEPEND=" + ${DEPEND} + selinux? ( sec-policy/selinux-alsa ) +" +BDEPEND=" + virtual/pkgconfig + doc? ( app-text/xmlto ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.8-missing_header.patch + "${WORKDIR}"/${PN}-1.2.10-patches +) + +src_configure() { + export ac_cv_lib_ffado_ffado_streaming_init=$(usex ieee1394) + + local myeconfargs=( + # --disable-alsaconf because it doesn't work with sys-apps/kmod, bug #456214 + --disable-alsaconf + --disable-maintainer-mode + --with-asound-state-dir="${EPREFIX}"/var/lib/alsa + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d + $(use_enable bat) + $(use_enable libsamplerate alsaloop) + $(use_enable ncurses alsamixer) + $(use_enable nls) + $(usev !doc '--disable-xmlto') + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + dodoc seq/*/README.* + + newinitd "${FILESDIR}"/alsasound.initd-r8 alsasound + newconfd "${FILESDIR}"/alsasound.confd-r4 alsasound + + keepdir /var/lib/alsa + + # ALSA lib parser.c:1266:(uc_mgr_scan_master_configs) error: could not + # scan directory /usr/share/alsa/ucm: No such file or directory + # alsaucm: unable to obtain card list: No such file or directory + keepdir /usr/share/alsa/ucm + + find "${ED}" -type f -name '*.la' -delete || die +} + +pkg_postinst() { + udev_reload + + if [[ -z ${REPLACING_VERSIONS} ]] && ! systemd_is_booted ; then + elog + elog "To take advantage of the init script, and automate the process of" + elog "saving and restoring sound-card mixer levels you should" + elog "add alsasound to the boot runlevel. You can do this as" + elog "root like so:" + elog "# rc-update add alsasound boot" + ewarn + ewarn "The ALSA core should be built into the kernel or loaded through other" + ewarn "means. There is no longer any modular auto(un)loading in alsa-utils." + fi +} + +pkg_postrm() { + udev_reload +} |