public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/ladspa-sdk/
Date: Thu, 27 Jul 2023 08:20:02 +0000 (UTC)	[thread overview]
Message-ID: <1690445972.eff07f5a525f6e0e18ddfe72aba9790455e6067d.sam@gentoo> (raw)

commit:     eff07f5a525f6e0e18ddfe72aba9790455e6067d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 07:38:14 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 08:19:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff07f5a

media-libs/ladspa-sdk: build with LFS

Closes: https://bugs.gentoo.org/911262
Thanks-to: Allen Webb <allenwebb <AT> google.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/ladspa-sdk/ladspa-sdk-1.17-r2.ebuild | 65 +++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.17-r2.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.17-r2.ebuild
new file mode 100644
index 000000000000..d7af263402c3
--- /dev/null
+++ b/media-libs/ladspa-sdk/ladspa-sdk-1.17-r2.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs portability multilib-minimal
+
+MY_PN=${PN/-/_}
+MY_P=${MY_PN}_${PV}
+
+DESCRIPTION="The Linux Audio Developer's Simple Plugin API"
+HOMEPAGE="https://www.ladspa.org/"
+SRC_URI="https://www.ladspa.org/download/${MY_P}.tgz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="media-libs/libsndfile[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}/${P}-properbuild.patch"
+)
+
+HTML_DOCS="doc/*.html"
+
+src_prepare() {
+	default
+
+	multilib_copy_sources
+}
+
+multilib_src_configure() {
+	# bug #911262
+	append-lfs-flags
+}
+
+multilib_src_compile() {
+	emake -C src CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+		DYNAMIC_LD_LIBS="$(dlopen_lib)" \
+		CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
+		targets
+}
+
+multilib_src_test() {
+	emake -C src test
+}
+
+multilib_src_install() {
+	emake -C src INSTALL_PLUGINS_DIR="/usr/$(get_libdir)/ladspa" \
+		DESTDIR="${ED}" \
+		MKDIR_P="mkdir -p" \
+		install
+}
+
+multilib_src_install_all() {
+	einstalldocs
+
+	# Needed for apps like rezound
+	dodir /etc/env.d
+	echo "LADSPA_PATH=${EPREFIX}/usr/$(get_libdir)/ladspa" > "${ED}/etc/env.d/60ladspa"
+}


             reply	other threads:[~2023-07-27  8:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27  8:20 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-27  6:37 [gentoo-commits] repo/gentoo:master commit in: media-libs/ladspa-sdk/ Miroslav Šulc
2023-08-26 13:30 Sam James
2023-08-26 13:30 Sam James
2023-08-26 13:13 Sam James
2023-08-26 13:13 Sam James
2023-08-26 13:13 Sam James
2023-08-26 13:13 Sam James
2023-08-26 13:13 Sam James
2021-10-27  5:40 Sam James
2021-10-27  5:40 Sam James
2021-10-27  4:13 Sam James
2021-10-26  3:14 Sam James
2021-10-24  0:19 Sam James
2021-10-23 13:51 Sam James
2021-10-23 13:51 Sam James
2021-10-23 13:51 Sam James
2021-10-23 13:51 Sam James
2021-08-10  8:58 Yixun Lan
2020-09-04 22:28 Sam James
2020-08-11 19:11 Sergei Trofimovich
2020-08-11 14:23 Agostino Sarubbo
2020-08-11 14:18 Agostino Sarubbo
2020-08-11  9:08 Sam James
2020-08-10 12:34 Agostino Sarubbo
2020-08-10  9:30 Agostino Sarubbo
2017-06-16 10:10 Alexis Ballier
2017-06-10 20:14 Sergei Trofimovich
2017-03-18  7:22 Michael Palimaka
2017-03-18  7:21 Michael Palimaka
2017-02-23 12:35 Michael Weber
2017-02-17 17:28 Markus Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1690445972.eff07f5a525f6e0e18ddfe72aba9790455e6067d.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox