cinnamon-desktop: enable gir
This commit is contained in:
parent
039e22af6b
commit
00c9691b14
1 changed files with 8 additions and 5 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'cinnamon-desktop'
|
# Template file for 'cinnamon-desktop'
|
||||||
pkgname=cinnamon-desktop
|
pkgname=cinnamon-desktop
|
||||||
version=4.0.1
|
version=4.0.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=meson
|
build_style=meson
|
||||||
|
build_helper="gir"
|
||||||
configure_args="-Dalsa=true"
|
configure_args="-Dalsa=true"
|
||||||
hostmakedepends="glib-devel gobject-introspection intltool pkg-config"
|
hostmakedepends="glib-devel gobject-introspection intltool pkg-config"
|
||||||
makedepends="accountsservice-devel gtk+3-devel libxkbfile-devel pam-devel
|
makedepends="accountsservice-devel gtk+3-devel libxkbfile-devel pam-devel
|
||||||
|
@ -14,12 +15,16 @@ license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
||||||
homepage="https://developer.linuxmint.com/projects/cinnamon-projects.html"
|
homepage="https://developer.linuxmint.com/projects/cinnamon-projects.html"
|
||||||
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
|
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
|
||||||
checksum=72d4a8c78e42cf9d000f553551f3f3645df77c3c23973c989d7d269acd659100
|
checksum=72d4a8c78e42cf9d000f553551f3f3645df77c3c23973c989d7d269acd659100
|
||||||
nocross="Cinnamon project as a whole hard-depends on gir"
|
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
aarch64-musl) broken="Expat.c: loadable library and perl binaries are mismatched (got handshake key 0xce00080, needed 0xc800080)" ;;
|
aarch64-musl) broken="Expat.c: loadable library and perl binaries are mismatched (got handshake key 0xce00080, needed 0xc800080)" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
x86_64-musl) ;;
|
||||||
|
*-musl) broken="Cinnamon project as a whole uses gir heavily" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
cinnamon-desktop-devel_package() {
|
cinnamon-desktop-devel_package() {
|
||||||
depends="gtk+3-devel libxkbfile-devel ${sourcepkg}>=${version}_${revision}"
|
depends="gtk+3-devel libxkbfile-devel ${sourcepkg}>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
@ -27,8 +32,6 @@ cinnamon-desktop-devel_package() {
|
||||||
vmove "usr/lib/*.so"
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
if [ "$build_option_gir" ]; then
|
vmove usr/share/gir-1.0
|
||||||
vmove usr/share/gir-1.0
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue