1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 inherit qt4-r2 eutils versionator
9 MY_P
="${PN}-$(replace_version_separator 3 '-')"
11 DESCRIPTION
="qt4-fsarchiver a program with a graphical interface for easy operation the archiving program fsarchiver (Flexible filesystem archiver) for backup and deployment tool"
12 HOMEPAGE
="http://qt4-fsarchiver.sourceforge.net/"
13 SRC_URI
="mirror://sourceforge/${PN}/source/${MY_P}.tar.gz
14 https://github.com/Sabayon-Zorro/Sabayon-Zorro-Overlay/blob/master/app-backup/qt4-fsarchiver/Gentoo-qt4-fsarchiver-pro.diff"
18 KEYWORDS
="~amd64 ~x86"
19 IUSE
="+btrfs +jfs +ntfs reiser4 +reiserfs +xfs"
21 DEPEND
="app-arch/xz-utils
22 app-backup/fsarchiver[lzma,lzo]
26 >=sys-fs/e2fsprogs-1.41.4
30 btrfs? ( sys-fs/btrfs-progs )
31 jfs? ( sys-fs/jfsutils )
32 ntfs? ( sys-fs/ntfs3g[ntfsprogs] )
33 reiser4? ( sys-fs/reiser4progs )
34 reiserfs? ( sys-fs/reiserfsprogs )
35 xfs? ( sys-fs/xfsprogs )"
39 epatch
"${DISTDIR}"/Gentoo-qt4-fsarchiver-pro.
diff
41 sed -i -e '/Encoding/d' starter
/"${PN}".desktop || die
"sed on qt4-fsarchiver.desktop failed"
47 eqmake4
"${PN}".pro OPTION_LZO_SUPPORT
=1 OPTION_LZMA_SUPPORT
=1