Diff sdl-gfx-2.0.26-r1 with a sdl-gfx-2.0.26-r2
| /usr/portage/media-libs/sdl-gfx/sdl-gfx-2.0.26-r2.ebuild 2025-07-29 16:22:14.892457651 +0300 | ||
|---|---|---|
| 1 | 
    # Copyright 1999-2023 Gentoo Authors  | 
  |
| 1 | 
    # Copyright 1999-2025 Gentoo Authors  | 
  |
| 2 | 2 | 
    # Distributed under the terms of the GNU General Public License v2  | 
  
| 3 | 3 | |
| 4 | 
    EAPI=7  | 
  |
| 4 | 
    EAPI=8  | 
  |
| 5 | 5 | |
| 6 | 6 | 
    inherit autotools multilib-minimal  | 
  
| 7 | 7 | |
| 8 | 8 | 
    MY_P="${P/sdl-/SDL_}"
   | 
  
| 9 | 9 | 
    DESCRIPTION="Graphics drawing primitives library for SDL"  | 
  
| 10 | 
    HOMEPAGE="http://www.ferzkopp.net/joomla/content/view/19/14/"  | 
  |
| 11 | 
    SRC_URI="http://www.ferzkopp.net/Software/SDL_gfx-2.0/${MY_P}.tar.gz"
   | 
  |
| 10 | 
    HOMEPAGE="https://www.ferzkopp.net/joomla/content/view/19/14/"  | 
  |
| 11 | 
    SRC_URI="https://www.ferzkopp.net/Software/SDL_gfx-2.0/${MY_P}.tar.gz"
   | 
  |
| 12 | 12 | 
    S="${WORKDIR}/${MY_P}"
   | 
  
| 13 | 13 | |
| 14 | 14 | 
    LICENSE="ZLIB"  | 
  
| ... | ... | |
| 19 | 19 | 
    RDEPEND=">=media-libs/libsdl-1.2.15-r4[video,${MULTILIB_USEDEP}]"
   | 
  
| 20 | 20 | 
    DEPEND="${RDEPEND}"
   | 
  
| 21 | 21 | |
| 22 | 
    DOCS=( AUTHORS ChangeLog README )  | 
  |
| 23 | ||
| 24 | 22 | 
    src_prepare() {
   | 
  
| 25 | 23 | 
    default  | 
  
| 26 | 24 | 
    sed -i -e 's/-O //' configure.in || die  | 
  
| 27 | 
    mv configure.in configure.ac || die  | 
  |
| 25 | 
    	mv configure.{in,ac} || die
   | 
  |
| 28 | 26 | 
    eautoreconf  | 
  
| 29 | 27 | 
    }  | 
  
| 30 | 28 | |
| 31 | 29 | 
    multilib_src_configure() {
   | 
  
| 32 | 30 | 
    	ECONF_SOURCE="${S}" econf \
   | 
  
| 33 | 
    $(use_enable cpu_flags_x86_mmx mmx) \  | 
  |
| 34 | 
    --disable-static  | 
  |
| 31 | 
    $(use_enable cpu_flags_x86_mmx mmx)  | 
  |
| 35 | 32 | 
    }  | 
  
| 36 | 33 | |
| 37 | 
    #multilib_src_install() {
   | 
  |
| 38 | 
    #	emake DESTDIR="${D}" install
   | 
  |
| 39 | 
    #}  | 
  |
| 40 | ||
| 41 | 34 | 
    multilib_src_install_all() {
   | 
  
| 42 | 35 | 
    einstalldocs  | 
  
| 43 | 36 | |