Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 212373
Collapse All | Expand All

(-)/usr/portage/sci-geosciences/googleearth/googleearth-5.1.3535.3218.ebuild (-12 / +12 lines)
Lines 99-104 Link Here
99
	# bug #262780
99
	# bug #262780
100
	epatch "${FILESDIR}/decimal-separator.patch"
100
	epatch "${FILESDIR}/decimal-separator.patch"
101
101
102
	if ! use qt-bundled; then
103
		rm -rvf libQt{Core,Gui,Network,WebKit}.so.4 plugins/imageformats qt.conf || die
104
	fi
105
	rm -rvf libGLU.so.1 libcurl.so.4 || die
106
	if ! use mdns-bundled; then
107
		rm -rfv libnss_mdns4_minimal.so.2 || die
108
	fi
109
	if use x86; then
110
		# no 32 bit libs for gdal
111
		rm -rvf libgdal.so.1 || die
112
	fi
113
102
	# make the postinst script only create the files; it's  installation
114
	# make the postinst script only create the files; it's  installation
103
	# are too complicated and inserting them ourselves is easier than
115
	# are too complicated and inserting them ourselves is easier than
104
	# hacking around it
116
	# hacking around it
Lines 124-141 Link Here
124
136
125
	cp -pPR "${WORKDIR}"/data/* "${D}"/opt/${PN} || die
137
	cp -pPR "${WORKDIR}"/data/* "${D}"/opt/${PN} || die
126
138
127
	if ! use qt-bundled; then
128
		rm -rvf libQt{Core,Gui,Network,WebKit}.so.4 plugins/imageformats qt.conf || die
129
	fi
130
	rm -rvf libGLU.so.1 libcurl.so.4 || die
131
	if ! use mdns-bundled; then
132
		rm -rfv libnss_mdns4_minimal.so.2 || die
133
	fi
134
	if use x86; then
135
		# no 32 bit libs for gdal
136
		rm -rvf libgdal.so.1 || die
137
	fi
138
139
	fowners -R root:root /opt/${PN}
139
	fowners -R root:root /opt/${PN}
140
	fperms -R a-x,a+X /opt/googleearth/resources
140
	fperms -R a-x,a+X /opt/googleearth/resources
141
}
141
}

Return to bug 212373