summaryrefslogtreecommitdiff
path: root/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-08-21 17:59:27 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-08-21 17:59:27 +0100
commitcb5e0cd100f66717005b79878f9758bb0ac3432c (patch)
tree8db7e457d165b48a026bd4565c65ce85486c79a4 /app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild
parentff936c218724d0ba7755a24f3a7bd9a99b4d7afb (diff)
app-backup/qt5-fsarchiver : bugfix https://bugs.redcorelinux.org/show_bug.cgi?id=39
Diffstat (limited to 'app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild')
-rw-r--r--app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild
new file mode 100644
index 00000000..8bf7e7a9
--- /dev/null
+++ b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1-r1708.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit qmake-utils versionator
+
+MIN_PV="$(get_version_component_range 1-3)"
+
+DESCRIPTION="Qt5 frontend for fsarchiver"
+HOMEPAGE="http://qt4-fsarchiver.sourceforge.net/"
+SRC_URI="mirror://sourceforge/project/qt4-fsarchiver/${PN}/source/${P}-0.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+
+CDEPEND="app-arch/bzip2
+ app-arch/xz-utils
+ dev-libs/libgcrypt:=
+ dev-libs/lzo
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwidgets:5
+ sys-apps/util-linux
+ sys-fs/e2fsprogs
+ sys-libs/zlib"
+RDEPEND="${CDEPEND}
+ >=app-backup/fsarchiver-${MIN_PV}[lzma,lzo]"
+DEPEND="${CDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ epatch ${FILESDIR}/redcorelinux.patch
+ sed -i \
+ -e "/icon.path/s:app-install/icons:${PN}:" "${PN}.pro" \
+ || die "sed on ${PN}.pro failed"
+}
+
+src_compile() {
+ eqmake5
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install
+ einstalldocs
+ # remove gksu && kdesu enabled desktop entries
+ rm -rf ${ED}/usr/share/applications/kde-${PN}.desktop
+ rm -rf ${ED}/usr/share/applications/mate-${PN}.desktop
+}
+
+pkg_postinst() {
+ elog "optional dependencies:"
+ elog " sys-fs/btrfs-progs"
+ elog " sys-fs/jfsutils"
+ elog " sys-fs/ntfs3g[ntfsprogs]"
+ elog " sys-fs/reiser4progs"
+ elog " sys-fs/reiserfsprogs"
+ elog " net-fs/sshfs"
+ elog " sys-fs/xfsprogs"
+}