Skip to content

Commit

Permalink
muffin: move *.gir and *.typelib files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pullmoll committed Aug 6, 2020
1 parent af8cea1 commit 0fbf98e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions srcpkgs/muffin/template
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,20 @@ 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"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/gir-1.0
}
}

0 comments on commit 0fbf98e

Please sign in to comment.