muffin: move *.gir and *.typelib files

Other packages have *.gir files in usr/lib/gir-1.0 and the
*.typelib files in usr/lib/girepository-1.0. The usr/lib/gir-1.0
directory should then be in the muffin-devel subpackage AFAICT.

This is in a try to fix the cinnamon cross build yet it isn't sufficient.
This commit is contained in:
Jürgen Buchmüller 2020-08-05 15:39:32 +02:00
parent af8cea13b9
commit 0fbf98ef49
1 changed files with 8 additions and 0 deletions

View File

@ -24,6 +24,13 @@ pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vmkdir usr/lib/gir-1.0
mv ${DESTDIR}/usr/lib/muffin/*.gir ${DESTDIR}/usr/lib/gir-1.0
vmkdir usr/lib/girepository-1.0
mv ${DESTDIR}/usr/lib/muffin/*.typelib ${DESTDIR}/usr/lib/girepository-1.0
}
muffin-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
@ -31,5 +38,6 @@ muffin-devel_package() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/gir-1.0
}
}