summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-backup/fsarchiver/Manifest1
-rw-r--r--app-backup/fsarchiver/fsarchiver-0.8.1.ebuild39
-rw-r--r--app-backup/qt5-fsarchiver/Manifest1
-rw-r--r--app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1.ebuild65
4 files changed, 106 insertions, 0 deletions
diff --git a/app-backup/fsarchiver/Manifest b/app-backup/fsarchiver/Manifest
new file mode 100644
index 00000000..659a3a21
--- /dev/null
+++ b/app-backup/fsarchiver/Manifest
@@ -0,0 +1 @@
+DIST fsarchiver-0.8.1.tar.gz 265048 SHA256 f21dc8f66a67e949c836f3316862db0619f14cf8971ba37342c0ae6e11e625f8 SHA512 17133392b0678b88552ae356bc199a8a5a8a88d3c8878b593b36acdc0f9dc3869f87475cc1a36d0df752e3bc3df8c9c0641954f675aaf60da4f1b0862dec1bc6 WHIRLPOOL 190450d064ed509f731c0104623e237ccca1f04d4cde3cae23d14a34bfc0ae567062bd081cb1523655d82ae62a1add99afa75260db815db96a0a145962bd8154
diff --git a/app-backup/fsarchiver/fsarchiver-0.8.1.ebuild b/app-backup/fsarchiver/fsarchiver-0.8.1.ebuild
new file mode 100644
index 00000000..20547254
--- /dev/null
+++ b/app-backup/fsarchiver/fsarchiver-0.8.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Flexible filesystem archiver for backup and deployment tool"
+HOMEPAGE="http://www.fsarchiver.org"
+SRC_URI="https://github.com/fdupoux/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="debug +lzma +lzo static"
+
+DEPEND="dev-libs/libgcrypt:0=
+ >=sys-fs/e2fsprogs-1.41.4
+ lzma? ( >=app-arch/xz-utils-4.999.9_beta )
+ lzo? ( >=dev-libs/lzo-2.02 )
+ static? ( lzma? ( app-arch/xz-utils[static-libs] ) )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ default
+ sed -i -e 's/^\([a-z]*_CFLAGS.*\)-ggdb/\1/' src/Makefile.am \
+ || die "seding failed"
+ eautoreconf
+}
+
+src_configure() {
+ myeconfargs=(
+ $(use_enable lzma)
+ $(use_enable lzo)
+ $(use_enable static)
+ $(use_enable debug devel)
+ )
+ econf "${myeconfargs[@]}"
+}
diff --git a/app-backup/qt5-fsarchiver/Manifest b/app-backup/qt5-fsarchiver/Manifest
new file mode 100644
index 00000000..86d57b09
--- /dev/null
+++ b/app-backup/qt5-fsarchiver/Manifest
@@ -0,0 +1 @@
+DIST qt5-fsarchiver-0.8.1-0.tar.gz 1736655 SHA256 55443ee701459e17865483de79f5dc80d7a75c4489a43b257361ec1bb539f38e SHA512 614a6aa0cbfbb4fd1eea5ac1c7e8774c27498249530682dc90aa58e9569a6c2b2fe39368207129594a85e29c804ba43ffa6857c802e89ce37232d8d91363813a WHIRLPOOL 78c1a9f804f9e8af6bb091381ed3ffdf18472de3ed6b676da66c2748a943f8c80c9d98c8a97424c31e330044af22a5d09c31ab8090c763f8a9d4ebcca6841201
diff --git a/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1.ebuild b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1.ebuild
new file mode 100644
index 00000000..4757a4b9
--- /dev/null
+++ b/app-backup/qt5-fsarchiver/qt5-fsarchiver-0.8.1.ebuild
@@ -0,0 +1,65 @@
+# 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() {
+ # fix icon installation location
+ 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
+ # make polkit enabled desktop entry universal
+ sed -i "s/\OnlyShowIn=GNOME//g" ${ED}/usr/share/applications/gnome-${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"
+}