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.
37 lines
1 KiB
Bash
37 lines
1 KiB
Bash
# Template file for 'eog'
|
|
pkgname=eog
|
|
version=3.14.3
|
|
revision=2
|
|
lib32disabled=yes
|
|
build_style=gnu-configure
|
|
build_options="gir"
|
|
configure_args="$(vopt_enable gir introspection)"
|
|
hostmakedepends="pkg-config intltool gnome-doc-utils itstool
|
|
$(vopt_if gir gobject-introspection)"
|
|
makedepends="
|
|
gnome-desktop-devel libpeas-devel lcms2-devel exempi-devel
|
|
libexif-devel librsvg-devel"
|
|
depends="hicolor-icon-theme desktop-file-utils shared-mime-info"
|
|
short_desc="Eye of GNOME graphics viewer program"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.gnome.org"
|
|
license="GPL-2"
|
|
distfiles="${GNOME_SITE}/eog/${version%.*}/eog-$version.tar.xz"
|
|
checksum=c05a3c0a75c3c5d42f41eadca9e23753d1fa59bc37fb5826909b468b9be1cf59
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
build_options_default="gir"
|
|
fi
|
|
|
|
eog-devel_package() {
|
|
depends="gtk+3-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/gtk-doc
|
|
if [ "$build_option_gir" ]; then
|
|
vmove usr/share/eog/gir-1.0
|
|
fi
|
|
}
|
|
}
|