diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2017-12-29 20:04:58 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2017-12-29 20:06:35 +0100 |
commit | a6ae8d1452396e5c06820e26565d1a1b5ccec6e3 (patch) | |
tree | 36d78b26e27ac61b12b7136c6495059ab9438410 /media-gfx/freecad | |
parent | sci-geosciences/osm2pgsql: amd64 stable wrt bug #641138 (diff) | |
download | gentoo-a6ae8d1452396e5c06820e26565d1a1b5ccec6e3.tar.gz gentoo-a6ae8d1452396e5c06820e26565d1a1b5ccec6e3.tar.bz2 gentoo-a6ae8d1452396e5c06820e26565d1a1b5ccec6e3.zip |
media-gfx/freecad-9999: several fixes
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-gfx/freecad')
-rw-r--r-- | media-gfx/freecad/freecad-9999.ebuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/media-gfx/freecad/freecad-9999.ebuild b/media-gfx/freecad/freecad-9999.ebuild index d6e044a1e51a..13355e49800b 100644 --- a/media-gfx/freecad/freecad-9999.ebuild +++ b/media-gfx/freecad/freecad-9999.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit cmake-utils eutils xdg-utils fortran-2 python-single-r1 +inherit cmake-utils eutils xdg-utils gnome2-utils fortran-2 python-single-r1 DESCRIPTION="Qt based Computer Aided Design application" HOMEPAGE="https://www.freecadweb.org/" @@ -80,9 +80,9 @@ src_configure() { local mycmakeargs=( -DOCC_INCLUDE_DIR="${CASROOT}"/inc -DOCC_LIBRARY_DIR="${CASROOT}"/$(get_libdir) - -DCMAKE_INSTALL_DATADIR=share/${P} - -DCMAKE_INSTALL_DOCDIR=share/doc/${PF} - -DCMAKE_INSTALL_INCLUDEDIR=include/${P} + -DCMAKE_INSTALL_DATADIR=/usr/share/${P} + -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} + -DCMAKE_INSTALL_INCLUDEDIR=/usr/include/${P} -DFREECAD_USE_EXTERNAL_KDL="ON" ) @@ -121,8 +121,14 @@ src_install() { pkg_postinst() { xdg_mimeinfo_database_update + xdg_desktop_database_update + + gnome2_icon_cache_update } pkg_postrm() { xdg_mimeinfo_database_update + xdg_desktop_database_update + + gnome2_icon_cache_update } |