diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2009-12-15 21:20:38 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2009-12-15 21:20:38 +0000 |
commit | 007b862400b81bf395b22cae22c80214e717cb99 (patch) | |
tree | f6c391cd09b55a47e8a7f7ac59280b0d659f3081 /net-ftp | |
parent | Fix broken manifest for 3.12.5 (diff) | |
download | gentoo-2-007b862400b81bf395b22cae22c80214e717cb99.tar.gz gentoo-2-007b862400b81bf395b22cae22c80214e717cb99.tar.bz2 gentoo-2-007b862400b81bf395b22cae22c80214e717cb99.zip |
Initial commit of qshare application
(Portage version: 2.2_rc59/cvs/Linux x86_64)
Diffstat (limited to 'net-ftp')
-rw-r--r-- | net-ftp/qshare/ChangeLog | 9 | ||||
-rw-r--r-- | net-ftp/qshare/metadata.xml | 12 | ||||
-rw-r--r-- | net-ftp/qshare/qshare-0.9.ebuild | 46 |
3 files changed, 67 insertions, 0 deletions
diff --git a/net-ftp/qshare/ChangeLog b/net-ftp/qshare/ChangeLog new file mode 100644 index 000000000000..702c5462ae62 --- /dev/null +++ b/net-ftp/qshare/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for net-ftp/qshare +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/qshare/ChangeLog,v 1.1 2009/12/15 21:20:38 hwoarang Exp $ + +*qshare-0.9 (15 Dec 2009) + + 15 Dec 2009; <hwoarang@gentoo.org> +qshare-0.9.ebuild, +metadata.xml: + Initial commit of qshare application + diff --git a/net-ftp/qshare/metadata.xml b/net-ftp/qshare/metadata.xml new file mode 100644 index 000000000000..d5f9562e2df2 --- /dev/null +++ b/net-ftp/qshare/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>qt</herd> +<maintainer> +<email>hwoarang@gentoo.org</email> +<name>Markos Chandras</name> +</maintainer> +<longdescription lang="en"> +</longdescription> +</pkgmetadata> + diff --git a/net-ftp/qshare/qshare-0.9.ebuild b/net-ftp/qshare/qshare-0.9.ebuild new file mode 100644 index 000000000000..c419db81bbed --- /dev/null +++ b/net-ftp/qshare/qshare-0.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-ftp/qshare/qshare-0.9.ebuild,v 1.1 2009/12/15 21:20:38 hwoarang Exp $ + +EAPI="2" + +LANGS="en fr" + +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.7z" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND="x11-libs/qt-gui:4[debug?]" +DEPEND="${RDEPEND} + app-arch/p7zip" + +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}.png "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 +} |