diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2016-02-19 12:46:07 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2016-02-19 12:46:45 +0100 |
commit | fef173547dd1ac9d303e668ef174ac79edf44301 (patch) | |
tree | 78141cd809c61a4a31b71974b14d3cb8538c7469 /media-gfx/valentina | |
parent | Merge remote-tracking branch 'remotes/sbraz/jaraco.collections' (diff) | |
download | gentoo-fef173547dd1ac9d303e668ef174ac79edf44301.tar.gz gentoo-fef173547dd1ac9d303e668ef174ac79edf44301.tar.bz2 gentoo-fef173547dd1ac9d303e668ef174ac79edf44301.zip |
media-gfx/valentina: added man pages, doc files and desktop info
Package-Manager: portage-2.2.27
Diffstat (limited to 'media-gfx/valentina')
-rw-r--r-- | media-gfx/valentina/valentina-0.4.2-r2.ebuild (renamed from media-gfx/valentina/valentina-0.4.2-r1.ebuild) | 20 | ||||
-rw-r--r-- | media-gfx/valentina/valentina-9999.ebuild | 20 |
2 files changed, 38 insertions, 2 deletions
diff --git a/media-gfx/valentina/valentina-0.4.2-r1.ebuild b/media-gfx/valentina/valentina-0.4.2-r2.ebuild index a3e8021d0772..76ac3590c0a8 100644 --- a/media-gfx/valentina/valentina-0.4.2-r1.ebuild +++ b/media-gfx/valentina/valentina-0.4.2-r2.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit qmake-utils +inherit qmake-utils gnome2-utils fdo-mime DESCRIPTION="Cloth patternmaking software" HOMEPAGE="http://valentinaproject.bitbucket.org/" @@ -13,6 +13,7 @@ SRC_URI="https://bitbucket.org/dismine/valentina/get/v0.4.2.zip -> ${P}.zip" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="gnome" # en_IN not supported in Gentoo so not added here LANGS="cs_CZ de_DE en_CA en_US es_ES fi_FI fr_FR he_IL id_ID it_IT nl_NL ro_RO ru_RU uk_UA zh_CN" @@ -55,4 +56,21 @@ src_configure() { src_install() { emake install INSTALL_ROOT="${D}" + + dodoc LICENSE_GPL.txt ChangeLog.txt README.txt + + doman dist/debian/${PN}.1 + doman dist/debian/tape.1 + + cp dist/debian/valentina.sharedmimeinfo dist/debian/${PN}.xml || die + insinto /usr/share/mime/packages + doins dist/debian/${PN}.xml +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + if use gnome ; then + gnome2_icon_cache_update + fi } diff --git a/media-gfx/valentina/valentina-9999.ebuild b/media-gfx/valentina/valentina-9999.ebuild index 6a64afe5c9cd..7ddd9faf3caa 100644 --- a/media-gfx/valentina/valentina-9999.ebuild +++ b/media-gfx/valentina/valentina-9999.ebuild @@ -4,7 +4,7 @@ EAPI=5 -inherit mercurial qmake-utils +inherit mercurial qmake-utils gnome2-utils fdo-mime DESCRIPTION="Cloth patternmaking software" HOMEPAGE="http://valentinaproject.bitbucket.org/" @@ -15,6 +15,7 @@ EHG_REVISION="develop" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="gnome" # en_IN not supported in Gentoo so not added here LANGS="cs_CZ de_DE en_CA en_US es_ES fi_FI fr_FR he_IL id_ID it_IT nl_NL ro_RO ru_RU uk_UA zh_CN" @@ -50,4 +51,21 @@ src_configure() { src_install() { emake install INSTALL_ROOT="${D}" + + dodoc LICENSE_GPL.txt ChangeLog.txt README.txt + + doman dist/debian/${PN}.1 + doman dist/debian/tape.1 + + cp dist/debian/valentina.sharedmimeinfo dist/debian/${PN}.xml || die + insinto /usr/share/mime/packages + doins dist/debian/${PN}.xml +} + +pkg_postinst() { + fdo-mime_desktop_database_update + + if use gnome ; then + gnome2_icon_cache_update + fi } |