diff options
-rw-r--r-- | app-arch/lxqt-archiver/Manifest | 1 | ||||
-rw-r--r-- | app-arch/lxqt-archiver/lxqt-archiver-0.8.0.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/app-arch/lxqt-archiver/Manifest b/app-arch/lxqt-archiver/Manifest index c996c3ec949f..e77295ec153d 100644 --- a/app-arch/lxqt-archiver/Manifest +++ b/app-arch/lxqt-archiver/Manifest @@ -1 +1,2 @@ DIST lxqt-archiver-0.7.0.tar.xz 181612 BLAKE2B 41ad378f20a9a8f3d7ccfc7406d480eecfad41c991781f503947b37ee26eec5de38b44ea318507dc209a2f2f6d68db65e0f9cdf61920a47fb2d02dd975960f86 SHA512 d86fd636b1b2345ead8c4dc0161311b3e361d274902c5b34b9aaccf1a0b9af46d329fbec0d2249197b8e1c837d6949f723451f67fdc9ca4c6b7f1c2cf59daeca +DIST lxqt-archiver-0.8.0.tar.xz 181572 BLAKE2B 7bbd2b229cd8c546c86d742c13dac4bd00e24e85a146879290652a9ae41c9ced621738d06284fe285c81f2d5f8e43a5126b9bc61e286342cfb9d7fa935c330ee SHA512 70266581478e75505f708eccee4fd1680c1ff012dd4e99138d0c2d17fb8dfab24d9d5e5453d5d4a3f7a9b8437e8a980c3edf190f3e319400c46a655ba7db4898 diff --git a/app-arch/lxqt-archiver/lxqt-archiver-0.8.0.ebuild b/app-arch/lxqt-archiver/lxqt-archiver-0.8.0.ebuild new file mode 100644 index 000000000000..d305b0ec042b --- /dev/null +++ b/app-arch/lxqt-archiver/lxqt-archiver-0.8.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="$(ver_cut 1-2)" + +inherit cmake xdg-utils + +DESCRIPTION="Qt GUI File Archiver" +HOMEPAGE="https://lxqt-project.org/" + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/lxqt/${PN}.git" +else + SRC_URI="https://github.com/lxqt/${PN}/releases/download/${PV}/${P}.tar.xz" + KEYWORDS="~amd64 ~loong ~riscv ~x86" +fi + +LICENSE="GPL-2 GPL-2+" +SLOT="0" + +BDEPEND=" + >=dev-qt/linguist-tools-5.15:5 + >=dev-util/lxqt-build-tools-0.13.0 +" +DEPEND=" + dev-libs/glib:2 + dev-libs/json-glib + >=dev-qt/qtcore-5.15:5 + >=dev-qt/qtgui-5.15:5 + >=dev-qt/qtwidgets-5.15:5 + >=dev-qt/qtx11extras-5.15:5 + >=x11-libs/libfm-qt-1.3:= +" +RDEPEND="${DEPEND}" + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + + elog "Please note that this is only a graphical front-end, and additional" + elog "packages are needed to have support for specific file formats." + elog "For example, to be able to work with the 7-Zip format, the" + elog "'app-arch/p7zip' package may be used." + elog "For the full list of supported formats, see the 'README.md' file:" + elog "https://github.com/lxqt/lxqt-archiver/blob/master/README.md" +} + +pkg_postrm() { + xdg_desktop_database_update +} |