diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2018-03-05 09:43:57 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-03-05 09:47:30 +0100 |
commit | 7fd17f41b9b95417f9db6b5d562a65f71bad2ba9 (patch) | |
tree | 799ed0e48073d55fbb3b27524a57099bc4544fa5 /media-libs/sdl2-gfx | |
parent | mail-mta/postfix: stable 3.2.4 for ppc, bug #634036 (diff) | |
download | gentoo-7fd17f41b9b95417f9db6b5d562a65f71bad2ba9.tar.gz gentoo-7fd17f41b9b95417f9db6b5d562a65f71bad2ba9.tar.bz2 gentoo-7fd17f41b9b95417f9db6b5d562a65f71bad2ba9.zip |
media-libs/sdl2-gfx: Bump to version 1.0.4
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'media-libs/sdl2-gfx')
-rw-r--r-- | media-libs/sdl2-gfx/Manifest | 1 | ||||
-rw-r--r-- | media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/media-libs/sdl2-gfx/Manifest b/media-libs/sdl2-gfx/Manifest index 24744ef3d387..ba64817bef73 100644 --- a/media-libs/sdl2-gfx/Manifest +++ b/media-libs/sdl2-gfx/Manifest @@ -1,2 +1,3 @@ DIST SDL2_gfx-1.0.1.tar.gz 1078780 BLAKE2B 4d6430b2cda1b0d7b9556cba0f6084ce80747f75e89fbd6e55cdec194ebf6c73e397571463261a4113cdd8f79baa433d42c0e80dd6083d07331064c3c2203125 SHA512 413f0ac8a60b6c4c91f154dd72a512f410e134642fefb80cd3482646c9aab7dd56d2cc9015e78ee59b5bc89adc7397a248fe2132077c004114ad6505ca4194de DIST SDL2_gfx-1.0.3.tar.gz 1271457 BLAKE2B 9f264a89e07a6a6ded6eb93c5d37310259e25624d8eb129368de6335c7d81e3b3976e641f84caba6f1e66a6cc90545f62d07538638f7547568ca35bafdc3b4de SHA512 4efb48501d635492efcfe06b1d4691911ce58ffc34e3b622f2124ac6d8aa6994196ffb52f16ced4325db3ef6d93719516deab2bcf1ce934df9af06c2fecbdce5 +DIST SDL2_gfx-1.0.4.tar.gz 1230588 BLAKE2B a14cf8433aa171b8185aab765c934262fd4ecde4e45e9c8bdfb4aa7feb97676cd8fb5274ad0452bcf77fcc8f268254184fedc73f1c791ff42305d518d01a8cc7 SHA512 81a100d3c8c3a7c6bd37a23f1290ff10685f8e62fbecd83b0086aae4edc721483e2153cd4219fbd9168f115eea0ea6b25f9be375faf5761f0babdfb1b52fe482 diff --git a/media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild b/media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild new file mode 100644 index 000000000000..50a8e683dc38 --- /dev/null +++ b/media-libs/sdl2-gfx/sdl2-gfx-1.0.4.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc cpu_flags_x86_mmx static-libs" + +DEPEND=">=media-libs/libsdl2-2.0.1-r1[video,${MULTILIB_USEDEP}]" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog README ) + +S=${WORKDIR}/${MY_P} + +src_prepare() { + default + mv configure.in configure.ac || die + sed -i \ + -e 's/ -O / /' \ + configure.ac || die + eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + $(use_enable cpu_flags_x86_mmx mmx) + $(use_enable static-libs 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 +} |