* [gentoo-commits] repo/gentoo:master commit in: media-libs/aldumb/
@ 2018-07-16 22:26 Andreas Sturmlechner
0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2018-07-16 22:26 UTC (permalink / raw
To: gentoo-commits
commit: 951c4636254e58a2c531ebee00d47c45ee719dea
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 16 18:35:15 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 16 22:25:56 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=951c4636
media-libs/aldumb: EAPI-6 bump
Package-Manager: Portage-2.3.43, Repoman-2.3.10
media-libs/aldumb/aldumb-0.9.3.ebuild | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/media-libs/aldumb/aldumb-0.9.3.ebuild b/media-libs/aldumb/aldumb-0.9.3.ebuild
index b6fd72d59ff..38c75c096e8 100644
--- a/media-libs/aldumb/aldumb-0.9.3.ebuild
+++ b/media-libs/aldumb/aldumb-0.9.3.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-inherit eutils
+EAPI=6
DESCRIPTION="Allegro support for DUMB (an IT, XM, S3M, and MOD player library)"
HOMEPAGE="http://dumb.sourceforge.net/"
@@ -13,27 +12,33 @@ SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="debug"
-DEPEND=">=media-libs/dumb-0.9.3
- <media-libs/allegro-5"
-
+DEPEND="
+ >=media-libs/dumb-0.9.3
+ media-libs/allegro:0
+"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${P/aldumb/dumb}"
+PATCHES=(
+ "${FILESDIR}"/${P}-PIC-as-needed.patch
+ "${FILESDIR}"/${P}_CVE-2006-3668.patch
+)
+
src_prepare() {
+ default
+
cat << EOF > make/config.txt
include make/unix.inc
ALL_TARGETS := allegro allegro-examples allegro-headers
PREFIX := /usr
EOF
- epatch "${FILESDIR}"/${P}-PIC-as-needed.patch
- epatch "${FILESDIR}"/${P}_CVE-2006-3668.patch
sed -i '/= -s/d' Makefile || die "sed failed"
- cp -f Makefile Makefile.rdy
+ cp -f Makefile Makefile.rdy || die
}
src_compile() {
- emake OFLAGS="${CFLAGS}" all || die "emake failed"
+ emake OFLAGS="${CFLAGS}" all
}
src_install() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-07-16 22:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-16 22:26 [gentoo-commits] repo/gentoo:master commit in: media-libs/aldumb/ Andreas Sturmlechner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox