summaryrefslogtreecommitdiffhomepage
path: root/vars/gdk.vars
blob: 30df95cc12b90b61e6bfc190e26ad2631096d969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# set +o errexit -o noglob -o nounset is assumed.
#

pkg_gdk_install_files_post() {
	local _pc_path="";
	for _pc_path in $(find "${PKG_DESTDIR}"/lib/pkgconfig -name \*.pc); do
		if ! sed -i"" -e '/^Requires:[[:space:]]*gobject-2.0$/s/^.*$/& gio-2.0/' "${_pc_path}"; then
			return 1;
		fi;
	done;
};

# vim:filetype=sh textwidth=0