Diff libunique-1.1.6-r2 with a libunique-3.0.2-r1

/usr/portage/dev-libs/libunique/libunique-3.0.2-r1.ebuild 2023-10-09 14:52:29.532368351 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2020 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=6
5 5
GNOME2_LA_PUNT="yes"
6
GNOME_TARBALL_SUFFIX="bz2"
7 6

  
8 7
inherit gnome2 virtualx
9 8

  
......
11 10
HOMEPAGE="https://wiki.gnome.org/Attic/LibUnique"
12 11

  
13 12
LICENSE="LGPL-2.1"
14
SLOT="1"
15
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
16
IUSE="debug dbus +introspection"
13
SLOT="3"
14
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
15
IUSE="debug +introspection"
17 16

  
18 17
RDEPEND="
19
	>=dev-libs/glib-2.12:2
20
	>=x11-libs/gtk+-2.11:2[introspection?]
18
	>=dev-libs/glib-2.25.7:2
19
	sys-apps/dbus[X]
20
	>=x11-libs/gtk+-2.90.0:3[introspection?]
21 21
	x11-libs/libX11
22
	dbus? (
23
		>=dev-libs/dbus-glib-0.70
24
		sys-apps/dbus[X] )
25
	introspection? ( >=dev-libs/gobject-introspection-0.6.3:= )
22
	introspection? ( >=dev-libs/gobject-introspection-0.9.0:= )
26 23
"
27 24
DEPEND="${RDEPEND}
28 25
	dev-util/glib-utils
29 26
	>=dev-util/gtk-doc-am-1.11
30
	sys-devel/gettext
31 27
	virtual/pkgconfig
32 28
"
33 29
# For eautoreconf
34 30
#	dev-util/gtk-doc-am
35 31

  
36
PATCHES=(
37
	# Include NUL terminator in unique_message_data_get_filename()
38
	"${FILESDIR}/${P}-include-terminator.patch"
39

  
40
	# test-unique: Resolve format string issues
41
	"${FILESDIR}/${P}-fix-test.patch"
42

  
43
	# Remove compiler warnings
44
	"${FILESDIR}/${P}-compiler-warnings.patch"
45

  
46
	# Remove G_CONST_RETURN usage, now that its gone in glib
47
	"${FILESDIR}/${PN}-1.1.6-G_CONST_RETURN.patch"
48
)
49

  
50 32
src_configure() {
33
	# --disable-dbus means gdbus is used instead of dbus-glib
51 34
	gnome2_src_configure \
52
		--disable-maintainer-flags \
53 35
		--disable-static \
54
		--enable-bacon \
55
		$(use_enable introspection) \
36
		--disable-maintainer-flags \
37
		--disable-dbus \
56 38
		$(usex debug --enable-debug=yes ' ') \
57
		$(use_enable dbus)
39
		$(use_enable introspection)
58 40
}
59 41

  
60 42
src_test() {
Thank you!