mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
media-libs/sdl2-gfx: drop no-op USE=static-libs
We add --disable-static just to be sure though. We were already unconditionally deleting both .la and .a, so the USE flag did nothing. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -2,27 +2,27 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
MY_P="${P/sdl2-/SDL2_}"
|
||||
DESCRIPTION="Graphics drawing primitives library for SDL2"
|
||||
HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"
|
||||
SRC_URI="http://www.ferzkopp.net/Software/SDL2_gfx/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc64 x86"
|
||||
IUSE="doc cpu_flags_x86_mmx static-libs"
|
||||
IUSE="doc cpu_flags_x86_mmx"
|
||||
|
||||
DEPEND=">=media-libs/libsdl2-2.0.1-r1[video,${MULTILIB_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README )
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.4-slibtool.patch"
|
||||
"${FILESDIR}"/${PN}-1.0.4-slibtool.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
@@ -37,16 +37,19 @@ src_prepare() {
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable cpu_flags_x86_mmx mmx)
|
||||
$(use_enable static-libs static)
|
||||
--disable-static
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r Docs/html/*
|
||||
fi
|
||||
|
||||
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user