public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-sound/flake/
@ 2019-10-16 11:40 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2019-10-16 11:40 UTC (permalink / raw
  To: gentoo-commits

commit:     93455878493fb8533890f69636bef2e20c40c680
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 16 11:39:42 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Wed Oct 16 11:39:42 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93455878

media-sound/flake: Port to EAPI 7

Bug: https://bugs.gentoo.org/697274
Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/flake/flake-0.11.ebuild | 30 ++++++++++++++++--------------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/media-sound/flake/flake-0.11.ebuild b/media-sound/flake/flake-0.11.ebuild
index 5f1f3377e8d..24f2e7b6ee1 100644
--- a/media-sound/flake/flake-0.11.ebuild
+++ b/media-sound/flake/flake-0.11.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=0
+EAPI=7
 
 inherit toolchain-funcs
 
@@ -12,22 +12,24 @@ SRC_URI="mirror://sourceforge/flake-enc/${P}.tar.bz2"
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 x86"
-IUSE="debug"
 
-src_compile() {
-	local myconf
-
-	if ! use debug; then
-		myconf="${myconf} --disable-debug"
-	fi
-
-	./configure --cc="$(tc-getCC)" --prefix="${D}"/usr \
-		--disable-opts --disable-strip ${myconf} || die "configure failed."
+src_configure() {
+	# NIH configure script
+	./configure \
+		--cc="$(tc-getCC)" \
+		--prefix="${D}"/usr \
+		--disable-opts \
+		--disable-debug \
+		--disable-strip || die "configure failed"
+}
 
-	emake -j1 || die "emake failed."
+src_compile() {
+	emake -j1
 }
 
 src_install() {
-	emake install || die "emake install failed."
+	dobin flake/flake
+	doheader libflake/flake.h
+	dolib.a libflake/libflake.a
 	dodoc Changelog README
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-sound/flake/
@ 2020-06-21 13:21 David Seifert
  0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2020-06-21 13:21 UTC (permalink / raw
  To: gentoo-commits

commit:     4a4a3b79a1176a6da1c46adc51697be00dc7fe4e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 21 13:19:49 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jun 21 13:19:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4a3b79

media-sound/flake: [QA] Pass AR/RANLIB to build system

Closes: https://bugs.gentoo.org/724690
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 media-sound/flake/flake-0.11.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-sound/flake/flake-0.11.ebuild b/media-sound/flake/flake-0.11.ebuild
index 24f2e7b6ee1..caa19b932b0 100644
--- a/media-sound/flake/flake-0.11.ebuild
+++ b/media-sound/flake/flake-0.11.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,8 +16,10 @@ KEYWORDS="amd64 x86"
 src_configure() {
 	# NIH configure script
 	./configure \
+		--ar="$(tc-getAR)" \
 		--cc="$(tc-getCC)" \
-		--prefix="${D}"/usr \
+		--ranlib="$(tc-getRANLIB)" \
+		--prefix="${ED}"/usr \
 		--disable-opts \
 		--disable-debug \
 		--disable-strip || die "configure failed"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-06-21 13:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-21 13:21 [gentoo-commits] repo/gentoo:master commit in: media-sound/flake/ David Seifert
  -- strict thread matches above, loose matches on Subject: below --
2019-10-16 11:40 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox