Advertisement
Necrose99

qt4-fsarchiver-0.6.19-4.ebuild

May 25th, 2014
279
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.00 KB | None | 0 0
  1. Pinkbyte wrote original template    
  2.  
  3. # Copyright 1999-2014 Gentoo Foundation
  4. # Distributed under the terms of the GNU General Public License v2
  5. # $Header: $
  6. # ssh-fs & cifs / samba are highly recommended for network backups and LIVE rescue type disk/s
  7. # Sabayon or Gentoo LIVE DVD (for rescue use etc) IUSE="+onbydefault +btrfs +jfs +ntfs reiser4 +reiserfs +xfss +sshfs" can trim the use if you wish.... ##
  8. EAPI="5"  ### was EAPI="4"
  9.  
  10. inherit qt4-r2 eutils versionator
  11.  
  12. MY_P="${PN}-$(replace_version_separator 3 '-')"
  13.  
  14. DESCRIPTION="qt4-fsarchiver a program with a graphical interface for easy operation the archiving program fsarchiver (Flexible filesystem archiver) for backup and deployment tool"
  15. HOMEPAGE="http://qt4-fsarchiver.sourceforge.net/"
  16. SRC_URI="mirror://sourceforge/${PN}/source/${MY_P}.tar.gz
  17. https://github.com/Sabayon-Zorro/Sabayon-Zorro-Overlay/blob/master/app-backup/qt4-fsarchiver/Gentoo-qt4-fsarchiver-pro.diff
  18. https://github.com/necrose99/qt4-fsarchiver/blob/master/qt4-fsarchiver-src/Gentoo-qt4-fsarchiver-pro.diff"
  19.   LICENSE="GPL-2"
  20. SLOT="0"
  21.     KEYWORDS="~amd64 ~x86"
  22.     IUSE="+onbydefault +btrfs +jfs +ntfs reiser4 +reiserfs +xfss +sshfs"
  23.  
  24.   DEPEND="app-arch/xz-utils
  25.    app-backup/fsarchiver[lzma,lzo]
  26.    dev-libs/glib:2
  27.    dev-libs/libgcrypt
  28.    dev-libs/lzo
  29.    >=sys-fs/e2fsprogs-1.41.4
  30.    x11-libs/qt-core:4
  31.    x11-libs/qt-gui:4"
  32.    
  33.           RDEPEND="${DEPEND}
  34.          btrfs? ( sys-fs/btrfs-progs )
  35.          jfs? ( sys-fs/jfsutils )
  36.          ntfs? ( sys-fs/ntfs3g[ntfsprogs] )
  37.          reiser4? ( sys-fs/reiser4progs )
  38.          reiserfs? ( sys-fs/reiserfsprogs )
  39.          xfs? ( sys-fs/xfsprogs )
  40.          sshfs? (sys-fs/sshfs-fuse)"
  41.  
  42. S="${WORKDIR}/${PN}"
  43. src_prepare() {
  44. epatch "${DISTDIR}"/Gentoo-qt4-fsarchiver-pro.diff
  45. # fix .desktop file
  46. sed -i -e '/Encoding/d' starter/"${PN}".desktop || die "sed on qt4-fsarchiver.desktop failed"
  47.  
  48. qt4-r2_src_prepare
  49. }
  50.  
  51. src_configure() {
  52. eqmake4 "${PN}".pro OPTION_LZO_SUPPORT=1 OPTION_LZMA_SUPPORT=1
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement