summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-04-30 13:30:46 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-04-30 13:30:46 +0000
commitcdbcae9fc74f3b506f55593f04177bb9084105e7 (patch)
tree6973faa8b8aacf821585f64efbd28bb3ea33d9f9 /net-ftp/qshare
parentVersion bump #317377 by Michiel de Bruijne. (diff)
downloadgentoo-2-cdbcae9fc74f3b506f55593f04177bb9084105e7.tar.gz
gentoo-2-cdbcae9fc74f3b506f55593f04177bb9084105e7.tar.bz2
gentoo-2-cdbcae9fc74f3b506f55593f04177bb9084105e7.zip
Version bump
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp/qshare')
-rw-r--r--net-ftp/qshare/ChangeLog7
-rw-r--r--net-ftp/qshare/qshare-1.3.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/net-ftp/qshare/ChangeLog b/net-ftp/qshare/ChangeLog
index c5df703c810f..8af537b52059 100644
--- a/net-ftp/qshare/ChangeLog
+++ b/net-ftp/qshare/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-ftp/qshare
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-ftp/qshare/ChangeLog,v 1.2 2010/03/09 11:26:18 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/qshare/ChangeLog,v 1.3 2010/04/30 13:30:46 hwoarang Exp $
+
+*qshare-1.3 (30 Apr 2010)
+
+ 30 Apr 2010; Markos Chandras <hwoarang@gentoo.org> +qshare-1.3.ebuild:
+ Version bump
09 Mar 2010; Jonathan Callen <abcd@gentoo.org> qshare-0.9.ebuild:
QA: When not using an absolute path, you MUST NOT use a file extension
diff --git a/net-ftp/qshare/qshare-1.3.ebuild b/net-ftp/qshare/qshare-1.3.ebuild
new file mode 100644
index 000000000000..753591400623
--- /dev/null
+++ b/net-ftp/qshare/qshare-1.3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-ftp/qshare/qshare-1.3.ebuild,v 1.1 2010/04/30 13:30:46 hwoarang Exp $
+
+EAPI="2"
+
+LANGS="en es fr ru"
+
+inherit qt4-r2
+
+DESCRIPTION="FTP server with a service discovery feature."
+HOMEPAGE="http://qt-apps.org/content/show.php/qShare?content=116612"
+SRC_URI="http://qt-apps.org/CONTENT/content-files/116612-${P}-src.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/qt-gui:4"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ #fix translations
+ sed -i "s:i18n:usr\/share\/${PN}\/translations:" src/config.cpp \
+ || die "failed to fix translations path"
+ qt4-r2_src_prepare
+}
+
+src_install() {
+ dobin ${PN} || die "dobin failed"
+ doicon icons/${PN}.png
+ make_desktop_entry /usr/bin/${PN} QShare ${PN} "Qt;Network;FileTransfer"
+ dohtml docs/* || die "dohtml failed"
+ for X in ${LINGUAS}; do
+ for Z in ${LANGS}; do
+ if [[ ${X} == ${Z} ]]; then
+ insinto /usr/share/${PN}/translations/
+ doins i18n/${PN}_${X}.qm || die "failed to install ${X} translation"
+ fi
+ done
+ done
+}