45 lines
1.4 KiB
Bash
45 lines
1.4 KiB
Bash
# Template file for 'nemo'
|
|
pkgname=nemo
|
|
version=5.8.4
|
|
revision=1
|
|
build_style=meson
|
|
build_helper=gir
|
|
pycompile_dirs="/usr/share/nemo/actions/myaction.py"
|
|
hostmakedepends="gettext-devel glib-devel intltool pkg-config"
|
|
makedepends="cinnamon-desktop-devel dconf-devel exempi-devel gvfs-devel
|
|
libexif-devel libnotify-devel xapps-devel libgsf-devel gtk+3-devel"
|
|
depends="cinnamon-translations dconf gvfs"
|
|
short_desc="Cinnamon file manager (nautilus fork)"
|
|
maintainer="Jami Kettunen <jami.kettunen@protonmail.com>"
|
|
license="GPL-2.0-or-later, LGPL-2.0-or-later"
|
|
homepage="https://github.com/linuxmint/nemo"
|
|
changelog="https://raw.githubusercontent.com/linuxmint/nemo/master/debian/changelog"
|
|
distfiles="https://github.com/linuxmint/nemo/archive/${version}.tar.gz"
|
|
checksum=07697806a59ef884f39c4654fe3e96b980f7c5ef6658c0531647ece1692bd4a2
|
|
python_version=3
|
|
# Requires xvfb-run and dbus-run-session
|
|
make_check=no # can't be run inside chroot due to fusermount3
|
|
|
|
post_patch() {
|
|
# Rename 'Files' app name to avoid having the same as nautilus
|
|
vsed -i 's/^Name.*=.*/& - 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"
|
|
vmove usr/share/gir-1.0
|
|
}
|
|
}
|