void-packages/srcpkgs/nautilus/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

38 lines
1.1 KiB
Bash

# Template file for 'nautilus'
pkgname=nautilus
version=3.14.2
revision=1
build_style=gnu-configure
configure_args="--disable-update-mimedb --disable-debug
--disable-schemas-compile --disable-nst-extension"
hostmakedepends="pkg-config intltool gobject-introspection
glib-devel"
makedepends="gtk+3-devel libnotify-devel libexif-devel exempi-devel
libxml2-devel tracker-devel gnome-desktop-devel"
depends="hicolor-icon-theme desktop-file-utils gsettings-desktop-schemas>=3.14"
short_desc="The GNOME file manager"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2, LGPL-2.1"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=b2c9e13ba896a15101abf5d5fe30e291243e6030e0c84e8eb5df1e7bd90c10a5
libnautilus_package() {
short_desc+=" - shared libraries"
replaces="nautilus<3.2.1"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
nautilus-devel_package() {
depends="gtk+3-devel libnautilus>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
}
}