midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/gdk.vars

Lucio Andrés Illanes Albornoz (arab, vxp) caed76
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
#
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
: ${PKG_GDB_CONFIG_CACHE_EXTRA:="
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
enable_gio_sniffing=yes"};
Lucio Andrés Illanes Albornoz (arab, vxp) 8a4338
Lucio Andrés Illanes Albornoz 77addc
pkg_gdk_install_files_post() {
Lucio Andrés Illanes Albornoz 907bd3
	local _pc_path="";
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
	for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do
Lucio Andrés Illanes Albornoz bf9edf
		if ! sed -i"" -e '/^Requires:\s\+gobject-2.0$/s/^.*$/& gio-2.0/' "${_pc_path}"; then
Lucio Andrés Illanes Albornoz bf9edf
			return 1;
Lucio Andrés Illanes Albornoz bf9edf
		fi;
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
	done;
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
};
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
Lucio Andrés Illanes Albornoz bf9edf
# vim:filetype=sh textwidth=0