Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ros/qt_gui_cpp/files/, dev-ros/qt_gui_cpp/
Date: Wed, 23 Sep 2015 10:12:40
Message-Id: 1443003127.eb8c87cd0e31ac7b1472e39da8b264c7dc6c9d1b.aballier@gentoo
1 commit: eb8c87cd0e31ac7b1472e39da8b264c7dc6c9d1b
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 23 10:03:26 2015 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 23 10:12:07 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb8c87cd
7
8 dev-ros/qt_gui_cpp: Initial import. Ebuild by me.
9
10 Package-Manager: portage-2.2.21
11
12 dev-ros/qt_gui_cpp/Manifest | 1 +
13 dev-ros/qt_gui_cpp/files/libdir.patch | 15 ++++++++++++++
14 dev-ros/qt_gui_cpp/metadata.xml | 5 +++++
15 dev-ros/qt_gui_cpp/qt_gui_cpp-0.2.29.ebuild | 32 +++++++++++++++++++++++++++++
16 dev-ros/qt_gui_cpp/qt_gui_cpp-9999.ebuild | 32 +++++++++++++++++++++++++++++
17 5 files changed, 85 insertions(+)
18
19 diff --git a/dev-ros/qt_gui_cpp/Manifest b/dev-ros/qt_gui_cpp/Manifest
20 new file mode 100644
21 index 0000000..85ca418
22 --- /dev/null
23 +++ b/dev-ros/qt_gui_cpp/Manifest
24 @@ -0,0 +1 @@
25 +DIST qt_gui_core-0.2.29.tar.gz 85881 SHA256 7c51b4fd7e795e37e3f8a4b691a5e520466105fdddbc85e194c10c608fe7448c SHA512 958526a3bd76070e121d75a82c589894aef980870091cb853802fcb60328b54cbc95ee0c9eececa18e24608808cca2c722c5699b662c2a578f150995171d71db WHIRLPOOL f83328ce59fd9cd8db5a066f1a2a93bde54b28268891b18cf73b31d5584b0dc7f932350a39e729c97be3bc3b6780422dd2538321f29b0acd13d06387e0054975
26
27 diff --git a/dev-ros/qt_gui_cpp/files/libdir.patch b/dev-ros/qt_gui_cpp/files/libdir.patch
28 new file mode 100644
29 index 0000000..8c22eed
30 --- /dev/null
31 +++ b/dev-ros/qt_gui_cpp/files/libdir.patch
32 @@ -0,0 +1,15 @@
33 +Index: qt_gui_core-0.2.26/qt_gui_cpp/src/qt_gui_cpp_sip/CMakeLists.txt
34 +===================================================================
35 +--- qt_gui_core-0.2.26.orig/qt_gui_cpp/src/qt_gui_cpp_sip/CMakeLists.txt
36 ++++ qt_gui_core-0.2.26/qt_gui_cpp/src/qt_gui_cpp_sip/CMakeLists.txt
37 +@@ -29,8 +29,8 @@ set(qt_gui_cpp_sip_DEPENDENT_FILES
38 + # maintain context for different named target
39 + set(qt_gui_cpp_sip_INCLUDE_DIRS ${qt_gui_cpp_INCLUDE_DIRS} "${CMAKE_CURRENT_SOURCE_DIR}/../../include" ${catkin_INCLUDE_DIRS})
40 + set(qt_gui_cpp_sip_LIBRARIES ${qt_gui_cpp_LIBRARIES} ${PROJECT_NAME} ${catkin_LIBRARIES} ${Boost_LIBRARIES})
41 +-set(qt_gui_cpp_sip_LIBRARY_DIRS ${qt_gui_cpp_LIBRARY_DIRS} ${CATKIN_DEVEL_PREFIX}/lib)
42 +-set(qt_gui_cpp_sip_LDFLAGS_OTHER ${qt_gui_cpp_LDFLAGS_OTHER} -Wl,-rpath,\\"${CATKIN_DEVEL_PREFIX}/lib\\")
43 ++set(qt_gui_cpp_sip_LIBRARY_DIRS ${qt_gui_cpp_LIBRARY_DIRS} ${CATKIN_DEVEL_PREFIX}/${CMAKE_INSTALL_LIBDIR})
44 ++set(qt_gui_cpp_sip_LDFLAGS_OTHER ${qt_gui_cpp_LDFLAGS_OTHER} -Wl,-rpath,\\"${CATKIN_DEVEL_PREFIX}/${CMAKE_INSTALL_LIBDIR}\\")
45 +
46 + find_package(python_qt_binding REQUIRED)
47 + include(${python_qt_binding_EXTRAS_DIR}/sip_helper.cmake)
48
49 diff --git a/dev-ros/qt_gui_cpp/metadata.xml b/dev-ros/qt_gui_cpp/metadata.xml
50 new file mode 100644
51 index 0000000..c42ea5b
52 --- /dev/null
53 +++ b/dev-ros/qt_gui_cpp/metadata.xml
54 @@ -0,0 +1,5 @@
55 +<?xml version="1.0" encoding="UTF-8"?>
56 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
57 +<pkgmetadata>
58 +<herd>ros</herd>
59 +</pkgmetadata>
60
61 diff --git a/dev-ros/qt_gui_cpp/qt_gui_cpp-0.2.29.ebuild b/dev-ros/qt_gui_cpp/qt_gui_cpp-0.2.29.ebuild
62 new file mode 100644
63 index 0000000..1e35552
64 --- /dev/null
65 +++ b/dev-ros/qt_gui_cpp/qt_gui_cpp-0.2.29.ebuild
66 @@ -0,0 +1,32 @@
67 +# Copyright 1999-2014 Gentoo Foundation
68 +# Distributed under the terms of the GNU General Public License v2
69 +# $Id$
70 +
71 +EAPI=5
72 +
73 +ROS_REPO_URI="https://github.com/ros-visualization/qt_gui_core"
74 +KEYWORDS="~amd64"
75 +PYTHON_COMPAT=( python2_7 )
76 +ROS_SUBDIR=${PN}
77 +
78 +inherit ros-catkin
79 +
80 +DESCRIPTION="Foundation for C++-bindings for dev-ros/qt_gui and creates bindings for every generator available"
81 +LICENSE="BSD"
82 +SLOT="0"
83 +IUSE=""
84 +
85 +RDEPEND="
86 + dev-qt/qtcore:4
87 + >=dev-ros/pluginlib-1.9.23
88 + >=dev-ros/qt_gui-0.2.18[${PYTHON_USEDEP}]
89 + dev-libs/tinyxml
90 + dev-ros/python_qt_binding[${PYTHON_USEDEP}]
91 + dev-libs/boost:=
92 +"
93 +DEPEND="${RDEPEND}
94 + virtual/pkgconfig
95 +"
96 +PATCHES=(
97 + "${FILESDIR}/libdir.patch"
98 +)
99
100 diff --git a/dev-ros/qt_gui_cpp/qt_gui_cpp-9999.ebuild b/dev-ros/qt_gui_cpp/qt_gui_cpp-9999.ebuild
101 new file mode 100644
102 index 0000000..1e35552
103 --- /dev/null
104 +++ b/dev-ros/qt_gui_cpp/qt_gui_cpp-9999.ebuild
105 @@ -0,0 +1,32 @@
106 +# Copyright 1999-2014 Gentoo Foundation
107 +# Distributed under the terms of the GNU General Public License v2
108 +# $Id$
109 +
110 +EAPI=5
111 +
112 +ROS_REPO_URI="https://github.com/ros-visualization/qt_gui_core"
113 +KEYWORDS="~amd64"
114 +PYTHON_COMPAT=( python2_7 )
115 +ROS_SUBDIR=${PN}
116 +
117 +inherit ros-catkin
118 +
119 +DESCRIPTION="Foundation for C++-bindings for dev-ros/qt_gui and creates bindings for every generator available"
120 +LICENSE="BSD"
121 +SLOT="0"
122 +IUSE=""
123 +
124 +RDEPEND="
125 + dev-qt/qtcore:4
126 + >=dev-ros/pluginlib-1.9.23
127 + >=dev-ros/qt_gui-0.2.18[${PYTHON_USEDEP}]
128 + dev-libs/tinyxml
129 + dev-ros/python_qt_binding[${PYTHON_USEDEP}]
130 + dev-libs/boost:=
131 +"
132 +DEPEND="${RDEPEND}
133 + virtual/pkgconfig
134 +"
135 +PATCHES=(
136 + "${FILESDIR}/libdir.patch"
137 +)