Diff ois-1.3-r1 with a ois-1.5

/usr/portage/dev-games/ois/ois-1.5.ebuild 2021-03-26 19:39:00.000000000 +0300
3 3

  
4 4
EAPI=7
5 5

  
6
inherit autotools
6
inherit cmake
7 7

  
8
MY_P=${PN}-v${PV/./-}
9 8
DESCRIPTION="Object-oriented Input System - A cross-platform C++ input handling library"
10
HOMEPAGE="https://sourceforge.net/projects/wgois/"
11
SRC_URI="mirror://sourceforge/wgois/${MY_P/-/_}.tar.gz"
12
S="${WORKDIR}/${MY_P}"
9
HOMEPAGE="https://github.com/wgois/OIS"
10
SRC_URI="https://github.com/wgois/OIS/archive/v${PV}.tar.gz -> ${P}.tar.gz"
11
S="${WORKDIR}/${P^^}"
13 12

  
14 13
LICENSE="ZLIB"
15 14
SLOT="0"
16 15
KEYWORDS="amd64 ~arm x86"
17
IUSE="static-libs"
18 16

  
19
DEPEND="x11-libs/libXaw
20
	x11-libs/libX11"
17
DEPEND="
18
	x11-libs/libXaw
19
	x11-libs/libX11
20
"
21 21

  
22 22
PATCHES=(
23
	"${FILESDIR}"/${P}-gcc47.patch
24
	"${FILESDIR}"/${P}-automake-1.13.patch
23
	"${FILESDIR}/${P}-libdir.patch"
25 24
)
26

  
27
src_prepare() {
28
	default
29

  
30
	eautoreconf
31
}
Thank you!