Diff gnokii-0.6.31-r4 with a gnokii-9999

/usr/portage/app-mobilephone/gnokii/gnokii-9999.ebuild 2023-10-09 14:52:28.828368333 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=6
5

  
5 6
inherit autotools desktop linux-info strip-linguas
6 7

  
7 8
HOMEPAGE="https://www.gnokii.org/"
......
12 13
	inherit git-r3
13 14
else
14 15
	SRC_URI="https://www.gnokii.org/download/${PN}/${P}.tar.bz2"
15
	KEYWORDS="amd64 ~hppa ~ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
16
	KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
16 17
fi
17 18
DESCRIPTION="User space driver and tools for use with mobile phones"
18 19

  
......
22 23

  
23 24
RDEPEND="
24 25
	!app-mobilephone/smstools
25
	dev-libs/glib:2
26 26
	bluetooth? ( kernel_linux? ( net-wireless/bluez ) )
27 27
	ical? ( dev-libs/libical:= )
28 28
	pcsc-lite? ( sys-apps/pcsc-lite )
29 29
	sms? (
30
		dev-libs/glib:2
30 31
		postgres? ( dev-db/postgresql:* )
31 32
		mysql? ( dev-db/mysql-connector-c:= )
32 33
	)
33 34
	usb? ( virtual/libusb:0 )
34
	X? ( x11-libs/gtk+:2 )
35
"
35
	X? ( x11-libs/gtk+:2 )"
36 36
DEPEND="${RDEPEND}
37 37
	dev-util/intltool
38 38
	irda? ( virtual/os-headers )
39
	nls? ( sys-devel/gettext )
40
"
39
	nls? ( sys-devel/gettext )"
41 40

  
42 41
CONFIG_CHECK="~UNIX98_PTYS"
43 42

  
......
48 47
MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN"
49 48

  
50 49
PATCHES=(
51
	"${FILESDIR}"/${P}-docdir.patch
52 50
	"${FILESDIR}"/${P}-fix_xgnokii_inclusion.patch
53 51
	"${FILESDIR}"/${P}-gcc5.patch
54
	"${FILESDIR}"/${P}-gcc7.patch
55
	"${FILESDIR}"/${PN}-0.6.31-sqlite-typo.patch
56 52
)
57 53

  
58 54
src_prepare() {
......
62 58
			"${FILESDIR}"/${P}-translations.patch
63 59
		)
64 60

  
65
	default
66

  
67 61
	sed -i -e "s:/usr/local:${EPREFIX}/usr:" Docs/sample/gnokiirc || die
68 62

  
69
	# bug 775485
70
	sed -i -e "s:my_bool:bool:" smsd/mysql.c || die
71

  
72
	cp "${FILESDIR}"/${P}-codeset.m4 m4/codeset.m4 || die
73
	mv configure.{in,ac} || die
63
	default
74 64

  
75 65
	eautoreconf
76 66
}
......
87 77

  
88 78
	econf \
89 79
		--disable-static \
90
		--enable-security \
91 80
		--disable-unix98test \
92 81
		$(use_enable bluetooth) \
93 82
		${config_xdebug} \
Thank you!