From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-backup/luckybackup/Manifest | 5 +++ app-backup/luckybackup/luckybackup-0.4.8.ebuild | 52 +++++++++++++++++++++++++ app-backup/luckybackup/metadata.xml | 11 ++++++ 3 files changed, 68 insertions(+) create mode 100644 app-backup/luckybackup/Manifest create mode 100644 app-backup/luckybackup/luckybackup-0.4.8.ebuild create mode 100644 app-backup/luckybackup/metadata.xml (limited to 'app-backup/luckybackup') diff --git a/app-backup/luckybackup/Manifest b/app-backup/luckybackup/Manifest new file mode 100644 index 000000000000..2aa7a0b807fa --- /dev/null +++ b/app-backup/luckybackup/Manifest @@ -0,0 +1,5 @@ +DIST luckybackup-0.4.8.tar.gz 5710203 SHA256 68a8a318a6a32a2395fbaada114973f5a4887846c5c6188b38c175215b3116f6 SHA512 48e73f8b5897a09f64f3755dc094ef50031c607ecfca25c238b45ca5bef7f2645081b7c665a9b7c3c3da2f214f91b229a559d723df8ddb6446aa23e68b266076 WHIRLPOOL ccced074661d4a3764bf6e069aff5877c721ef3ef452490dfb17d292c0ee6cb1f12b995eea40134995c1a8ca935472ffcf28585b28d1d4818f06042e512aacec +EBUILD luckybackup-0.4.8.ebuild 1589 SHA256 7144c03003e9c60327115e835bc006702a83a673eecf3b50c0cbbc9a148215e5 SHA512 0c253be84b2f951c16ce0b98bbb35691798277ef91239261e7c2f89f77113ba54d598ba25d9b1228fc35d9e93547ab1088c7530c83fc5d8ac50d8e2a81900ea3 WHIRLPOOL f978d77ded3c763a54de1611aa36a66c27d4e340aac95f0f91e166f5ae0ca85a44aa36b14589d65994c81b2b59d338e9a40ae2e4e8ae4d5b6ea71bb558f91b3a +MISC ChangeLog 3114 SHA256 893356a8f9babeb022e44d6acb0be15f5114249fab343091b5af9f34c24f58f2 SHA512 aa3cddc6aa548acc9401dbc111266e1d052bf75e69b68055142b206d6c36b9819643c023db93d757e6a6ccf51fa13618e9cca1cc176483fb6ba735c1308f4401 WHIRLPOOL 6ca781b202ab5a3bf4f726cee3143af8790edc72df98b23e0cb89c0983c0bca3434c000f6a79a5e47885c9e5c87bacb0129e48818d98d2aed1076ca00d700994 +MISC ChangeLog-2015 4108 SHA256 ff881658f7c26327d4efed2ee5e21d06b48c50e4db1fdda689b30b9846cd3829 SHA512 5a9ed1462a2a944f2f25a0dd904f59cdb3fb299a1948dd215ccc8a76763bd4547c294311fd689d61a77af33e01a26aed61c9f28d184bf201c273cc4125ca02b4 WHIRLPOOL bd03ee13ed5fa59e27017b17a6d6f0cfa73dc05fb813829158771b4b266a9c05164e33e4567934973bf57ae51da48b8ea3b46c5da15a23b5a061d8509cd0ce6e +MISC metadata.xml 328 SHA256 9b5e06a535ed61018ec27b5d7be8033c44e41c4aa9ed6259fe3020d365fd8f6c SHA512 64415b71b483e93f41d75f858bbdbce2c612b5e7c37753237d7c2374b1bb2bd2d30a86d18b32f5ac015e15c57e94553019756d2cc6021c803d25da527929ddeb WHIRLPOOL 5af3b9499350d33e5aba0a8ba2b9f9ee1d046c4cc668f52b18a0a5f1a2335bdd663f4d70e122f166111543b6916834687c4972cd3875e29c86e9cebbcdf77fb1 diff --git a/app-backup/luckybackup/luckybackup-0.4.8.ebuild b/app-backup/luckybackup/luckybackup-0.4.8.ebuild new file mode 100644 index 000000000000..e8d3c5b6247d --- /dev/null +++ b/app-backup/luckybackup/luckybackup-0.4.8.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="debug" + +DEPEND="dev-qt/qtcore:4 + dev-qt/qtgui:4" +RDEPEND="${DEPEND} + net-misc/rsync" + +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 \ + -e "s:/usr/share/doc/${PN}:/usr/share/doc/${PF}:g" \ + -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" + + # 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 +} diff --git a/app-backup/luckybackup/metadata.xml b/app-backup/luckybackup/metadata.xml new file mode 100644 index 000000000000..06fb30b44cd1 --- /dev/null +++ b/app-backup/luckybackup/metadata.xml @@ -0,0 +1,11 @@ + + + + + qt@gentoo.org + Gentoo Qt Project + + + luckybackup + + -- cgit v1.2.3