View | Details | Raw Unified
Collapse All | Expand All

(-) ivtv-1.0.3-r2.ebuild.orig (-4 / +11 lines)
 Lines 32-37    Link Here 
	if use fbcon; then
	if use fbcon; then
		MODULE_NAMES="${MODULE_NAMES} ivtvfb(extra:${S}/driver)"
		MODULE_NAMES="${MODULE_NAMES} ivtvfb(extra:${S}/driver)"
		CONFIG_CHECK="${CONFIG_CHECK} FB FB_TRIDENT FRAMEBUFFER_CONSOLE FONTS"
		CONFIG_CHECK="${CONFIG_CHECK} FB FB_TRIDENT FRAMEBUFFER_CONSOLE FONTS"
		if ( kernel_is 2 6 24 ); then
			CONFIG_CHECK="${CONFIG_CHECK} VIDEO_FB_IVTV"
		fi
	fi
	fi
	if ! ( kernel_is 2 6 22 || kernel_is 2 6 23 || kernel_is 2 6 24 ); then
	if ! ( kernel_is 2 6 22 || kernel_is 2 6 23 || kernel_is 2 6 24 ); then
 Lines 80-87    Link Here 
src_compile() {
src_compile() {
	cd "${S}/driver"
	if ! ( kernel_is 2 6 24 ); then
	linux-mod_src_compile || die "failed to build driver"
		cd "${S}/driver"
		linux-mod_src_compile || die "failed to build driver"
	fi
	cd "${S}/utils"
	cd "${S}/utils"
	emake INCDIR="${KV_DIR}/include" || die "failed to build utils "
	emake INCDIR="${KV_DIR}/include" || die "failed to build utils "
 Lines 96-103    Link Here 
	dodoc README* doc/* ChangeLog*
	dodoc README* doc/* ChangeLog*
	use perl && dodoc utils/perl/README.ptune
	use perl && dodoc utils/perl/README.ptune
	cd "${S}/driver"
	if ! ( kernel_is 2 6 24 ); then
	linux-mod_src_install || die "failed to install modules"
		cd "${S}/driver"
		linux-mod_src_install || die "failed to install modules"
	fi
}
}
pkg_postinst() {
pkg_postinst() {