summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Ulyanov (Displacer) <disinbox@gmail.com>2011-04-21 12:31:57 +0000
committerIgor Ulyanov (Displacer) <disinbox@gmail.com>2011-04-21 12:31:57 +0000
commit082c7a27ca5957289c1753da45d8d20933341085 (patch)
tree0b1290b21fa61920dac909d4b9aa7d9914120968 /dev-libs
parentx11-plugins/pidgin-gfire: Version bump: Added patches for >=libnotify-0.7 sup... (diff)
downloadsunrise-082c7a27ca5957289c1753da45d8d20933341085.tar.gz
sunrise-082c7a27ca5957289c1753da45d8d20933341085.tar.bz2
sunrise-082c7a27ca5957289c1753da45d8d20933341085.zip
dev-libs/qextserialport: New Ebuild for bug 364227. Thanks to chithead.
svn path=/sunrise/; revision=11903
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/qextserialport/ChangeLog9
-rw-r--r--dev-libs/qextserialport/Manifest5
-rw-r--r--dev-libs/qextserialport/files/qextserialport-1.1-install.patch17
-rw-r--r--dev-libs/qextserialport/metadata.xml6
-rw-r--r--dev-libs/qextserialport/qextserialport-1.1.ebuild33
5 files changed, 70 insertions, 0 deletions
diff --git a/dev-libs/qextserialport/ChangeLog b/dev-libs/qextserialport/ChangeLog
new file mode 100644
index 000000000..f52dde14b
--- /dev/null
+++ b/dev-libs/qextserialport/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-libs/qextserialport
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 21 Apr 2011; Igor Ulyanov (Displacer) <disinbox@gmail.com>
+ +qextserialport-1.1.ebuild, +files/qextserialport-1.1-install.patch,
+ +metadata.xml:
+ New Ebuild for bug 364227. Thanks to chithead.
+
diff --git a/dev-libs/qextserialport/Manifest b/dev-libs/qextserialport/Manifest
new file mode 100644
index 000000000..a3d0e4524
--- /dev/null
+++ b/dev-libs/qextserialport/Manifest
@@ -0,0 +1,5 @@
+AUX qextserialport-1.1-install.patch 665 RMD160 cc37300cef291b44c9b96aa4f9a2f76f5e6f75fa SHA1 fe9fa8ac6a08b42280d4fee9c24848fc1a7f2c43 SHA256 1483e5766eae72437ad0d1baa585f9565d137ba8d87df1cb4ea4c0098ef6795d
+DIST qextserialport-1.1.tar.gz 194209 RMD160 7f0b8bce14106f15d29d18fe96695246d40e6acf SHA1 ec252d6370c38544aec8fd30ad643a9f616d5225 SHA256 f72d12e7fe12071511f50765a5835e1a888e9684cf165a6e5d904393f00e6a6b
+EBUILD qextserialport-1.1.ebuild 640 RMD160 52f5f8f75c37f069a5b43ec0b40a85637366cf13 SHA1 71e09974a10c96b47098fe96d58e8463d304eed0 SHA256 8a21bcb2d279db72020a42107dc9eadb72fa69469906d3ba82c5490b889450a0
+MISC ChangeLog 323 RMD160 00801a6f7689661022a96b717d8a3b7dcf2a15b7 SHA1 dde9125c6298ecffd90a97a1f4fc64cad0045416 SHA256 92ecea0a78ff73f42dfd4d051c256a862c86a78115f1bbb3957aa0a23df1beb7
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/dev-libs/qextserialport/files/qextserialport-1.1-install.patch b/dev-libs/qextserialport/files/qextserialport-1.1-install.patch
new file mode 100644
index 000000000..7fabfc54f
--- /dev/null
+++ b/dev-libs/qextserialport/files/qextserialport-1.1-install.patch
@@ -0,0 +1,17 @@
+diff -rup qextserialport//qextserialport.pro qextserialport_//qextserialport.pro
+--- qextserialport//qextserialport.pro 2005-10-15 16:45:16.000000000 +0400
++++ qextserialport_//qextserialport.pro 2011-04-19 11:24:51.097004609 +0400
+@@ -25,6 +25,12 @@ win32:HEADERS += win_qextserial
+ win32:SOURCES += win_qextserialport.cpp
+ win32:DEFINES += _TTY_WIN_
+
+-DESTDIR = build
+ TARGET = qextserialport
+ unix:VERSION = 1.0.0
++
++INSTALLBASE = /usr
++target.path = $$INSTALLBASE/lib
++headers.path = $$INSTALLBASE/include
++headers.files = $$HEADERS
++
++INSTALLS += target headers
diff --git a/dev-libs/qextserialport/metadata.xml b/dev-libs/qextserialport/metadata.xml
new file mode 100644
index 000000000..e6233b5dc
--- /dev/null
+++ b/dev-libs/qextserialport/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/dev-libs/qextserialport/qextserialport-1.1.ebuild b/dev-libs/qextserialport/qextserialport-1.1.ebuild
new file mode 100644
index 000000000..d24b0c0ad
--- /dev/null
+++ b/dev-libs/qextserialport/qextserialport-1.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2011-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+inherit qt4-r2
+
+DESCRIPTION="cross-platform serial port class"
+HOMEPAGE="http://code.google.com/p/qextserialport/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="x11-libs/qt-core:4"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-install.patch"
+)
+
+src_configure() {
+ eqmake4 "${S}"/qextserialport/qextserialport.pro
+}
+
+src_install() {
+ qt4-r2_src_install
+ if use doc ; then
+ dohtml -r "${S}"/qextserialport/html/* || die
+ fi
+}