void-packages/srcpkgs/nemo/template

47 lines
1.5 KiB
Bash
Raw Normal View History

2013-12-16 14:57:20 +01:00
# Template file for 'nemo'
pkgname=nemo
2015-07-05 10:27:47 +02:00
version=2.6.7
2013-12-16 14:57:20 +01:00
revision=1
short_desc="The Cinnamon file manager (nautilus fork)"
build_style=gnu-configure
configure_args=" --disable-static --disable-update-mimedb
--disable-packagekit --disable-gtk-doc-html --disable-schemas-compile"
hostmakedepends="automake libtool gnome-common pkg-config gobject-introspection
2015-01-24 10:37:30 +01:00
gettext-devel glib-devel intltool xmlto docbook-xml gtk-doc gir-freedesktop
2014-08-31 13:02:08 +02:00
python-polib python-gobject"
2014-08-31 12:44:53 +02:00
makedepends="libexif-devel gvfs-devel dconf-devel exempi-devel
2014-08-31 13:02:08 +02:00
cinnamon-desktop-devel libnotify-devel libxml2-devel"
2015-01-24 10:37:30 +01:00
depends="gvfs dconf cinnamon-translations desktop-file-utils hicolor-icon-theme"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2013-12-16 14:57:20 +01:00
license="GPL-3"
homepage="http://cinnamon.linuxmint.com/"
2015-01-24 10:37:30 +01:00
distfiles="https://github.com/linuxmint/${pkgname}/archive/${version}.tar.gz"
2015-07-05 10:27:47 +02:00
checksum=fcb7c596d4aa2325df0c9a0af6d26bcc8c1c85f299ae511f8a1ea3a23619f8ed
2013-12-16 14:57:20 +01:00
pre_configure() {
# Fix build
2015-06-08 12:31:56 +02:00
sed -i '/AC_SUBST(DISABLE_DEPRECATED_CFLAGS)/d' configure.ac
2013-12-16 14:57:20 +01:00
# Rename 'Files' app name to avoid having the same as nautilus
sed -i 's/^Name\(.*\)=.*/Name\1=Nemo/' data/nemo.desktop.in.in
NOCONFIGURE=1 ./autogen.sh
}
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
}
}