Blame vars/gdk.vars

Lucio Andrés Illanes Albornoz (arab, vxp) caed76
#
Lucio Andrés Illanes Albornoz e1d469
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
#
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
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 0d1c4f
		if ! sed -i"" -e '/^Requires:[[:space:]]*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