Diff rasdaemon-0.7.0 with a rasdaemon-0.8.0

/usr/portage/app-admin/rasdaemon/rasdaemon-0.8.0.ebuild 2023-10-09 14:52:28.164368317 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit flag-o-matic linux-info systemd
6
inherit autotools flag-o-matic linux-info systemd
7 7

  
8 8
DESCRIPTION="Reliability, Availability and Serviceability logging tool"
9 9
HOMEPAGE="https://github.com/mchehab/rasdaemon"
10
SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar.bz2"
10
# This if can be dropped > 0.8.0, see https://github.com/mchehab/rasdaemon/issues/88
11
if [[ ${PV} == 0.8.0 ]] ; then
12
	SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/refs%2Fheads%2Fmaster/${P}.tar.bz2"
13
else
14
	SRC_URI="https://github.com/mchehab/rasdaemon/releases/download/v${PV}/${P}.tar.bz2"
15
fi
11 16

  
12 17
LICENSE="GPL-2"
13 18
SLOT="0"
......
15 20

  
16 21
DEPEND="
17 22
	dev-db/sqlite
23
	dev-libs/libtraceevent
18 24
	elibc_musl? ( sys-libs/argp-standalone )
19 25
"
20 26
RDEPEND="
......
25 31
"
26 32
BDEPEND="sys-devel/gettext"
27 33

  
34
PATCHES=(
35
	"${FILESDIR}"/${PN}-0.8.0-bashisms-configure.patch
36
)
37

  
28 38
pkg_setup() {
29 39
	linux-info_pkg_setup
30 40
	local CONFIG_CHECK="~ACPI_EXTLOG ~DEBUG_FS"
31 41
	check_extra_config
32 42
}
33 43

  
44
src_prepare() {
45
	default
46

  
47
	# Only here for 0.8.0's bashism patch
48
	eautoreconf
49
}
50

  
34 51
src_configure() {
35 52
	local myconfargs=(
36 53
		--enable-sqlite3
Thank you!