diff options
Diffstat (limited to 'media-gfx/qimgv')
-rw-r--r-- | media-gfx/qimgv/Manifest | 4 | ||||
-rw-r--r-- | media-gfx/qimgv/qimgv-0.8.5.ebuild | 6 | ||||
-rw-r--r-- | media-gfx/qimgv/qimgv-0.8.8.ebuild | 56 |
3 files changed, 62 insertions, 4 deletions
diff --git a/media-gfx/qimgv/Manifest b/media-gfx/qimgv/Manifest index 5d77755b75c5..04add1c48e47 100644 --- a/media-gfx/qimgv/Manifest +++ b/media-gfx/qimgv/Manifest @@ -1,4 +1,6 @@ DIST qimgv-0.8.5.tar.gz 242650 BLAKE2B 25ac2854b0c35e2288b0e770559bac5ac0152df1e73b025fe99609e3f7126ad0c5342a6f87dd34b0847b22031ca77db7b98b1ef8b9c278fcbebb395454d426a4 SHA512 f4c3df7db433eca04ed0827039a02fcbb6e0d5b2f696010351dc6238c39b7a08784780ad8d56f3701d13506dd6c64671ce361817928d7fb2bb25b88c3f3d32ce -EBUILD qimgv-0.8.5.ebuild 1142 BLAKE2B cc9ef55fe3dc53342df720bf25d4dd6af93d43143a6d1ac70ff409ad2488d6ed76e7ead64bb4e525abc95511d81cd2b0863a4ab811107989743752281e77be91 SHA512 abd4d018e39c311d4a84f78737370bbda9a55a44479377adc08928689c225c28f944ba6b041a520bd7b0ce042983cb4665778a35fdf886e5cc4fbaeeddcac27a +DIST qimgv-0.8.8.tar.gz 460682 BLAKE2B fb701fbb336bf8e51751f677f7fddfd7eb0e1b770697ee510c0008a3ebddb0a3948d5a3f6f57a676dfa3117ca03b908cc3f88bcaec16a07000108279bd5fed80 SHA512 376f79eba2a625eb0f622494ce7ba98e1182b43cc6d7e268382c794a74d2772bd17083ac9ae45fcafc5eeb0665ef06ab34bdbeee8401a35bd0652744c576e131 +EBUILD qimgv-0.8.5.ebuild 1124 BLAKE2B 77eeeeba99268152463629bc616a123f4bf178c91652baf69fdd58dfdfd68c7a7f81d4afac2b70b81026196352d417616d0dd9dea9eac6f39214bffb376bc893 SHA512 524ef964adc441ec243405b932deb0e37a41a479a0565ac83f4d15dd05ea48fa92d8d041a6617027c5c1f2a7156aa5bbd578380db552602ed198314af13bc4bc +EBUILD qimgv-0.8.8.ebuild 1126 BLAKE2B ac635b6d46d4d63c8afb846fc248ef15c29e607cc2a5a85d7236cf5e4a186a4a2ac610e60fa3dd7fd108f9d6f7de8622b72d3a0d40e315704ef7e696bc3416b8 SHA512 7ba8910b8dc806e176596f2f2ab19ab24b066d94661ad2b466c6cb3d65bc20d982335172eb7ff0642dec26d065f4bd0399c973d3740c8bbb19c272d6289106c0 EBUILD qimgv-9999.ebuild 696 BLAKE2B 4341560b05ddf294b877cd659b3647e5409e55bb39b34161106bec650c451ae46a2398a0a0d78580b1db0f27582b409162e1c199023891df764d77c123809586 SHA512 cb1d5e0eaff96f45f4cb63d50f75033a035ea0687fc801f921b0ca0c63a6812331c3efa17fd957fd07564f8d2a340530bfd4114851dab827b94830dfd09f6670 MISC metadata.xml 453 BLAKE2B ca83aa2e239dbd9bfca29a20d99b8d352392db1f17fd77497d6eb6266e19e300a30c5544508a479ee6832a6ef1211ff5df08787b726839e5ad39fdd21f8ab5d7 SHA512 ca30cade161d874f67a0aa2fdc6084bce465920bbbca9cde599f6b879dfd6801426d6603e02bb9f34f1ac1f00acba896279f231b49bcc9cd3f0355ff4bb310d9 diff --git a/media-gfx/qimgv/qimgv-0.8.5.ebuild b/media-gfx/qimgv/qimgv-0.8.5.ebuild index 81ac18fca861..71f3879d1181 100644 --- a/media-gfx/qimgv/qimgv-0.8.5.ebuild +++ b/media-gfx/qimgv/qimgv-0.8.5.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit cmake-utils xdg-utils +inherit cmake xdg-utils DESCRIPTION="A cross-platform image viewer with webm support, written in qt5" HOMEPAGE="https://github.com/easymodo/qimgv" @@ -31,7 +31,7 @@ RDEPEND=" " src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare # respect make.conf CXXFLAGS sed -i -e '/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -lstdc++fs -O3")/d' CMakeLists.txt || die } @@ -42,7 +42,7 @@ src_configure() { -DKDE_SUPPORT=$(usex kde) -DVIDEO_SUPPORT=$(usex video) ) - cmake-utils_src_configure + cmake_src_configure } pkg_postinst() { diff --git a/media-gfx/qimgv/qimgv-0.8.8.ebuild b/media-gfx/qimgv/qimgv-0.8.8.ebuild new file mode 100644 index 000000000000..b5ebae292347 --- /dev/null +++ b/media-gfx/qimgv/qimgv-0.8.8.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake 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="exif kde video" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + exif? ( media-gfx/exiv2:= ) + kde? ( kde-frameworks/kwindowsystem:5 ) + video? ( media-video/mpv[libmpv] ) +" +RDEPEND=" + ${DEPEND} +" + +src_prepare() { + cmake_src_prepare + # respect make.conf CXXFLAGS + sed -i -e '/set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -lstdc++fs -O3")/d' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DEXIV2=$(usex exif) + -DKDE_SUPPORT=$(usex kde) + -DVIDEO_SUPPORT=$(usex video) + ) + cmake_src_configure +} + +pkg_postinst() { + xdg_icon_cache_update + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_icon_cache_update + xdg_desktop_database_update +} |