diff --git a/media-gfx/flameshot/Manifest b/media-gfx/flameshot/Manifest index b5ac846..82abc2a 100644 --- a/media-gfx/flameshot/Manifest +++ b/media-gfx/flameshot/Manifest @@ -1,2 +1,6 @@ -DIST flameshot-0.5.1.tar.gz 600895 SHA256 35220eabb8c4203abb0732c63e0b4d955e17ddd0c03c3d2c7a5beb875728e44e SHA512 db82ad133b0a71f97d723933e82c896fd3fd3e44a81ef0fe81ad4098257c108f6b3055082840860e67db68bac2ec74dd169628c93638020978535bf4da56124a WHIRLPOOL b50b7e1b88f5b072daccd53b44cc962e1be203582319174c0bf3812fed9b5ac0531e37a5530629b609072762722f9b62af1e63e59c7729d5e6f90c6de044e389 -EBUILD flameshot-0.5.1.ebuild 830 SHA256 01f4686932081cbacd88d5ec957648a144a3b35e0d61baa9b288fd5a005dbdd1 SHA512 951a860d20ec0ef04d9df8d6d0fd9590bd7ea36c31a26257ed64255cf5f2bb74a1d8cd0bb7ec9dcb1383e096524b4a0c4f7127825e32a0fd1ad61b723f404dd7 WHIRLPOOL 5515b58895ff875445577314b5c3ba3dbaea657d45f70ccbc7745ce271f70f72e1faa1ba7ee9757e1fea0284824e93281fded2a6b70df3196d3cd60ef9177c61 +DIST flameshot-0.5.1.tar.gz 600895 BLAKE2B 765c0388299072d2ffa1007995d41f3af0a89f2fc0ef4bfbc47ddcb43c72d7f59781747e465031cee80ff272b4711f31e566fbb7a328aeb830a0db4c137696b9 SHA512 db82ad133b0a71f97d723933e82c896fd3fd3e44a81ef0fe81ad4098257c108f6b3055082840860e67db68bac2ec74dd169628c93638020978535bf4da56124a +DIST flameshot-0.6.0.tar.gz 641561 BLAKE2B f9e87373d84c1a841f70cd9c13b504865a0ef23d0fb29848f2270171459afe9c6852e12c712ebdc7cf3cfc62214d7b7507b85cf21838d0ebed33bee1e39f4aad SHA512 194127032ab0f62a6ba2698688e11b2d4e6f0e04a282144f5fbb6c232eeebc71371af2d55abbb6e98b8649dee036e6f0a6ef55710e4321a60fd5ac6e453ab975 +DIST flameshot-0.6.0_p20190812.tar.gz 650597 BLAKE2B 555f97f3191a39c07d27d9486686da6656c08242ebb04c0d41349aa3bd196522943b3d304c2c0c4ea379f280055b223601fea9ef3f9e42d73146062b79b05107 SHA512 9f30e611bd82fdf3c2879bcd09fa7f1ab1249d2c4d083e571955fcdb9d0d77203cf41b2fe9fe4abc8ee107a5d308369e15130489e17f45b13fbeb73f8266af16 +EBUILD flameshot-0.5.1.ebuild 830 BLAKE2B c44e12bfe71569c7bb509207f3543fdec22d1d902328fcf4d808bc9cb32ff4af8a5a41195851e52b6a10cb2a314c217b9a05b841be47a3511de5f7101160c71c SHA512 951a860d20ec0ef04d9df8d6d0fd9590bd7ea36c31a26257ed64255cf5f2bb74a1d8cd0bb7ec9dcb1383e096524b4a0c4f7127825e32a0fd1ad61b723f404dd7 +EBUILD flameshot-0.6.0.ebuild 1425 BLAKE2B e957f63af37da51409ec656592017608c285f0cf83aa2e09bfb693cea1e83c1194f276b9e91c82e2f284dac2ee293e9623d3316bb4e080f9fe7f49e76bae5e07 SHA512 e93a01849d90ea934fa03c37140c7f17485daa354ef0083f5241d0afa5f1fee88d7c321bbb8b80e2c9bb1a65fa6fb466a33dbbad89e782c21ade7c570bd84c79 +EBUILD flameshot-0.6.0_p20190812.ebuild 1506 BLAKE2B 3b510e0ffc2a3e61307f018916a75872133f6105661b5fc45b0489ecd9299e8c85713f8feb48b09e7848f218ef69cfe2ed583cc339c73280fd020f2a32c36627 SHA512 31d3dd8b68eae2a8b754eb0face90f966108a6422f8508a881173a714f4f66977a17b2d8854bdce375e9ad7470dde71f6e04a6b223da4f3ca9b7ab9911191942 diff --git a/media-gfx/flameshot/flameshot-0.6.0.ebuild b/media-gfx/flameshot/flameshot-0.6.0.ebuild new file mode 100644 index 0000000..c4f913d --- /dev/null +++ b/media-gfx/flameshot/flameshot-0.6.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils toolchain-funcs xdg-utils + +DESCRIPTION="Powerful yet simple to use screenshot software for GNU/Linux" +HOMEPAGE="https://flameshot.js.org" +SRC_URI="https://github.com/lupoDharkael/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +LICENSE="FreeArt GPL-3+ Apache-2.0" +SLOT="0" +IUSE="kde" + +DEPEND=" + >=dev-qt/qtsvg-5.3.0:5 + >=dev-qt/qtcore-5.3.0:5 + >=dev-qt/qtdbus-5.3.0:5 + >=dev-qt/qtnetwork-5.3.0:5 + >=dev-qt/qtwidgets-5.3.0:5 + >=dev-qt/linguist-tools-5.3.0:5 +" +RDEPEND="${DEPEND} + kde? ( + kde-plasma/plasma-desktop:5 + kde-frameworks/kglobalaccel:5 + ) +" + +src_prepare(){ + sed -i "s|TAG_VERSION = .*|TAG_VERSION = v${PV}|" ${PN}.pro + sed -i "s#icons#pixmaps#" ${PN}.pro + sed -i "s#^Icon=.*#Icon=${PN}#" "docs/desktopEntry/package/${PN}.desktop" \ + "snap/gui/${PN}.desktop" \ + "snap/gui/${PN}-init.desktop" + default_src_prepare +} + +src_configure(){ + if tc-is-gcc && ver_test "$(gcc-version)" -lt 4.9.2 ;then + die "You need at least GCC 4.9.2 to build this package" + fi + eqmake5 CONFIG+=packaging +} + +src_install(){ + INSTALL_ROOT="${D}" default_src_install + if use kde; then + insinto /usr/share/config + newins docs/shortcuts-config/${PN}-shortcuts-kde ${PN}rc + fi +} + +pkg_postinst(){ + xdg_desktop_database_update +} + +pkg_postrm(){ + xdg_desktop_database_update +} diff --git a/media-gfx/flameshot/flameshot-0.6.0_p20190812.ebuild b/media-gfx/flameshot/flameshot-0.6.0_p20190812.ebuild new file mode 100644 index 0000000..a6260af --- /dev/null +++ b/media-gfx/flameshot/flameshot-0.6.0_p20190812.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit qmake-utils toolchain-funcs xdg-utils + +DESCRIPTION="Powerful yet simple to use screenshot software for GNU/Linux" +HOMEPAGE="https://flameshot.js.org" +COMMIT="665f3090183387c1b271948c294c6f6b770c318b" +# actually, this is latest commit on the GH from 2019-08-12 +SRC_URI="https://github.com/lupoDharkael/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +LICENSE="FreeArt GPL-3+ Apache-2.0" +SLOT="0" +IUSE="kde" + +DEPEND=" + >=dev-qt/qtsvg-5.3.0:5 + >=dev-qt/qtcore-5.3.0:5 + >=dev-qt/qtdbus-5.3.0:5 + >=dev-qt/qtnetwork-5.3.0:5 + >=dev-qt/qtwidgets-5.3.0:5 + >=dev-qt/linguist-tools-5.3.0:5 +" +RDEPEND="${DEPEND} + kde? ( + kde-plasma/plasma-desktop:5 + kde-frameworks/kglobalaccel:5 + ) +" +S="${WORKDIR}/${PN}-${COMMIT}" + +src_prepare(){ + sed -i "s|TAG_VERSION = .*|TAG_VERSION = v0.6.0|" ${PN}.pro + sed -i "s#icons#pixmaps#" ${PN}.pro + sed -i "s#^Icon=.*#Icon=${PN}#" "docs/desktopEntry/package/${PN}.desktop" + default_src_prepare +} + +src_configure(){ + if tc-is-gcc && ver_test "$(gcc-version)" -lt 4.9.2 ;then + die "You need at least GCC 4.9.2 to build this package" + fi + eqmake5 CONFIG+=packaging +} + +src_install(){ + INSTALL_ROOT="${D}" default_src_install + if use kde; then + insinto /usr/share/config + newins docs/shortcuts-config/${PN}-shortcuts-kde ${PN}rc + fi +} + +pkg_postinst(){ + xdg_desktop_database_update +} + +pkg_postrm(){ + xdg_desktop_database_update +}