Diff gammu-1.39.0-r1 with a gammu-1.40.0

/usr/portage/app-mobilephone/gammu/gammu-1.40.0.ebuild 2019-12-31 22:09:00.000000000 +0300
1 1
# Copyright 1999-2019 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=7
5 5

  
6
inherit cmake-utils
6
inherit cmake
7 7

  
8 8
DESCRIPTION="A tool to handle your cellular phone"
9 9
HOMEPAGE="https://wammu.eu/gammu/"
......
14 14
KEYWORDS="~amd64 ~x86"
15 15
IUSE="bluetooth curl dbi debug irda mysql nls odbc postgres usb"
16 16

  
17
COMMON_DEPEND="
17
DEPEND="
18 18
	dev-libs/glib:2=
19 19
	dev-libs/libgudev:=
20 20
	bluetooth? ( net-wireless/bluez:= )
21 21
	curl? ( net-misc/curl:= )
22 22
	dbi? ( >=dev-db/libdbi-0.8.3:= )
23 23
	mysql? ( dev-db/mysql-connector-c:= )
24
	odbc? ( dev-db/unixODBC )
24 25
	postgres? ( dev-db/postgresql:= )
25 26
	usb? ( virtual/libusb:1= )
26 27
"
27
DEPEND="
28
	${COMMON_DEPEND}
28
BDEPEND="
29
	${DEPEND}
29 30
	irda? ( virtual/os-headers )
30 31
	nls? ( sys-devel/gettext )
31
	odbc? ( dev-db/unixODBC )
32 32
"
33 33
RDEPEND="
34
	${COMMON_DEPEND}
34
	${DEPEND}
35 35
	dev-util/dialog
36 36
	virtual/libiconv
37 37
"
......
47 47
		-DWITH_ODBC=$(usex odbc)
48 48
		-DWITH_Postgres=$(usex postgres)
49 49
		-DWITH_USB=$(usex usb)
50
		-DBUILD_SHARED_LIBS=ON
51 50
		-DINSTALL_DOC_DIR="share/doc/${PF}"
52 51
	)
53
	cmake-utils_src_configure
52
	cmake_src_configure
54 53
}
55 54

  
56 55
src_test() {
57 56
	addwrite "/run/lock/LCK..bar"
58
	LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake-utils_src_test -j1
57
	LD_LIBRARY_PATH="${BUILD_DIR}/libgammu" cmake_src_test -j1
58
}
59

  
60
src_install() {
61
	cmake_src_install
62
	docompress -x /usr/share/doc/${PF}/examples/
59 63
}
Thank you!