void-packages/srcpkgs/nemo/template
John Zimmermann df94b7727a cinnamon: update to 3.8.x (#329)
* mozjs38: remove

* cjs: update to 3.8.0.

* cinnamon-translations: update to 3.8.1.

* cinnamon-menus: update to 3.8.2.

* cinnamon-desktop: update to 3.8.1.

* cinnamon-screensaver: update to 3.8.2.

* nemo: update to 3.8.3.

* muffin: update to 3.8.1.

* cinnamon-settings-daemon: update to 3.8.4.

* cinnamon-control-center: update to 3.8.0.

* cinnamon-session: update to 3.8.1.

* New package: python3-pam-1.8.3

* cinnamon: update to 3.8.4.

* xapps: add mising devel dependencies
2018-06-25 20:02:24 +02:00

53 lines
1.5 KiB
Bash

# Template file for 'nemo'
pkgname=nemo
version=3.8.3
revision=1
short_desc="The Cinnamon file manager (nautilus fork)"
build_style=meson
pycompile_dirs="/usr/share/nemo/actions/myaction.py"
hostmakedepends="gettext-devel glib-devel gnome-common gobject-introspection
intltool pkg-config"
makedepends="cinnamon-desktop-devel dconf-devel exempi-devel gvfs-devel
libexif-devel libnotify-devel tracker-devel xapps-devel"
depends="cinnamon-translations dconf gvfs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later, LGPL-2.0-or-later"
homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html/"
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
checksum=6111819d07a4d482ef71a5659ce09db0502026c5fc9653d3577b58d57540f049
nocross="gobject-introspection"
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default+=" gir"
fi
do_check() {
:
# requires a display
# Gtk-WARNING **: 18:34:08.533: cannot open display:
}
pre_configure() {
# Rename 'Files' app name to avoid having the same as nautilus
sed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in
}
libnemo_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
nemo-devel_package() {
short_desc+=" - development files"
depends="libglib-devel gtk+3-devel libnemo>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
if [ "$build_option_gir" ]; then
vmove usr/share/gir-1.0
fi
}
}