mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/aldumb: EAPI-6 bump
Package-Manager: Portage-2.3.43, Repoman-2.3.10
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user