Diff libg15render-1.2-r2 with a libg15render-3.0.4

/usr/portage/dev-libs/libg15render/libg15render-3.0.4.ebuild 2023-10-09 14:52:29.516368351 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2022 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
7 7

  
8 8
DESCRIPTION="Small library for display text and graphics on a Logitech G15 keyboard"
9
HOMEPAGE="https://sourceforge.net/projects/g15tools/"
10
SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2"
9
HOMEPAGE="https://gitlab.com/menelkir/libg15render"
10
if [[ ${PV} == *9999 ]] ; then
11
	inherit git-r3
12
	EGIT_REPO_URI="https://gitlab.com/menelkir/libg15render.git"
13
else
14
	SRC_URI="https://gitlab.com/menelkir/${PN}/-/archive/${PV}/${P}.tar.bz2"
15
	KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
16
fi
11 17

  
12 18
LICENSE="GPL-2"
13 19
SLOT="0"
14
KEYWORDS="amd64 ppc ppc64 x86"
15 20
IUSE="truetype"
16 21

  
17 22
RDEPEND="
18
	dev-libs/libg15
23
	>=dev-libs/libg15-3.0
19 24
	truetype? ( media-libs/freetype )"
20 25
DEPEND="${RDEPEND}"
21 26
BDEPEND="
22 27
	truetype? ( virtual/pkgconfig )"
23 28

  
24 29
PATCHES=(
25
	"${FILESDIR}"/${P}-pixel-c.patch
26
	"${FILESDIR}"/${P}-freetype_pkgconfig.patch
30
	"${FILESDIR}/${P}-freetype_pkgconfig.patch"
31
	"${FILESDIR}/${PN}-3.0.4-docdir.patch"
27 32
)
28 33

  
29 34
src_prepare() {
30 35
	default
31
	mv configure.{in,ac} || die
32 36
	eautoreconf
33 37
}
34 38

  
Thank you!