public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/bigloo/
Date: Sun, 22 Oct 2023 08:46:58 +0000 (UTC)	[thread overview]
Message-ID: <1697964413.1a00e1ef7d7698bd0386f17913c3f6aaa755cadd.xgqt@gentoo> (raw)

commit:     1a00e1ef7d7698bd0386f17913c3f6aaa755cadd
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 22 07:47:59 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Oct 22 08:46:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a00e1ef

dev-scheme/bigloo: add zip dep, use libpulse

Closes: https://bugs.gentoo.org/911492
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...-4.4c_p4-r5.ebuild => bigloo-4.4c_p4-r6.ebuild} | 34 +++++++++++++---------
 1 file changed, 21 insertions(+), 13 deletions(-)

diff --git a/dev-scheme/bigloo/bigloo-4.4c_p4-r5.ebuild b/dev-scheme/bigloo/bigloo-4.4c_p4-r6.ebuild
similarity index 90%
rename from dev-scheme/bigloo/bigloo-4.4c_p4-r5.ebuild
rename to dev-scheme/bigloo/bigloo-4.4c_p4-r6.ebuild
index 4cfa3c8cc3ba..9289ee34eeb4 100644
--- a/dev-scheme/bigloo/bigloo-4.4c_p4-r5.ebuild
+++ b/dev-scheme/bigloo/bigloo-4.4c_p4-r6.ebuild
@@ -6,12 +6,12 @@ EAPI=8
 inherit elisp-common toolchain-funcs
 
 MY_PV=${PV/_p/-}  # e.g.: 4.4c_p4 -> 4.4c-4
-MY_P=${PN}-${MY_PV}
+MY_P="${PN}-${MY_PV}"
 
 DESCRIPTION="Practical Scheme Compiler with many extensions"
 HOMEPAGE="http://www-sop.inria.fr/indes/fp/Bigloo/index.html"
 SRC_URI="ftp://ftp-sop.inria.fr/indes/fp/Bigloo/${MY_P}.tar.gz"
-S="${WORKDIR}"/${MY_P}
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2+"
 SLOT="0"
@@ -19,7 +19,9 @@ KEYWORDS="~amd64 ~x86"
 IUSE="alsa avahi emacs flac +gmp gpg gstreamer java libuv mp3 pulseaudio +sqlite"
 REQUIRED_USE="flac? ( alsa ) mp3? ( alsa )"
 
-EMACS_DEPEND="emacs? ( >=app-editors/emacs-23.1:* )"
+EMACS_DEPEND="
+	emacs? ( >=app-editors/emacs-23.1:* )
+"
 DEPEND="
 	dev-libs/boehm-gc[threads]
 	dev-libs/libpcre2:=
@@ -34,10 +36,13 @@ DEPEND="
 		media-libs/gst-plugins-base:1.0=
 		media-libs/gstreamer:1.0=
 	)
-	java? ( virtual/jdk:* )
+	java? (
+		app-arch/zip
+		virtual/jdk:*
+	)
 	libuv? ( dev-libs/libuv:= )
 	mp3? ( media-sound/mpg123 )
-	pulseaudio? ( media-sound/pulseaudio )
+	pulseaudio? ( media-libs/libpulse )
 	sqlite? ( dev-db/sqlite:3= )
 "
 RDEPEND="
@@ -57,9 +62,10 @@ SITEFILE="50${PN}-gentoo.el"
 src_prepare() {
 	default
 
-	sed -e "/^ar=/s|=|=\"$(tc-getAR)\"|" \
-		-e "/^ranlib=/s|=|=\"$(tc-getRANLIB)\"|" \
-		-i ./configure || die
+	sed -e "/^ar=/s|=|= \"$(tc-getAR)\"|"			\
+		-e "/^ranlib=/s|=|= \"$(tc-getRANLIB)\"|"	\
+		-i ./configure								\
+		|| die
 
 	sed "s|^ar |$(tc-getAR) |" -i ./autoconf/ranlib || die
 }
@@ -69,7 +75,7 @@ src_configure() {
 	export CFLAGS
 	export LDFLAGS
 
-	local myconf=(
+	local -a myconf=(
 		# Compilation
 		--as="$(tc-getAS)"
 		--cc="$(tc-getCC)"
@@ -171,12 +177,13 @@ src_install() {
 	pushd "${D}" >/dev/null || die
 	local bin bin_link
 	for bin in usr/share/${PN}/bin/* ; do
-		if [[ ${bin} != *.sh ]] ; then
-			bin_link=usr/bin/$(basename ${bin})
+		if [[ "${bin}" != *.sh ]] ; then
+			bin_link="usr/bin/$(basename "${bin}")"
+
 			if [[ -f ${bin}.sh ]] ; then
-				ln -s ../../${bin}.sh ${bin_link} || die
+				ln -s ../../${bin}.sh "${bin_link}" || die
 			else
-				ln -s ../../${bin} ${bin_link} || die
+				ln -s ../../${bin} "${bin_link}" || die
 			fi
 		fi
 	done
@@ -184,6 +191,7 @@ src_install() {
 
 	if use emacs ; then
 		emake DESTDIR="${D}" install-bee
+
 		elisp-site-file-install "${FILESDIR}/${SITEFILE}"
 	fi
 


             reply	other threads:[~2023-10-22  8:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-22  8:46 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-06  8:09 [gentoo-commits] repo/gentoo:master commit in: dev-scheme/bigloo/ Maciej Barć
2024-06-05 19:33 Maciej Barć
2024-03-17  5:34 Sam James
2023-07-08 21:22 Maciej Barć
2023-01-16 20:18 Maciej Barć
2023-01-15 23:05 Maciej Barć
2022-04-19 23:16 Maciej Barć
2022-03-27 15:55 Maciej Barć

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=1697964413.1a00e1ef7d7698bd0386f17913c3f6aaa755cadd.xgqt@gentoo \
    --to=xgqt@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