diff options
author | Davide Pesavento <pesa@gentoo.org> | 2013-12-22 16:56:39 +0000 |
---|---|---|
committer | Davide Pesavento <pesa@gentoo.org> | 2013-12-22 16:56:39 +0000 |
commit | 654505e735a93c795b2fd03b1f734eb1aa9f2f19 (patch) | |
tree | 4f0c6b9158d1a9b99ae7ed81a89ec591a52cc1cf /sci-electronics | |
parent | Version bump. Depend on dev-libs/snowball-stemmer instead of compiling the li... (diff) | |
download | gentoo-2-654505e735a93c795b2fd03b1f734eb1aa9f2f19.tar.gz gentoo-2-654505e735a93c795b2fd03b1f734eb1aa9f2f19.tar.bz2 gentoo-2-654505e735a93c795b2fd03b1f734eb1aa9f2f19.zip |
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 17A85C72)
Diffstat (limited to 'sci-electronics')
5 files changed, 70 insertions, 55 deletions
diff --git a/sci-electronics/qelectrotech/ChangeLog b/sci-electronics/qelectrotech/ChangeLog index 6768f317a3b0..08b7654abc8b 100644 --- a/sci-electronics/qelectrotech/ChangeLog +++ b/sci-electronics/qelectrotech/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-electronics/qelectrotech # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/ChangeLog,v 1.12 2013/06/23 09:11:05 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/ChangeLog,v 1.13 2013/12/22 16:56:39 pesa Exp $ + +*qelectrotech-0.30 (22 Dec 2013) + + 22 Dec 2013; Davide Pesavento <pesa@gentoo.org> +qelectrotech-0.30.ebuild, + -qelectrotech-0.30_alpha.ebuild, files/qelectrotech-0.3-fix-paths.patch, + metadata.xml: + Version bump. 23 Jun 2013; Markos Chandras <hwoarang@gentoo.org> metadata.xml: remove myself from metadata diff --git a/sci-electronics/qelectrotech/files/qelectrotech-0.3-fix-paths.patch b/sci-electronics/qelectrotech/files/qelectrotech-0.3-fix-paths.patch index 6b282f1a4547..c55c19ce5d29 100644 --- a/sci-electronics/qelectrotech/files/qelectrotech-0.3-fix-paths.patch +++ b/sci-electronics/qelectrotech/files/qelectrotech-0.3-fix-paths.patch @@ -1,7 +1,6 @@ -Index: qelectrotech-0.3a-src/qelectrotech.pro -=================================================================== ---- qelectrotech-0.3a-src.orig/qelectrotech.pro -+++ qelectrotech-0.3a-src/qelectrotech.pro +diff -Naur qelectrotech-0.3-src.orig/qelectrotech.pro qelectrotech-0.3-src/qelectrotech.pro +--- qelectrotech-0.3-src.orig/qelectrotech.pro 2013-12-22 17:27:31.919047334 +0100 ++++ qelectrotech-0.3-src/qelectrotech.pro 2013-12-22 17:29:28.576908241 +0100 @@ -5,20 +5,20 @@ # Chemins utilises pour la compilation et l'installation de QET unix { @@ -26,10 +25,10 @@ Index: qelectrotech-0.3a-src/qelectrotech.pro QET_ICONS_PATH = 'share/icons/hicolor/' - QET_MAN_PATH = 'man/' + QET_MAN_PATH = 'share/man/' + QET_APPDATA_PATH = 'share/appdata' } win32 { - # Chemins Windows -@@ -102,9 +102,6 @@ lang.files = $$replace(TRANSLATI +@@ -108,9 +108,6 @@ examples.path = $$join(INSTALL_PREFIX,,,$${QET_EXAMPLES_PATH}) examples.files = examples/* @@ -39,7 +38,7 @@ Index: qelectrotech-0.3a-src/qelectrotech.pro mime_xml.path = $$join(INSTALL_PREFIX,,,$${QET_MIME_XML_PATH}) mime_xml.files = misc/x-qet-*.xml -@@ -131,7 +128,7 @@ man.files = man/files/* +@@ -140,7 +137,7 @@ man.extra = sh man/compress_man_pages.sh # L'installation comprend la copie du binaire, des elements, des fichiers de langue et du fichier LICENSE @@ -47,4 +46,4 @@ Index: qelectrotech-0.3a-src/qelectrotech.pro +INSTALLS += target elements tbt lang # Sous Unix, on installe egalement l'icone, un fichier .desktop, des fichiers mime et les pages de manuel unix { - INSTALLS += desktop mime_xml mime_desktop mime_package icons man examples + INSTALLS += desktop mime_xml mime_desktop mime_package icons man examples appdata diff --git a/sci-electronics/qelectrotech/metadata.xml b/sci-electronics/qelectrotech/metadata.xml index 1d7818888617..dc439f7e84f5 100644 --- a/sci-electronics/qelectrotech/metadata.xml +++ b/sci-electronics/qelectrotech/metadata.xml @@ -2,7 +2,4 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>qt</herd> -<longdescription lang="en"> -</longdescription> </pkgmetadata> - diff --git a/sci-electronics/qelectrotech/qelectrotech-0.30.ebuild b/sci-electronics/qelectrotech/qelectrotech-0.30.ebuild new file mode 100644 index 000000000000..01a469559fbb --- /dev/null +++ b/sci-electronics/qelectrotech/qelectrotech-0.30.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/qelectrotech-0.30.ebuild,v 1.1 2013/12/22 16:56:39 pesa Exp $ + +EAPI=5 +PLOCALES="cs de el en es fr it pl pt ro ru" + +inherit l10n qt4-r2 + +MY_P=${PN}-${PV%0}-src + +DESCRIPTION="Qt4 application to design electric diagrams" +HOMEPAGE="http://qelectrotech.org/" +SRC_URI="http://download.tuxfamily.org/qet/tags/20130928/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="doc" + +RDEPEND=" + dev-qt/qtcore:4 + dev-qt/qtgui:4 + dev-qt/qtsql:4[sqlite] + dev-qt/qtsvg:4 +" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) +" + +S=${WORKDIR}/${MY_P} + +DOCS=(CREDIT ChangeLog README) +PATCHES=( + "${FILESDIR}/${PN}-0.3-fix-paths.patch" +) + +qet_disable_translation() { + sed -i -e "/TRANSLATIONS +=/s: lang/qet_${1}.ts::" ${PN}.pro || die +} + +src_prepare() { + qt4-r2_src_prepare + l10n_for_each_disabled_locale_do qet_disable_translation +} + +src_install() { + qt4-r2_src_install + + if use doc; then + doxygen Doxyfile || die + dohtml -r doc/html/* + fi +} diff --git a/sci-electronics/qelectrotech/qelectrotech-0.30_alpha.ebuild b/sci-electronics/qelectrotech/qelectrotech-0.30_alpha.ebuild deleted file mode 100644 index 3979c313c6d1..000000000000 --- a/sci-electronics/qelectrotech/qelectrotech-0.30_alpha.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/qelectrotech-0.30_alpha.ebuild,v 1.2 2013/03/02 23:20:02 hwoarang Exp $ - -EAPI="4" - -LANGS="ar ca cs de en es fr hr it pl pt ro ru sl" -inherit qt4-r2 versionator - -MY_PV="${PV/_alpha/a}" -MY_P="${PN}-${MY_PV/30a/3a}-src" - -DESCRIPTION="Qt4 application to design electric diagrams" -HOMEPAGE="http://www.qt-apps.org/content/show.php?content=90198" -SRC_URI="http://download.tuxfamily.org/qet/tags/20120513/${MY_P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="debug doc" - -RDEPEND="dev-qt/qtgui:4 - dev-qt/qtsvg:4" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -S="${WORKDIR}"/${MY_P} -DOCS="CREDIT ChangeLog README" - -PATCHES=( "${FILESDIR}/${PN}-0.3-fix-paths.patch" ) - -src_install() { - qt4-r2_src_install - if use doc; then - doxygen Doxyfile || die - dohtml -r doc/html/* - fi - for x in ${LANGS}; do - if ! has ${x} ${LINGUAS}; then - find "${D}"/usr/share/${PN}/lang/ -name "*${x}*" -exec rm {} \; - fi - done -} |