From: "Michael Palimaka" <kensington@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/libdbusmenu-qt/files/, dev-libs/libdbusmenu-qt/
Date: Wed, 1 Oct 2014 15:45:17 +0000 (UTC) [thread overview]
Message-ID: <1412178304.ecdc17976494626862d53dcaca26983e08e6c76e.kensington@gentoo> (raw)
commit: ecdc17976494626862d53dcaca26983e08e6c76e
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 1 15:45:04 2014 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Oct 1 15:45:04 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=ecdc1797
[dev-libs/libdbusmenu-qt] Fix configure when test deps are not present wrt bug #524174
Package-Manager: portage-2.2.10
---
| 17 -----------------
| 9 +++++++--
2 files changed, 7 insertions(+), 19 deletions(-)
diff --git a/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.2-optionaltests.patch b/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.2-optionaltests.patch
deleted file mode 100644
index 35df463..0000000
--- a/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.2-optionaltests.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- CMakeLists.txt
-+++ CMakeLists.txt
-@@ -59,8 +59,13 @@
- DESTINATION lib${LIB_SUFFIX}/pkgconfig
- )
-
-+
-+option(BUILD_TESTS "Build tests" ON)
-+
- add_subdirectory(src)
--add_subdirectory(tests)
-+if(BUILD_TESTS)
-+ add_subdirectory(tests)
-+endif(BUILD_TESTS)
- add_subdirectory(tools)
-
- if(WITH_DOC)
--git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-9999.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-9999.ebuild
index 73f0c1e..20f22d3 100644
--- a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-9999.ebuild
+++ b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-9999.ebuild
@@ -50,7 +50,6 @@ DEPEND="${RDEPEND}
"
DOCS=( NEWS README )
-PATCHES=( "${FILESDIR}/${PN}-0.9.2-optionaltests.patch" )
# tests fail due to missing conection to dbus
RESTRICT="test"
@@ -61,10 +60,16 @@ pkg_setup() {
use qt5 && MULTIBUILD_VARIANTS+=( qt5 )
}
+src_prepare() {
+ [[ ${PV} == 9999* ]] && bzr_src_prepare
+ cmake-utils_src_prepare
+
+ use test || comment_add_subdirectory tests
+}
+
src_configure() {
myconfigure() {
local mycmakeargs=(
- $(cmake-utils_use_build test TESTS)
$(cmake-utils_use_with doc)
)
next reply other threads:[~2014-10-01 15:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-01 15:45 Michael Palimaka [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-10-15 13:49 [gentoo-commits] proj/kde:master commit in: dev-libs/libdbusmenu-qt/files/, dev-libs/libdbusmenu-qt/ Michael Palimaka
2014-10-10 19:21 Manuel Rüger
2012-05-22 16:55 Michael Palimaka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1412178304.ecdc17976494626862d53dcaca26983e08e6c76e.kensington@gentoo \
--to=kensington@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox