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

Collapse All | Expand All

(-)vlc-1.1.1.ebuild (-7 / +6 lines)
Lines 17-23 Link Here
17
	fi
17
	fi
18
fi
18
fi
19
19
20
inherit eutils multilib autotools toolchain-funcs gnome2 nsplugins qt4 flag-o-matic ${SCM}
20
inherit eutils multilib autotools toolchain-funcs gnome2 qt4 flag-o-matic ${SCM}
21
21
22
MY_PV="${PV/_/-}"
22
MY_PV="${PV/_/-}"
23
MY_PV="${MY_PV/-beta/-test}"
23
MY_PV="${MY_PV/-beta/-test}"
Lines 212-217 Link Here
212
212
213
	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
213
	EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
214
	eautoreconf
214
	eautoreconf
215
216
	# Fix plugin install dir
217
	einfo "Fixing installation location for libvlcplugin"
218
	 sed -i -e 's:\$(libdir)\/mozilla\/plugins:\$(libdir)\/nsbrowser\/plugins:g' \
219
		${S}/projects/mozilla/Makefile.am || die "failed to fix libvlcplugin installation dir"
215
}
220
}
216
221
217
src_configure() {
222
src_configure() {
Lines 343-354 Link Here
343
	rm -rf "${D}/usr/share/doc/vlc" \
348
	rm -rf "${D}/usr/share/doc/vlc" \
344
		"${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico}
349
		"${D}"/usr/share/vlc/vlc{16x16,32x32,48x48,128x128}.{png,xpm,ico}
345
350
346
	if use nsplugin; then
347
		dodir "/usr/$(get_libdir)/${PLUGINS_DIR}"
348
		mv "${D}"/usr/$(get_libdir)/mozilla/plugins/* \
349
			"${D}/usr/$(get_libdir)/${PLUGINS_DIR}/"
350
	fi
351
352
	use skins || rm -rf "${D}/usr/share/vlc/skins2"
351
	use skins || rm -rf "${D}/usr/share/vlc/skins2"
353
}
352
}
354
353

Return to bug 328599