ghex: multiple tweaks to allow cross builds; fix -devel deps, etc.
This commit is contained in:
parent
e383aa28a5
commit
e61d9d3454
1 changed files with 7 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'ghex'
|
||||
pkgname=ghex
|
||||
version=3.10.0
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-schemas-compile --disable-static"
|
||||
hostmakedepends="pkg-config gtk-update-icon-cache intltool itstool"
|
||||
makedepends="gtk+3-devel"
|
||||
depends="zeitgeist hicolor-icon-theme desktop-file-utils iso-codes"
|
||||
short_desc="simple binary editor"
|
||||
makedepends="gtk+3-devel hicolor-icon-theme desktop-file-utils iso-codes"
|
||||
depends="hicolor-icon-theme desktop-file-utils iso-codes"
|
||||
short_desc="A simple binary editor for GNOME"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.gnome.org"
|
||||
license="GPL-2"
|
||||
|
@ -15,17 +15,18 @@ distfiles="${GNOME_SITE}/ghex/${version%.*}/ghex-$version.tar.xz"
|
|||
checksum=9c31383b1d32c8942ca0327c615336f5777309674c4fc090e8cceb1576c63255
|
||||
|
||||
libgtkhex_package() {
|
||||
short_desc="hex editor library"
|
||||
short_desc+=" - runtime library"
|
||||
pkg_install() {
|
||||
vmove usr/lib/*.so.*
|
||||
}
|
||||
}
|
||||
ghex-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
depends="gtk+3-devel libgtkhex>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/*.so
|
||||
#vmove usr/share/gtk-doc
|
||||
#vmove usr/share/ghex/gir-1.0
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue