summaryrefslogtreecommitdiff
path: root/media-libs/libcanberra
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libcanberra')
-rw-r--r--media-libs/libcanberra/Manifest1
-rw-r--r--media-libs/libcanberra/libcanberra-0.30-r8.ebuild72
2 files changed, 73 insertions, 0 deletions
diff --git a/media-libs/libcanberra/Manifest b/media-libs/libcanberra/Manifest
index 19003363cad2..fafc63b8cc52 100644
--- a/media-libs/libcanberra/Manifest
+++ b/media-libs/libcanberra/Manifest
@@ -2,4 +2,5 @@ AUX libcanberra-0.30-wayland.patch 2382 BLAKE2B bc2be1eb32541c80483538b8e3105f28
AUX libcanberra-gtk-module.sh 275 BLAKE2B d7f863f77983d4144035eefc7ce3abb4eb411ecc3aac5f5737b7ce0f44e42cf713b963a17c6a6afdaa95833eedaa510ccd9371056c2c6f0e805febf16c245e36 SHA512 6c945211ad9d461e5bdac209c83e0fc0c714eb194f6d57e4f18db1d904528fe845cd628572d0ab9eb4d53005c00073b376b6d718bcd0cddaeee83dc90042643d
DIST libcanberra-0.30.tar.xz 318960 BLAKE2B c90c6863738b103c256eeb0907060a0f74b73ef50ac0728d2114aa558a7a1ad7cbae4184860573d3fac0032eba77327a4de94c459b99a81c3dc19da0e98adfda SHA512 f7543582122256826cd01d0f5673e1e58d979941a93906400182305463d6166855cb51f35c56d807a56dc20b7a64f7ce4391368d24990c1b70782a7d0b4429c2
EBUILD libcanberra-0.30-r7.ebuild 2498 BLAKE2B 725ac6409ec1079218ea2f15c6d18eb7e024bdd53bc58514247cfd72eb959d7a6c46df6125ddebe2b4770966ca7a5e2ddfa8483ccf17941e54ad3dc9db5ce338 SHA512 857715b1aa992baa2313188419f19f09457d8c36cf25fadf22b4918a0269856b06fcc800680b07e28602705c7816e373aacb089c57c3e34165c4387dd2538140
+EBUILD libcanberra-0.30-r8.ebuild 1811 BLAKE2B 7ab896c8febbcd4eb465d2215ac420a4cfbf1f8c5976b2018cb569b427ec1b7ce5aee5500e7f3abcfdb0456c0901fadec3c49adacda55d32177600a207efb17d SHA512 916c7c70b33e16d3a61db043e020368c520d66c3baf34d7224bf51a96ca1c2152dbede324a8eff9724330cdbf00cb6897d623845f7efd7fe2b74b8f8b61094f6
MISC metadata.xml 1744 BLAKE2B 26312a41cefdc053215cb2a6ff704a3934f806df80d340a7766f9994ffb07118ed2647ead627197ffc8810627c00e220eec683e987bcb374b626c5508c70d7f2 SHA512 423e9ad57ce8d636c2d05b802c9cb6391d2794eeb9924009ae265c7de68165af664964c3a4f6b435bb88ffe5f37cd5d4f55addc62e1ff1b9e073c75817f0ea13
diff --git a/media-libs/libcanberra/libcanberra-0.30-r8.ebuild b/media-libs/libcanberra/libcanberra-0.30-r8.ebuild
new file mode 100644
index 000000000000..9e70735bd7e5
--- /dev/null
+++ b/media-libs/libcanberra/libcanberra-0.30-r8.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit libtool multilib-minimal systemd
+
+DESCRIPTION="Portable sound event library"
+HOMEPAGE="https://0pointer.de/lennart/projects/libcanberra/"
+SRC_URI="https://0pointer.de/lennart/projects/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="alsa gstreamer oss pulseaudio tdb udev"
+
+DEPEND="
+ dev-libs/libltdl:0[${MULTILIB_USEDEP}]
+ media-libs/libvorbis[${MULTILIB_USEDEP}]
+ alsa? (
+ media-libs/alsa-lib:=[${MULTILIB_USEDEP}]
+ udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] ) )
+ gstreamer? ( media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] )
+ pulseaudio? ( media-libs/libpulse[${MULTILIB_USEDEP}] )
+ tdb? ( sys-libs/tdb:=[${MULTILIB_USEDEP}] )
+"
+RDEPEND="${DEPEND}
+ x11-themes/sound-theme-freedesktop" # Required for index.theme wrt #323379
+BDEPEND="
+ app-arch/xz-utils
+ virtual/pkgconfig
+"
+
+REQUIRED_USE="udev? ( alsa )"
+
+src_prepare() {
+ default
+ elibtoolize
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --docdir="${EPREFIX}"/usr/share/doc/${PF}
+ $(use_enable alsa)
+ $(use_enable oss)
+ $(use_enable pulseaudio pulse)
+ $(use_enable gstreamer)
+ --disable-gtk
+ --disable-gtk3
+ $(use_enable tdb)
+ $(use_enable udev)
+ --disable-lynx
+ --disable-gtk-doc
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
+ )
+
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+
+ if multilib_is_native_abi; then
+ ln -s "${S}"/gtkdoc/html gtkdoc/html || die
+ fi
+}
+
+multilib_src_install() {
+ # Disable parallel installation until bug #253862 is solved
+ emake DESTDIR="${D}" -j1 install
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ find "${ED}" -type f -name '*.la' -delete || die
+}