1 |
commit: 30a464fb324f9e5ca170720a222bc0d7959d5bcc |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 26 21:10:03 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 26 21:15:20 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30a464fb |
7 |
|
8 |
dev-libs/libdbusmenu-qt: Drop old Qt4-based |
9 |
|
10 |
Dropping arches without remaining revdeps. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/627178 |
13 |
Package-Manager: Portage-2.3.38, Repoman-2.3.9 |
14 |
|
15 |
.../libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild | 124 --------------------- |
16 |
1 file changed, 124 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild |
19 |
deleted file mode 100644 |
20 |
index c3d493104e5..00000000000 |
21 |
--- a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,124 +0,0 @@ |
24 |
-# Copyright 1999-2018 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=6 |
28 |
- |
29 |
-EBZR_REPO_URI="lp:libdbusmenu-qt" |
30 |
- |
31 |
-[[ ${PV} == 9999* ]] && inherit bzr |
32 |
-inherit cmake-multilib multibuild virtualx |
33 |
- |
34 |
-DESCRIPTION="Library providing Qt implementation of DBusMenu specification" |
35 |
-HOMEPAGE="https://launchpad.net/libdbusmenu-qt/" |
36 |
-if [[ ${PV} != 9999* ]] ; then |
37 |
- MY_PV=${PV/_pre/+16.04.} |
38 |
- SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.orig.tar.gz" |
39 |
- KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux" |
40 |
-fi |
41 |
- |
42 |
-LICENSE="LGPL-2" |
43 |
-SLOT="0" |
44 |
-IUSE="debug qt4" |
45 |
- |
46 |
-RDEPEND=" |
47 |
- dev-qt/qtcore:5 |
48 |
- dev-qt/qtdbus:5 |
49 |
- dev-qt/qtgui:5 |
50 |
- dev-qt/qtwidgets:5 |
51 |
- qt4? ( |
52 |
- >=dev-qt/qtcore-4.8.6:4[${MULTILIB_USEDEP}] |
53 |
- >=dev-qt/qtdbus-4.8.6:4[${MULTILIB_USEDEP}] |
54 |
- >=dev-qt/qtgui-4.8.6:4[${MULTILIB_USEDEP}] |
55 |
- ) |
56 |
-" |
57 |
-DEPEND="${RDEPEND} |
58 |
- test? ( |
59 |
- dev-qt/qttest:5 |
60 |
- qt4? ( >=dev-qt/qttest-4.8.6:4[${MULTILIB_USEDEP}] ) |
61 |
- ) |
62 |
-" |
63 |
- |
64 |
-[[ ${PV} == 9999* ]] || S=${WORKDIR}/${PN}-${MY_PV} |
65 |
- |
66 |
-DOCS=( NEWS README ) |
67 |
- |
68 |
-# tests fail due to missing connection to dbus |
69 |
-RESTRICT="test" |
70 |
- |
71 |
-pkg_setup() { |
72 |
- MULTIBUILD_VARIANTS=( $(usex qt4 4) 5 ) |
73 |
-} |
74 |
- |
75 |
-src_prepare() { |
76 |
- [[ ${PV} == 9999* ]] && bzr_src_prepare |
77 |
- cmake-utils_src_prepare |
78 |
- |
79 |
- cmake_comment_add_subdirectory tools |
80 |
- use test || cmake_comment_add_subdirectory tests |
81 |
-} |
82 |
- |
83 |
-multilib_src_configure() { |
84 |
- local mycmakeargs=( |
85 |
- -DWITH_DOC=OFF |
86 |
- -DUSE_QT${QT_MULTIBUILD_VARIANT}=ON |
87 |
- -DQT_QMAKE_EXECUTABLE="/usr/$(get_libdir)/qt${QT_MULTIBUILD_VARIANT}/bin/qmake" |
88 |
- ) |
89 |
- cmake-utils_src_configure |
90 |
-} |
91 |
- |
92 |
-src_configure() { |
93 |
- myconfigure() { |
94 |
- local QT_MULTIBUILD_VARIANT=${MULTIBUILD_VARIANT} |
95 |
- if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then |
96 |
- cmake-multilib_src_configure |
97 |
- elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then |
98 |
- multilib_src_configure |
99 |
- fi |
100 |
- } |
101 |
- |
102 |
- multibuild_foreach_variant myconfigure |
103 |
-} |
104 |
- |
105 |
-src_compile() { |
106 |
- mycompile() { |
107 |
- if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then |
108 |
- cmake-multilib_src_compile |
109 |
- elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then |
110 |
- cmake-utils_src_compile |
111 |
- fi |
112 |
- } |
113 |
- |
114 |
- multibuild_foreach_variant mycompile |
115 |
-} |
116 |
- |
117 |
-src_install() { |
118 |
- myinstall() { |
119 |
- if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then |
120 |
- cmake-multilib_src_install |
121 |
- elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then |
122 |
- cmake-utils_src_install |
123 |
- fi |
124 |
- } |
125 |
- |
126 |
- multibuild_foreach_variant myinstall |
127 |
-} |
128 |
- |
129 |
-src_test() { |
130 |
- mytest() { |
131 |
- if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then |
132 |
- cmake-multilib_src_test |
133 |
- elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then |
134 |
- multilib_src_test |
135 |
- fi |
136 |
- } |
137 |
- |
138 |
- multibuild_foreach_variant mytest |
139 |
-} |
140 |
- |
141 |
-multilib_src_test() { |
142 |
- local builddir=${BUILD_DIR} |
143 |
- |
144 |
- BUILD_DIR=${BUILD_DIR}/tests virtx cmake-utils_src_test |
145 |
- |
146 |
- BUILD_DIR=${builddir} |
147 |
-} |