summaryrefslogtreecommitdiff
path: root/dev-qt
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2013-09-04 14:34:43 +0000
committerMichael Palimaka <kensington@gentoo.org>2013-09-04 14:34:43 +0000
commit43f1d5604174865fcf57b5eaf4a25faeac0e1926 (patch)
tree86ec1fdced21166cddac5ec86bc7791f0caba936 /dev-qt
parentVersion bump. (diff)
downloadgentoo-2-43f1d5604174865fcf57b5eaf4a25faeac0e1926.tar.gz
gentoo-2-43f1d5604174865fcf57b5eaf4a25faeac0e1926.tar.bz2
gentoo-2-43f1d5604174865fcf57b5eaf4a25faeac0e1926.zip
New package wrt bug #441914.
(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'dev-qt')
-rw-r--r--dev-qt/qtlockedfile/ChangeLog11
-rw-r--r--dev-qt/qtlockedfile/Manifest7
-rw-r--r--dev-qt/qtlockedfile/files/qtlockedfile-2.4.1-depend.patch16
-rw-r--r--dev-qt/qtlockedfile/files/qtlockedfile-2.4.1-examples.patch12
-rw-r--r--dev-qt/qtlockedfile/files/qtlockedfile.prf3
-rw-r--r--dev-qt/qtlockedfile/metadata.xml5
-rw-r--r--dev-qt/qtlockedfile/qtlockedfile-2.4.1.ebuild49
7 files changed, 103 insertions, 0 deletions
diff --git a/dev-qt/qtlockedfile/ChangeLog b/dev-qt/qtlockedfile/ChangeLog
new file mode 100644
index 000000000000..5adfb39ea937
--- /dev/null
+++ b/dev-qt/qtlockedfile/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-qt/qtlockedfile
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtlockedfile/ChangeLog,v 1.1 2013/09/04 14:34:43 kensington Exp $
+
+*qtlockedfile-2.4.1 (04 Sep 2013)
+
+ 04 Sep 2013; Michael Palimaka <kensington@gentoo.org>
+ +files/qtlockedfile-2.4.1-depend.patch,
+ +files/qtlockedfile-2.4.1-examples.patch, +files/qtlockedfile.prf,
+ +metadata.xml, +qtlockedfile-2.4.1.ebuild:
+ New package wrt bug #441914.
diff --git a/dev-qt/qtlockedfile/Manifest b/dev-qt/qtlockedfile/Manifest
new file mode 100644
index 000000000000..46298d178ba0
--- /dev/null
+++ b/dev-qt/qtlockedfile/Manifest
@@ -0,0 +1,7 @@
+AUX qtlockedfile-2.4.1-depend.patch 649 SHA256 44371eb1f8a6322c37652d5495f91bb21d33940b0315a7a62e8c6dbb03144f99 SHA512 4d09ef2e63eb1a11f4bbc0d34ebeb03cfb39e6acacf88ab5dfb4f4f63747df280414b71f8b2bd1236da30da9e53464a4f2a29b8f8de61baed377ca22d2f27b96 WHIRLPOOL 22322d9059498b1ff94d2e54dd783893b74069cc09c1e6400d074cb9b5d8af2da293b933db1c35e7a08dd212a6c1ae52ecb1e2a37eaf36c6399b0435fc508ecf
+AUX qtlockedfile-2.4.1-examples.patch 545 SHA256 a61b59b10b6b04595056e171c74b7e92dad11588d620233e6116ba6825ac8aaa SHA512 b61b1402c8540aa60197ca1fb9cf7d3d01247ad6988140006ea5fc6263958b6df4dfebb78ba9beb94ff697ea9fdce49fc85996e0e16e9f61bf2147cb3b1b7f2f WHIRLPOOL 16b41e290ef25843e5c052d5f52de5a8469f8ca9354df195050dc0172fe63ce76dee4e049af673a11f633bf03f3181154de3a5bb4e1a62ea312c6108d30aff21
+AUX qtlockedfile.prf 127 SHA256 6e7023bee801fe58a477b37223ed484763f6e429713b67376c414884fbcd9351 SHA512 c0c2d30c6c598ab5b8f52985df6cbf60199391dd1a43114a26c42c2fd13faeecd65f289433594ceda7dd7ed28925b00f1205ae0cb5d324859dcef2c152a3d075 WHIRLPOOL 971c8d4eec4af74cb0fc79f3c56f9a4a587d9d2509245a0e2eeeb767ac42af7491fa7fdf58cbd16bdb6f75e3fe0c8aea9e8f900afca7243ad5d0fc1726539376
+DIST qtlockedfile-2.4_1-opensource.tar.gz 54189 SHA256 ecfa6dea063e1e11716b5cb1ae1b00f4a71e4f0394ee119e607a4bf32280ca1e SHA512 95c1081ee75382c73d9789c7098083a9288d8ebf6ad4e71994f8ca578854dc15a9f84d212be98e72843d95d0697c841094bddb6da99cbe51538c19a226e1979a WHIRLPOOL 8e173360426a52edaaaff92f0f10241a1c30350fc66a06b21d9b97cb2f257c1d69943794605b88256e908e922f4598f2b952ddd4b981c3b3779372ba06d7b4ce
+EBUILD qtlockedfile-2.4.1.ebuild 1013 SHA256 ad930f28d2f6057f9680499edf05cf0e044df17ee445d7d699438fceb1bf0aad SHA512 808cb087f3b0c86ad9ee113e898469ee67795974e9654a3f767a8a7d4a9ec217382dc9eb33d550219e67870ba8a11196d0a4003d16033d0d9e49710b6303f39a WHIRLPOOL f52b26820df9b59f19ee5b002db2ff82c282f4c22d07fdbed8b7ea7494202f1b268f7f00982dc1ab0f57e4f295b45c9b753851e77914f200338dacfad9c153ee
+MISC ChangeLog 398 SHA256 7195ee1a4a5b84913b5dfa9f975fcddaeec6a592110d9a164a1efdf4593a38c8 SHA512 2f93c27e321e922f4ad9bb0f72d291fd83a54e59f76089375fd836e7e89bfd564fd54f00c91f3c2881f3cfc30ddaada97958d668e097d56a1afba5ebdca6e4b0 WHIRLPOOL fbd4302d2a64acee67746099143092dab4c5b54c23d5de498d2bdf733bb1ed9d2840a1690347a907bb0f1499b35f504910fc0bdcac198525db16e80a64eeed97
+MISC metadata.xml 156 SHA256 2bc85ad7339ae0191c26e435f2da777058779a7ebf73d14658a6ea7bfcec01b2 SHA512 d9991797d488000e1b306b9d97982fb862fbb44d72d4f7560e3ab12ba2022a7abdd3a71bd971a18f562edefc6948e5d5db0972425f7ebe7208696678f1c17b45 WHIRLPOOL aa1bf1df6e2bb4c13c1eae59bfa12dcfe4b81794562c52538f037c75d706f415fed1acc302501cd5f3017b13c910cadbbb9b823a0625cd3b64b29b860259492e
diff --git a/dev-qt/qtlockedfile/files/qtlockedfile-2.4.1-depend.patch b/dev-qt/qtlockedfile/files/qtlockedfile-2.4.1-depend.patch
new file mode 100644
index 000000000000..85d3e70ca036
--- /dev/null
+++ b/dev-qt/qtlockedfile/files/qtlockedfile-2.4.1-depend.patch
@@ -0,0 +1,16 @@
+Removes an unused dependency.
+
+Source: http://pkgs.fedoraproject.org/cgit/qtlockedfile.git/tree/qtlockedfile-dont-link-qtgui.patch
+
+diff -rupN qtlockedfile-2.4_1-opensource.old/src/qtlockedfile.pri qtlockedfile-2.4_1-opensource/src/qtlockedfile.pri
+--- qtlockedfile-2.4_1-opensource.old/src/qtlockedfile.pri 2009-12-16 05:41:13.000000000 -0500
++++ qtlockedfile-2.4_1-opensource/src/qtlockedfile.pri 2010-04-16 22:00:52.000000000 -0400
+@@ -1,7 +1,7 @@
+ include(../common.pri)
+ INCLUDEPATH += $$PWD
+ DEPENDPATH += $$PWD
+-
++QT -= gui
+ qtlockedfile-uselib:!qtlockedfile-buildlib {
+ LIBS += -L$$QTLOCKEDFILE_LIBDIR -l$$QTLOCKEDFILE_LIBNAME
+ } else {
diff --git a/dev-qt/qtlockedfile/files/qtlockedfile-2.4.1-examples.patch b/dev-qt/qtlockedfile/files/qtlockedfile-2.4.1-examples.patch
new file mode 100644
index 000000000000..4a8c075209c0
--- /dev/null
+++ b/dev-qt/qtlockedfile/files/qtlockedfile-2.4.1-examples.patch
@@ -0,0 +1,12 @@
+Do not build examples.
+
+Source: http://pkgs.fedoraproject.org/cgit/qtlockedfile.git/plain/qtlockedfile-dont-build-example.patch
+
+diff -rupN qtlockedfile-2.4_1-opensource.old/qtlockedfile.pro qtlockedfile-2.4_1-opensource/qtlockedfile.pro
+--- qtlockedfile-2.4_1-opensource.old/qtlockedfile.pro 2009-12-16 05:41:13.000000000 -0500
++++ qtlockedfile-2.4_1-opensource/qtlockedfile.pro 2010-04-15 19:53:40.000000000 -0400
+@@ -2,4 +2,3 @@ TEMPLATE=subdirs
+ CONFIG += ordered
+ include(common.pri)
+ qtlockedfile-uselib:SUBDIRS=buildlib
+-SUBDIRS+=example
diff --git a/dev-qt/qtlockedfile/files/qtlockedfile.prf b/dev-qt/qtlockedfile/files/qtlockedfile.prf
new file mode 100644
index 000000000000..970db04e7fe8
--- /dev/null
+++ b/dev-qt/qtlockedfile/files/qtlockedfile.prf
@@ -0,0 +1,3 @@
+INCLUDEPATH *= $$QMAKE_INCDIR_QT/QtSolutions
+DEPENDPATH *= $$QMAKE_INCDIR_QT/QtSolutions
+LIBS *= -lQtSolutions_LockedFile-2.4
diff --git a/dev-qt/qtlockedfile/metadata.xml b/dev-qt/qtlockedfile/metadata.xml
new file mode 100644
index 000000000000..ab02f994fdd2
--- /dev/null
+++ b/dev-qt/qtlockedfile/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/dev-qt/qtlockedfile/qtlockedfile-2.4.1.ebuild b/dev-qt/qtlockedfile/qtlockedfile-2.4.1.ebuild
new file mode 100644
index 000000000000..fbdb4073a695
--- /dev/null
+++ b/dev-qt/qtlockedfile/qtlockedfile-2.4.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtlockedfile/qtlockedfile-2.4.1.ebuild,v 1.1 2013/09/04 14:34:43 kensington Exp $
+
+EAPI=5
+
+inherit eutils multilib qt4-r2 versionator
+
+MY_P="${PN}-$(replace_version_separator 2 _)-opensource"
+
+DESCRIPTION="QFile extension with advisory locking functions"
+HOMEPAGE="http://doc.qt.digia.com/solutions/4/qtlockedfile/index.html"
+SRC_URI="http://dev.gentoo.org/~kensington/distfiles/${MY_P}.tar.gz"
+
+LICENSE="|| ( LGPL-2.1 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND="dev-qt/qtcore:4"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}/${P}-depend.patch"
+ "${FILESDIR}/${P}-examples.patch"
+)
+
+src_configure() {
+ eqmake4 CONFIG+=qtlockedfile-uselib
+}
+
+src_install() {
+ dodoc README.TXT
+
+ dolib.so lib/*
+ insinto /usr/include/qt4/QtSolutions/
+ doins src/QtLockedFile src/${PN}.h
+
+ insinto /usr/share/qt4/mkspecs/features/
+ doins "${FILESDIR}/${PN}.prf"
+
+ if use doc ; then
+ dodoc -r example
+ dodoc doc/index.qdoc
+ dohtml -r doc/html/ doc/images
+ fi
+}