Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 525884 | Differences between
and this patch

Collapse All | Expand All

(-)avahi-0.7.ebuild (-5 / +9 lines)
Lines 20-26 Link Here
20
SLOT="0"
20
SLOT="0"
21
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
21
#KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
22
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 sparc x86"
22
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ia64 ~mips ppc ~ppc64 sparc x86"
23
IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat mono nls python qt4 selinux test"
23
IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat mono nls python qt5 selinux test"
24
24
25
REQUIRED_USE="
25
REQUIRED_USE="
26
	python? ( dbus gdbm ${PYTHON_REQUIRED_USE} )
26
	python? ( dbus gdbm ${PYTHON_REQUIRED_USE} )
Lines 34-40 Link Here
34
	dev-libs/expat
34
	dev-libs/expat
35
	dev-libs/glib:2[${MULTILIB_USEDEP}]
35
	dev-libs/glib:2[${MULTILIB_USEDEP}]
36
	gdbm? ( sys-libs/gdbm[${MULTILIB_USEDEP}] )
36
	gdbm? ( sys-libs/gdbm[${MULTILIB_USEDEP}] )
37
	qt4? ( dev-qt/qtcore:4[${MULTILIB_USEDEP}] )
37
	qt5? ( dev-qt/qtcore:5 )
38
	gtk? ( x11-libs/gtk+:2[${MULTILIB_USEDEP}] )
38
	gtk? ( x11-libs/gtk+:2[${MULTILIB_USEDEP}] )
39
	gtk3? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
39
	gtk3? ( x11-libs/gtk+:3[${MULTILIB_USEDEP}] )
40
	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
40
	dbus? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
Lines 70-75 Link Here
70
	selinux? ( sec-policy/selinux-avahi )
70
	selinux? ( sec-policy/selinux-avahi )
71
"
71
"
72
72
73
PATCHES=( "${FILESDIR}/${P}-qt5.patch" )
74
73
pkg_preinst() {
75
pkg_preinst() {
74
	enewgroup netdev
76
	enewgroup netdev
75
	enewgroup avahi
77
	enewgroup avahi
Lines 86-91 Link Here
86
}
88
}
87
89
88
src_prepare() {
90
src_prepare() {
91
	default
92
89
	if ! use ipv6; then
93
	if ! use ipv6; then
90
		sed -i \
94
		sed -i \
91
			-e s/use-ipv6=yes/use-ipv6=no/ \
95
			-e s/use-ipv6=yes/use-ipv6=no/ \
Lines 96-103 Link Here
96
		-e "s:\\.\\./\\.\\./\\.\\./doc/avahi-docs/html/:../../../doc/${PF}/html/:" \
100
		-e "s:\\.\\./\\.\\./\\.\\./doc/avahi-docs/html/:../../../doc/${PF}/html/:" \
97
		doxygen_to_devhelp.xsl || die
101
		doxygen_to_devhelp.xsl || die
98
102
99
	eapply_user
100
101
	# Prevent .pyc files in DESTDIR
103
	# Prevent .pyc files in DESTDIR
102
	>py-compile
104
	>py-compile
103
105
Lines 137-142 Link Here
137
		)
139
		)
138
	fi
140
	fi
139
141
142
	myconf+=( $(multilib_native_use_enable qt5) )
143
140
	econf \
144
	econf \
141
		--localstatedir="${EPREFIX}/var" \
145
		--localstatedir="${EPREFIX}/var" \
142
		--with-distro=gentoo \
146
		--with-distro=gentoo \
Lines 159-165 Link Here
159
		$(use_enable nls) \
163
		$(use_enable nls) \
160
		$(multilib_native_use_enable introspection) \
164
		$(multilib_native_use_enable introspection) \
161
		--disable-qt3 \
165
		--disable-qt3 \
162
		$(use_enable qt4) \
166
		--disable-qt4 \
163
		$(use_enable gdbm) \
167
		$(use_enable gdbm) \
164
		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
168
		--with-systemdsystemunitdir="$(systemd_get_systemunitdir)" \
165
		"${myconf[@]}"
169
		"${myconf[@]}"

Return to bug 525884