diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 15:17:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-05-29 15:17:30 +0100 |
commit | 662f71ae67cd775d7fbb79b5091676c0e07a992b (patch) | |
tree | 74c7cb80b79b8886cd7466cf262878d1e8b9d546 /media-libs/libao | |
parent | b2d3769042cfd3d8ceadaa52f6a5aafabb0d4114 (diff) |
gentoo auto-resync : 29:05:2023 - 15:17:30
Diffstat (limited to 'media-libs/libao')
-rw-r--r-- | media-libs/libao/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libao/libao-1.2.2-r3.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/media-libs/libao/Manifest b/media-libs/libao/Manifest index 50517c504713..3529c8d48968 100644 --- a/media-libs/libao/Manifest +++ b/media-libs/libao/Manifest @@ -2,4 +2,5 @@ AUX libao-1.2.2-automagic_sndio_oss.patch 1407 BLAKE2B 8a67faac3b2d4a617683af689 AUX libao-1.2.2-implicit.patch 530 BLAKE2B 085b0782f7ba13088cac1d063183d6c0a6b5bf784e9ba90d1e2d1587579d78a6d58b5754733e2e2749815562513b0be0898f0709719eb6f7f55d5389040165bb SHA512 fac9d6628ad132215935190ba0d55f5837c638572988426996e3fb91053fed06739dbd57bea2518e11459af4f6e941e45d46bc3094aa2919318386dd93a448c8 DIST libao-1.2.2.tar.gz 96134 BLAKE2B e5b5d87c4357ee113769732cb6a7e0afa28b2bc4923be8dacd1fa39ac5fb96d8a5e19bc45137ffc8ec63eef0382130ab9b311aad3a66be4566e0cb9761417b23 SHA512 d2736d25b60862e7d7469611ce31b1df40a4366ab160e2ff1b46919ae91692d1596c8468e4f016303b306fc3ac1bddc7b727f535a362f403c3fe7c6532e9045a EBUILD libao-1.2.2-r2.ebuild 1673 BLAKE2B 1632784f688150da06338a0079a2cf0c37332c87f6970ff3983fc43a1528cf1adcfc14a76a259518190e32bb99852a7f659cc724f444c7e880825e1751693106 SHA512 9e0913e163e5e0b8d6af9b68ed837f7f8037883852a3380897975be8415b3805e40fe39cbb771a19c96b56fb1c9e6d3a388e2eae895705b5a38e2e9ac40831ae +EBUILD libao-1.2.2-r3.ebuild 1640 BLAKE2B 16f08f8e51dfa7a2b017fb9ac4fb8236e2490fd3396765edfd0c6d8a19480f8c5778dfc50360c4eed8fb793338b17d3298ebbb812eb7957b9b67ac30245c7d0c SHA512 48c07d47f0b44ebbd352bac0cbc78dbcbcd269a6fd250275accca5ae28b4761caaae68c4a07ac108b3a890ffbb6e88fe68afcc39cdfcbd23a84531ebe4edd982 MISC metadata.xml 335 BLAKE2B 61dc495d83503c12123bcc7dba73b35c1c7fa8b13f1c517ad452306c027edc696defe9cff6c85579c3bf4807aad5bed8376df64855899bb36237709175af7f10 SHA512 2d554c4643432fbf4c33794aff506a4d8aef0273235e009a8afa49f5467967f2c8e776da439ece0ade093bed225f06e5ae509fbf80d5eba5791dcf0f9215ac6b diff --git a/media-libs/libao/libao-1.2.2-r3.ebuild b/media-libs/libao/libao-1.2.2-r3.ebuild new file mode 100644 index 000000000000..9256d9dd01d7 --- /dev/null +++ b/media-libs/libao/libao-1.2.2-r3.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools multilib-minimal + +DESCRIPTION="The Audio Output library" +HOMEPAGE="https://www.xiph.org/ao/" +#SRC_URI="https://downloads.xiph.org/releases/ao/${P}.tar.gz" +#SRC_URI="https://git.xiph.org/?p=libao.git;a=snapshot;h=refs/tags/${PV};sf=tgz -> ${P}.tar.gz" +SRC_URI="https://github.com/xiph/libao/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos" +IUSE="alsa nas mmap pulseaudio sndio" + +RDEPEND=" + alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] ) + nas? ( >=media-libs/nas-1.9.4[${MULTILIB_USEDEP}] ) + pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] ) + sndio? ( media-sound/sndio:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-implicit.patch + "${FILESDIR}"/${P}-automagic_sndio_oss.patch +) + +src_prepare() { + default + sed -i "s:/lib:/$(get_libdir):g" ao.m4 || die + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + --disable-arts + --disable-esd + $(use_enable alsa alsa) + $(use_enable mmap alsa-mmap) + $(use_enable nas) + $(use_enable pulseaudio pulse) + $(use_enable sndio) + --disable-oss # present only in overlays + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install() { + emake DESTDIR="${D}" docdir="${EPREFIX}/usr/share/doc/${PF}/html" install +} + +multilib_src_install_all() { + dodoc AUTHORS CHANGES README TODO + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die +} |