Diff g15composer-3.2-r1 with a g15composer-3.4

/usr/portage/app-misc/g15composer/g15composer-3.4.ebuild 2023-10-09 14:52:28.796368333 +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="A library to render text and shapes into a buffer usable by the Logitech G15"
9
HOMEPAGE="https://sourceforge.net/projects/g15tools/"
10
SRC_URI="mirror://sourceforge/g15tools/${P}.tar.bz2"
9
HOMEPAGE="https://gitlab.com/menelkir/g15composer"
10
if [[ ${PV} == *9999 ]] ; then
11
	inherit git-r3
12
	EGIT_REPO_URI="https://gitlab.com/menelkir/g15composer.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
IUSE="truetype examples"
20
IUSE="truetype"
16 21

  
17
DEPEND="app-misc/g15daemon
18
	>=dev-libs/libg15render-1.2[truetype?]
19
	truetype? ( media-libs/freetype	)"
22
DEPEND="
23
	>=app-misc/g15daemon-3.0
24
	>=dev-libs/libg15render-3.0[truetype?]
25
	truetype? ( media-libs/freetype	)
26
"
20 27
BDEPEND="virtual/pkgconfig"
21 28

  
22
PATCHES=(
23
	"${FILESDIR}/${P}-freetype_pkgconfig.patch"
24
	"${FILESDIR}/${P}-docdir.patch"
25
)
26

  
27 29
src_prepare() {
28 30
	default
29 31
	mv configure.{in,ac} || die
......
38 40
	local DOCS=( AUTHORS README ChangeLog )
39 41
	default
40 42

  
41
	newinitd "${FILESDIR}/${P}.initd" ${PN}
42
	newconfd "${FILESDIR}/${P}.confd" ${PN}
43

  
44
	if use examples ; then
45
		exeinto "/usr/share/${PN}"
46
		doexe examples/*
47
	fi
43
	newinitd "${FILESDIR}/${PN}-3.2.initd" ${PN}
44
	newconfd "${FILESDIR}/${PN}-3.2.confd" ${PN}
48 45
}
49 46

  
50 47
pkg_postinst() {
Thank you!