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

Collapse All | Expand All

(-)gnuradio-3.6.1-r1.ebuild.orig (-1 / +7 lines)
Lines 83-93 Link Here
83
	python_convert_shebangs -q -r 2 "${S}"
83
	python_convert_shebangs -q -r 2 "${S}"
84
	# Useless UI element would require qt3support, bug #365019
84
	# Useless UI element would require qt3support, bug #365019
85
	sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die
85
	sed -i '/qPixmapFromMimeSource/d' "${S}"/gr-qtgui/lib/spectrumdisplayform.ui || die
86
	sed -i "s:\${DOCVER}:${PVR}:" CMakeLists.txt || die
86
	base_src_prepare
87
	base_src_prepare
87
}
88
}
88
89
89
src_configure() {
90
src_configure() {
90
	# TODO: docs are installed to /usr/share/doc/${PN} not /usr/share/doc/${PF}
91
	# TODO:
91
	# SYSCONFDIR/GR_PREFSDIR default to install below CMAKE_INSTALL_PREFIX
92
	# SYSCONFDIR/GR_PREFSDIR default to install below CMAKE_INSTALL_PREFIX
92
	mycmakeargs=(
93
	mycmakeargs=(
93
		$(cmake-utils_use_enable alsa GR_AUDIO_ALSA)
94
		$(cmake-utils_use_enable alsa GR_AUDIO_ALSA)
Lines 122-131 Link Here
122
	if use examples ; then
123
	if use examples ; then
123
		dodir /usr/share/doc/${PF}/
124
		dodir /usr/share/doc/${PF}/
124
		mv "${ED}"/usr/share/${PN}/examples "${ED}"/usr/share/doc/${PF}/ || die
125
		mv "${ED}"/usr/share/${PN}/examples "${ED}"/usr/share/doc/${PF}/ || die
126
		docompress -x /usr/share/doc/${PF}/examples
125
	else
127
	else
126
	# It seems that the examples are always installed
128
	# It seems that the examples are always installed
127
		rm -rf "${ED}"/usr/share/${PN}/examples || die
129
		rm -rf "${ED}"/usr/share/${PN}/examples || die
128
	fi
130
	fi
131
	
132
	if use doc ; then
133
		rm -rf "${ED}"/usr/share/doc/${PF}/xml || die
134
	fi
129
135
130
	# We install the mimetypes to the correct locations from the ebuild
136
	# We install the mimetypes to the correct locations from the ebuild
131
	rm -rf "${ED}"/usr/share/${PN}/grc/freedesktop || die
137
	rm -rf "${ED}"/usr/share/${PN}/grc/freedesktop || die

Return to bug 430348