summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-electronics/qelectrotech
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-electronics/qelectrotech')
-rw-r--r--sci-electronics/qelectrotech/Manifest1
-rw-r--r--sci-electronics/qelectrotech/files/qelectrotech-0.3-fix-paths.patch49
-rw-r--r--sci-electronics/qelectrotech/metadata.xml5
-rw-r--r--sci-electronics/qelectrotech/qelectrotech-0.30.ebuild56
-rw-r--r--sci-electronics/qelectrotech/qelectrotech-9999.ebuild52
5 files changed, 163 insertions, 0 deletions
diff --git a/sci-electronics/qelectrotech/Manifest b/sci-electronics/qelectrotech/Manifest
new file mode 100644
index 00000000000..d4f1085acbc
--- /dev/null
+++ b/sci-electronics/qelectrotech/Manifest
@@ -0,0 +1 @@
+DIST qelectrotech-0.3-src.tar.gz 4600831 SHA256 9a699c724800466ad7d0dd0e60099fe1ceea7665d93d6d0ff27daddeac251c00 SHA512 3676a17e04cffc10c82c7d3eaf65fdc7d2a4875761d99726c5cc8f5c1aa2dbd0699a95090d52e7507f4f1b5916c7301e7a931b2aea4b49812a4a0b3011f2f2a2 WHIRLPOOL f1b8acbefdbc1f87d5b9dbe78d5e0dd825841cfc90fd66b5713b41cc1147eb86b01a1f9ef3da80218bc8dc7cd474e02a21a828d526dcef22c17046163697de66
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 00000000000..c55c19ce5d2
--- /dev/null
+++ b/sci-electronics/qelectrotech/files/qelectrotech-0.3-fix-paths.patch
@@ -0,0 +1,49 @@
+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 {
+ # 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/'
+ QET_APPDATA_PATH = 'share/appdata'
+ }
+ win32 {
+@@ -108,9 +108,6 @@
+ 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
+
+@@ -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
+-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 appdata
diff --git a/sci-electronics/qelectrotech/metadata.xml b/sci-electronics/qelectrotech/metadata.xml
new file mode 100644
index 00000000000..dc439f7e84f
--- /dev/null
+++ b/sci-electronics/qelectrotech/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>qt</herd>
+</pkgmetadata>
diff --git a/sci-electronics/qelectrotech/qelectrotech-0.30.ebuild b/sci-electronics/qelectrotech/qelectrotech-0.30.ebuild
new file mode 100644
index 00000000000..e4bac2177e2
--- /dev/null
+++ b/sci-electronics/qelectrotech/qelectrotech-0.30.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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/designer:4
+ 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
+ dodoc -r doc/html
+ fi
+}
diff --git a/sci-electronics/qelectrotech/qelectrotech-9999.ebuild b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
new file mode 100644
index 00000000000..8f2f239991b
--- /dev/null
+++ b/sci-electronics/qelectrotech/qelectrotech-9999.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PLOCALES="cs de el en es fr it pl pt ro ru"
+
+inherit l10n qt4-r2 subversion
+
+DESCRIPTION="Qt4 application to design electric diagrams"
+HOMEPAGE="http://qelectrotech.org/"
+ESVN_REPO_URI="svn://svn.tuxfamily.org/svnroot/qet/qet/trunk"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+
+IUSE="doc"
+
+RDEPEND="
+ dev-qt/designer:4
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtsql:4[sqlite]
+ dev-qt/qtsvg:4
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+"
+
+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
+ dodoc -r doc/html
+ fi
+}