diff options
Diffstat (limited to 'media-gfx/qimgv/qimgv-0.6.ebuild')
-rw-r--r-- | media-gfx/qimgv/qimgv-0.6.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/media-gfx/qimgv/qimgv-0.6.ebuild b/media-gfx/qimgv/qimgv-0.6.ebuild new file mode 100644 index 000000000000..1d1623a2470c --- /dev/null +++ b/media-gfx/qimgv/qimgv-0.6.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils gnome2-utils xdg-utils + +DESCRIPTION="A cross-platform image viewer with webm support. Written in qt5" +HOMEPAGE="https://github.com/easymodo/qimgv" +SRC_URI="https://github.com/easymodo/qimgv/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + media-video/mpv[libmpv] +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + # so cmake can find binaries + sed -i 's/build\/qimgv/${CMAKE_BINARY_DIR}\/qimgv/' CMakeLists.txt || die + + cmake-utils_src_prepare +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} |