diff options
author | Markos Chandras <hwoarang@gentoo.org> | 2012-05-27 09:50:31 +0000 |
---|---|---|
committer | Markos Chandras <hwoarang@gentoo.org> | 2012-05-27 09:50:31 +0000 |
commit | ef6d2817e497b17cb0def4856697849c608996b6 (patch) | |
tree | d1267d1e1c706a12775163330cd5d679eb1f831a /sci-electronics | |
parent | Mask sci-electrotech-0.3 alpha release (diff) | |
download | gentoo-2-ef6d2817e497b17cb0def4856697849c608996b6.tar.gz gentoo-2-ef6d2817e497b17cb0def4856697849c608996b6.tar.bz2 gentoo-2-ef6d2817e497b17cb0def4856697849c608996b6.zip |
Version bump
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics')
3 files changed, 101 insertions, 2 deletions
diff --git a/sci-electronics/qelectrotech/ChangeLog b/sci-electronics/qelectrotech/ChangeLog index b8bb4e9e4e6e..990a077a3f89 100644 --- a/sci-electronics/qelectrotech/ChangeLog +++ b/sci-electronics/qelectrotech/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-electronics/qelectrotech -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/ChangeLog,v 1.8 2010/06/25 22:13:28 hwoarang Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-electronics/qelectrotech/ChangeLog,v 1.9 2012/05/27 09:50:31 hwoarang Exp $ + +*qelectrotech-0.30_alpha (27 May 2012) + + 27 May 2012; Markos Chandras <hwoarang@gentoo.org> + +files/qelectrotech-0.3-fix-paths.patch, +qelectrotech-0.30_alpha.ebuild: + Version bump 25 Jun 2010; Markos Chandras <hwoarang@gentoo.org> -qelectrotech-0.2-r1.ebuild, -qelectrotech-0.21.ebuild: diff --git a/sci-electronics/qelectrotech/files/qelectrotech-0.3-fix-paths.patch b/sci-electronics/qelectrotech/files/qelectrotech-0.3-fix-paths.patch new file mode 100644 index 000000000000..6b282f1a4547 --- /dev/null +++ b/sci-electronics/qelectrotech/files/qelectrotech-0.3-fix-paths.patch @@ -0,0 +1,50 @@ +Index: qelectrotech-0.3a-src/qelectrotech.pro +=================================================================== +--- qelectrotech-0.3a-src.orig/qelectrotech.pro ++++ qelectrotech-0.3a-src/qelectrotech.pro +@@ -5,20 +5,20 @@ + # Chemins utilises pour la compilation et l'installation de QET + unix { + # Chemins UNIX +- COMPIL_PREFIX = '/usr/local/' +- INSTALL_PREFIX = '/usr/local/' ++ COMPIL_PREFIX = '/usr/' ++ INSTALL_PREFIX = '/usr/' + QET_BINARY_PATH = 'bin/' + QET_COMMON_COLLECTION_PATH = 'share/qelectrotech/elements/' + QET_COMMON_TBT_PATH = 'share/qelectrotech/titleblocks/' + QET_LANG_PATH = 'share/qelectrotech/lang/' + QET_EXAMPLES_PATH = 'share/qelectrotech/examples/' + QET_LICENSE_PATH = 'doc/qelectrotech/' +- QET_MIME_XML_PATH = '../share/mime/application/' +- QET_MIME_DESKTOP_PATH = '../share/mimelnk/application/' +- QET_MIME_PACKAGE_PATH = '../share/mime/packages/' ++ QET_MIME_XML_PATH = 'share/mime/application/' ++ QET_MIME_DESKTOP_PATH = 'share/mimelnk/application/' ++ QET_MIME_PACKAGE_PATH = 'share/mime/packages/' + QET_DESKTOP_PATH = 'share/applications/' + QET_ICONS_PATH = 'share/icons/hicolor/' +- QET_MAN_PATH = 'man/' ++ QET_MAN_PATH = 'share/man/' + } + win32 { + # Chemins Windows +@@ -102,9 +102,6 @@ lang.files = $$replace(TRANSLATI + examples.path = $$join(INSTALL_PREFIX,,,$${QET_EXAMPLES_PATH}) + examples.files = examples/* + +-copyright.path = $$join(INSTALL_PREFIX,,,$${QET_LICENSE_PATH}) +-copyright.files = LICENSE ELEMENTS.LICENSE CREDIT README ChangeLog +- + 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/* + 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 +-INSTALLS += target elements tbt lang copyright ++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 diff --git a/sci-electronics/qelectrotech/qelectrotech-0.30_alpha.ebuild b/sci-electronics/qelectrotech/qelectrotech-0.30_alpha.ebuild new file mode 100644 index 000000000000..2934ed1ba1cf --- /dev/null +++ b/sci-electronics/qelectrotech/qelectrotech-0.30_alpha.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 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.1 2012/05/27 09:50:31 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="x11-libs/qt-gui:4 + x11-libs/qt-svg: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 +} |