summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2014-04-29 09:19:13 +0000
committerSergey Popov <pinkbyte@gentoo.org>2014-04-29 09:19:13 +0000
commitd99ac84258920d8432c7444af85127dde6b7cc5d (patch)
tree728f8d7b28129c07d5412c3e5b7ce181266b224d /app-backup/luckybackup
parentMerge stable keywords from -r0; Drop old. (diff)
downloadgentoo-2-d99ac84258920d8432c7444af85127dde6b7cc5d.tar.gz
gentoo-2-d99ac84258920d8432c7444af85127dde6b7cc5d.tar.bz2
gentoo-2-d99ac84258920d8432c7444af85127dde6b7cc5d.zip
Version bump, wrt bug #506148, thanks to Frank Krömmelbein <kroemmelbein AT gmx.de> for reporting this issue. Drop old version
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'app-backup/luckybackup')
-rw-r--r--app-backup/luckybackup/ChangeLog11
-rw-r--r--app-backup/luckybackup/luckybackup-0.4.8.ebuild (renamed from app-backup/luckybackup/luckybackup-0.4.7.ebuild)28
2 files changed, 31 insertions, 8 deletions
diff --git a/app-backup/luckybackup/ChangeLog b/app-backup/luckybackup/ChangeLog
index 9f2999fad280..13a3b2ebd16d 100644
--- a/app-backup/luckybackup/ChangeLog
+++ b/app-backup/luckybackup/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-backup/luckybackup
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/ChangeLog,v 1.25 2013/03/02 19:11:44 hwoarang Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/ChangeLog,v 1.26 2014/04/29 09:19:13 pinkbyte Exp $
+
+*luckybackup-0.4.8 (29 Apr 2014)
+
+ 29 Apr 2014; Sergey Popov <pinkbyte@gentoo.org> -luckybackup-0.4.7.ebuild,
+ +luckybackup-0.4.8.ebuild:
+ Version bump, wrt bug #506148, thanks to Frank Krömmelbein <kroemmelbein AT
+ gmx.de> for reporting this issue. Drop old version
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org>
luckybackup-0.4.7-r1.ebuild, luckybackup-0.4.7.ebuild:
diff --git a/app-backup/luckybackup/luckybackup-0.4.7.ebuild b/app-backup/luckybackup/luckybackup-0.4.8.ebuild
index 598b8f38f020..a0d1a127528b 100644
--- a/app-backup/luckybackup/luckybackup-0.4.7.ebuild
+++ b/app-backup/luckybackup/luckybackup-0.4.8.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/luckybackup-0.4.7.ebuild,v 1.5 2013/03/02 19:11:44 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/luckybackup/luckybackup-0.4.8.ebuild,v 1.1 2014/04/29 09:19:13 pinkbyte Exp $
-EAPI=4
-inherit qt4-r2
+EAPI=5
+
+PLOCALES="bs ca cs de el en es fr it nl no pl pt_BR ro ru sk sl sv tr zh_TW"
+inherit l10n qt4-r2
DESCRIPTION="Powerful and flexible backup (and syncing) tool, using RSync and Qt4"
HOMEPAGE="http://luckybackup.sourceforge.net/"
@@ -11,7 +13,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="debug"
DEPEND="dev-qt/qtcore:4
@@ -19,7 +21,12 @@ DEPEND="dev-qt/qtcore:4
RDEPEND="${DEPEND}
net-misc/rsync"
-DOCS="readme/*"
+DOCS=( readme/{AUTHORS,README,TODO,TRANSLATIONS,changelog} )
+
+rm_loc() {
+ sed -i -e "s|translations/${PN}_${1}.ts||" "${PN}.pro" || die 'sed on translations failed'
+ rm "translations/${PN}_${1}."{ts,qm} || die "removing ${1} locale failed"
+}
src_prepare() {
sed -i \
@@ -27,6 +34,11 @@ src_prepare() {
-e "s:/usr/share/doc/packages/${PN}:/usr/share/doc/${PF}:g" \
luckybackup.pro src/global.h || die "sed failed"
+ # The su-to-root command is an ubuntu-specific script so it will
+ # not work with Gentoo. No reason to have it anyway.
+ sed -i -e "/^Exec/s:=.*:=/usr/bin/${PN}:" menu/${PN}-gnome-su.desktop \
+ || die "failed to remove su-to-root"
+
# causes empty directory to be installed
sed -i -e '/^INSTALLS/s/debianmenu //' luckybackup.pro \
|| die "sed installs failed"
@@ -34,4 +46,8 @@ src_prepare() {
# remove text version - cannot remote HTML version
# as it's used within the application
rm license/gpl.txt || die "rm failed"
+
+ l10n_find_plocales_changes "translations" "${PN}_" ".ts"
+ l10n_for_each_disabled_locale_do rm_loc
+ qt4-r2_src_prepare
}