Package: gosbabel correctly add dependencies on desktop-file-utils

on gui-part instead of on the main package

Regards

Carlo
This commit is contained in:
onekk 2014-07-04 00:51:24 +02:00
parent 0b094f0cfe
commit 436c6afc4d

View file

@ -8,7 +8,7 @@ homepage="http://www.gpsbabel.org/"
license="GPL-2"
short_desc="Converts waypoints, tracks, and routes between popular GPS formats"
hostmakedepends="perl>=5.18 docbook-xml xmlwf offo-hyphenation"
makedepends="qt-devel libusb-compat-devel expat-devel libxml2-devel libxslt-devel desktop-file-utils"
makedepends="qt-devel libusb-compat-devel expat-devel libxml2-devel libxslt-devel"
distfiles="http://arch.p5n.pp.ru/~sergej/dl/2014/${pkgname}-${version}.tar.gz"
checksum="3feec7d43ca6cb5393645fe0df893d9f7bf5334849fa8abd4c5c3ee775c8cac3"
@ -16,7 +16,7 @@ do_build(){
. /etc/profile.d/oracle-jre.sh
make
make doc
cd gui
cd gui
qmake
make
}
@ -29,12 +29,12 @@ do_install(){
do_clean() {
# Remove temporary stuff from masterdir
rm -rf ${XBPS_BUILDDIR}/babelweb
rm -rf ${XBPS_BUILDDIR}/babelweb
}
gpsbabel-gui_package() {
short_desc+=" - Qt4 GUI"
depends="${sourcepkg}>=${version}_${revision}"
depends="${sourcepkg}>=${version}_${revision} desktop-file-utils"
pkg_install() {
vinstall ${wrksrc}/gui/gpsbabelfe 755 usr/bin
vinstall ${wrksrc}/gui/objects/gpsbabelfe-bin 755 usr/bin