Blame vars/gdk.vars

Lucio Andrés Illanes Albornoz (arab, vxp) caed76
#
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
#
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
pkg_gdk_install_pkgconfig_post() {
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
	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 (arab, vxp) caed76
		sed -i"" -e '/^Requires:\s\+gobject-2.0$/s/^.*$/& gio-2.0/'	\
Lucio Andrés Illanes Albornoz (arab, vxp) caed76
			"${_pc_path}";
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 (arab, vxp) caed76
# vim:filetype=sh