diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-27 02:34:57 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-27 02:34:57 +0000 |
commit | 79fa6112465a7f22bd8bbd49536525cc4548f7bb (patch) | |
tree | e26e707e368358359cc3bc5f5867240a504189ca /media-libs/sdl-image | |
parent | fix TEXTREL #236054 (diff) | |
download | historical-79fa6112465a7f22bd8bbd49536525cc4548f7bb.tar.gz historical-79fa6112465a7f22bd8bbd49536525cc4548f7bb.tar.bz2 historical-79fa6112465a7f22bd8bbd49536525cc4548f7bb.zip |
add USE=static-libs support
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'media-libs/sdl-image')
-rw-r--r-- | media-libs/sdl-image/ChangeLog | 6 | ||||
-rw-r--r-- | media-libs/sdl-image/Manifest | 4 | ||||
-rw-r--r-- | media-libs/sdl-image/sdl-image-1.2.10-r1.ebuild | 10 |
3 files changed, 14 insertions, 6 deletions
diff --git a/media-libs/sdl-image/ChangeLog b/media-libs/sdl-image/ChangeLog index a349e940eb1f..f1250f9ec5e9 100644 --- a/media-libs/sdl-image/ChangeLog +++ b/media-libs/sdl-image/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/sdl-image # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.74 2010/07/23 22:07:30 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/ChangeLog,v 1.75 2010/07/27 02:34:57 mr_bones_ Exp $ + + 27 Jul 2010; Michael Sterrett <mr_bones_@gentoo.org> + sdl-image-1.2.10-r1.ebuild: + add USE=static-libs support 23 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> sdl-image-1.2.10-r1.ebuild: diff --git a/media-libs/sdl-image/Manifest b/media-libs/sdl-image/Manifest index 2db93463c94c..7e65fc41ef31 100644 --- a/media-libs/sdl-image/Manifest +++ b/media-libs/sdl-image/Manifest @@ -1,5 +1,5 @@ DIST SDL_image-1.2.10.tar.gz 1332906 RMD160 8133f7f8d488b1c3f69ad80a941289b4508d2901 SHA1 6bae71fdfd795c3dbf39f6c7c0cf8b212914ef97 SHA256 75e05d1e95f6277b44797157d9e25a908ba8d08a393216ffb019b0d74de11876 -EBUILD sdl-image-1.2.10-r1.ebuild 1293 RMD160 6e28aa89408f49bc1321ea1e7dec7dfceb232f51 SHA1 fe9ca29504a4bcf2086720543182024640a686c0 SHA256 edc307ba3d416fd8a11e900c575b4a1e5413cd352b3eb3b6e20c9cbdd00b9177 +EBUILD sdl-image-1.2.10-r1.ebuild 1436 RMD160 fa79513d999ec6468cb66e985aefb8b16509f384 SHA1 b34ab279a38e3e899d9fbe935eaecd182882cb56 SHA256 9beb6aad531be6dec2094a81dc2de325bb7d38107ec8e219a9e42c30ad4318d8 EBUILD sdl-image-1.2.10.ebuild 1255 RMD160 45e8737d48667d1f5ad074b880321c1bed4670c4 SHA1 245d233e5250d5ab226f87c9f0e056014609e458 SHA256 f934cbdf3a16d54a89b21333dfc39b42d8e30e955217086000dd96527314a622 -MISC ChangeLog 9368 RMD160 30c7134d6795cc87be2474109bfefa36a13c1543 SHA1 4351b684c29a030d9bd7f0a2571b676c6cf68d00 SHA256 caff00ac5d79648c595df09ce594d34d1400aee6407c99a93c036086b4f2daba +MISC ChangeLog 9484 RMD160 c2940c07c8bba56d839b2f60812766fd6eec1615 SHA1 da4784907080ff4bccb770c8feedd41c3c06fe2c SHA256 e7d3c553a952f324f91b3c3ff8b99ce23e71524baa80901133e6d183055467b2 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/media-libs/sdl-image/sdl-image-1.2.10-r1.ebuild b/media-libs/sdl-image/sdl-image-1.2.10-r1.ebuild index 0f5fe95080fa..2466c8febb13 100644 --- a/media-libs/sdl-image/sdl-image-1.2.10-r1.ebuild +++ b/media-libs/sdl-image/sdl-image-1.2.10-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.10-r1.ebuild,v 1.10 2010/07/23 22:07:30 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-image/sdl-image-1.2.10-r1.ebuild,v 1.11 2010/07/27 02:34:57 mr_bones_ Exp $ EAPI=2 MY_P="${P/sdl-/SDL_}" @@ -11,14 +11,13 @@ SRC_URI="http://www.libsdl.org/projects/SDL_image/release/${MY_P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" -IUSE="gif jpeg tiff png" +IUSE="gif jpeg png static-libs tiff" DEPEND="sys-libs/zlib media-libs/libsdl png? ( >=media-libs/libpng-1.4 ) jpeg? ( virtual/jpeg ) tiff? ( media-libs/tiff )" -RDEPEND="${DEPEND}" S=${WORKDIR}/${MY_P} @@ -27,6 +26,7 @@ src_configure() { --disable-jpg-shared \ --disable-png-shared \ --disable-tif-shared \ + $(use_enable static-libs static) \ $(use_enable gif) \ $(use_enable jpeg jpg) \ $(use_enable tiff tif) \ @@ -45,4 +45,8 @@ src_install() { emake DESTDIR="${D}" install || die "make install failed" dobin .libs/showimage || die "dobin failed" dodoc CHANGES README + if ! use static-libs ; then + find "${D}" -type f -name '*.la' -exec rm {} + \ + || die "la removal failed" + fi } |