public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdbusmenu-qt/files/, dev-libs/libdbusmenu-qt/
@ 2016-03-27 17:12 Michael Palimaka
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Palimaka @ 2016-03-27 17:12 UTC (permalink / raw
  To: gentoo-commits

commit:     677d76bbc7f88c37cd7f4a1f2e8d00b04033e22a
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 27 17:11:23 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Mar 27 17:11:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=677d76bb

dev-libs/libdbusmenu-qt: remove old

Package-Manager: portage-2.2.28

 dev-libs/libdbusmenu-qt/Manifest                   |   1 -
 .../files/libdbusmenu-qt-0.9.2-optionaltests.patch |  17 ----
 .../libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild     |  63 ------------
 .../libdbusmenu-qt-0.9.3_pre20140619.ebuild        | 109 ---------------------
 4 files changed, 190 deletions(-)

diff --git a/dev-libs/libdbusmenu-qt/Manifest b/dev-libs/libdbusmenu-qt/Manifest
index 3a1841d..bbaa089 100644
--- a/dev-libs/libdbusmenu-qt/Manifest
+++ b/dev-libs/libdbusmenu-qt/Manifest
@@ -1,2 +1 @@
-DIST libdbusmenu-qt-0.9.2.tar.xz 242888 SHA256 ecd1108f637c4c58946aff2aba70010f8060bd87c1acc85a917c2b3f43cf406d SHA512 93471a03cfc127babc58cf07b1caa30ae901ad2d213790d5085117f331a6cea0d2ab6b5ba21abdf582c40f172ff8e8168a185fa1a27d7d367a01a3b6ed731155 WHIRLPOOL b38e23c9def7802040c8ce94bcce6a644cf5e088a90fda091a2ba75b5a332b36d97f00d998f8c1b1942101eceecdb8c78612fcb3ee5f0604de98f65aa33cb3f7
 DIST libdbusmenu-qt_0.9.3+14.10.20140619.orig.tar.gz 46641 SHA256 e531b29388317f48e22c652c7111e9c7750aa7d429a72742c49a1c8af1e61968 SHA512 791c1904a1c960a94bba2c624469d8a9c1c76e14fc40917feb5aeb8c55acc6c68a0b03509037440f35ad8416710cbe705c1b117b23a9a684b6ff0d919d1d5e18 WHIRLPOOL b76294a4c9cdf943594f685aeae13e12db8d6f0b85f4a86031023c15072cdae619ff70c95e8db40eaeb9acb8d234e48e45ca79899c835b068387df040f688160

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)

diff --git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild
deleted file mode 100644
index 9da60e5..0000000
--- a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=4
-
-QT_DEPEND="4.6.3"
-EBZR_REPO_URI="lp:libdbusmenu-qt"
-
-[[ ${PV} == 9999* ]] && BZR_ECLASS="bzr"
-inherit cmake-utils virtualx ${BZR_ECLASS}
-
-DESCRIPTION="A library providing Qt implementation of DBusMenu specification"
-HOMEPAGE="https://launchpad.net/libdbusmenu-qt/"
-if [[ ${PV} == 9999* ]] ; then
-	KEYWORDS=""
-else
-	#SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
-	# upstream has no permissions to use some kde written code so repack git
-	# repo every time
-	SRC_URI="https://dev.gentoo.org/~creffett/${P}.tar.xz"
-	KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="LGPL-2"
-SLOT="0"
-IUSE="debug doc"
-
-RDEPEND="
-	>=dev-qt/qtcore-${QT_DEPEND}:4
-	>=dev-qt/qtdbus-${QT_DEPEND}:4
-	>=dev-qt/qtgui-${QT_DEPEND}:4
-"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen )
-	test? (
-		dev-libs/qjson
-		>=dev-qt/qttest-${QT_DEPEND}:4
-	)
-"
-
-DOCS=( NEWS README )
-PATCHES=( "${FILESDIR}/${P}-optionaltests.patch" )
-
-# tests fail due to missing conection to dbus
-RESTRICT="test"
-
-src_configure() {
-	local mycmakeargs=(
-		$(cmake-utils_use_build test TESTS)
-		$(cmake-utils_use_with doc)
-	)
-	cmake-utils_src_configure
-}
-
-src_test() {
-	local builddir=${CMAKE_BUILD_DIR}
-
-	CMAKE_BUILD_DIR=${CMAKE_BUILD_DIR}/tests \
-		VIRTUALX_COMMAND=cmake-utils_src_test virtualmake
-
-	CMAKE_BUILD_DIR=${builddir}
-}

diff --git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20140619.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20140619.ebuild
deleted file mode 100644
index e01132c..0000000
--- a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20140619.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-EBZR_REPO_URI="lp:libdbusmenu-qt"
-
-[[ ${PV} == 9999* ]] && BZR_ECLASS="bzr"
-inherit cmake-utils multibuild virtualx ${BZR_ECLASS}
-
-DESCRIPTION="A library providing Qt implementation of DBusMenu specification"
-HOMEPAGE="https://launchpad.net/libdbusmenu-qt/"
-if [[ ${PV} == 9999* ]] ; then
-	KEYWORDS=""
-else
-	MY_PV=${PV/_pre/+14.10.}
-	SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.orig.tar.gz"
-	# upstream has no permissions to use some kde written code so repack git
-	# repo every time
-	#SRC_URI="https://dev.gentoo.org/~scarabeus/${P}.tar.xz"
-	KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-	PATCHES=( "${FILESDIR}/${P}-optionaltests.patch" )
-fi
-
-LICENSE="LGPL-2"
-SLOT="0"
-IUSE="debug doc +qt4 qt5"
-S=${WORKDIR}/${PN}-${MY_PV}
-
-REQUIRED_USE="|| ( qt4 qt5 )"
-
-RDEPEND="
-	qt4? (
-		dev-qt/qtcore:4
-		dev-qt/qtdbus:4
-		dev-qt/qtgui:4
-	)
-	qt5? (
-		dev-qt/qtcore:5
-		dev-qt/qtdbus:5
-		dev-qt/qtgui:5
-		dev-qt/qtwidgets:5
-	)
-"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen )
-	test? (
-		dev-libs/qjson
-		qt4? ( dev-qt/qttest:4 )
-		qt5? ( dev-qt/qttest:5 )
-	)
-"
-
-DOCS=( NEWS README )
-
-# tests fail due to missing connection to dbus
-RESTRICT="test"
-
-pkg_setup() {
-	MULTIBUILD_VARIANTS=( $(usev qt4) $(usev 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_with doc)
-		)
-
-		if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
-			mycmakeargs+=( -DUSE_QT4=ON )
-		fi
-		if [[ ${MULTIBUILD_VARIANT} = qt5 ]] ; then
-			mycmakeargs+=( -DUSE_QT5=ON )
-		fi
-
-		cmake-utils_src_configure
-	}
-
-	multibuild_foreach_variant myconfigure
-}
-
-src_compile() {
-	multibuild_foreach_variant cmake-utils_src_compile
-}
-
-src_test() {
-	mytest() {
-		local builddir=${BUILD_DIR}
-
-		BUILD_DIR=${BUILD_DIR}/tests \
-			VIRTUALX_COMMAND=cmake-utils_src_test virtualmake
-
-		BUILD_DIR=${builddir}
-	}
-
-	multibuild_foreach_variant mytest
-}
-
-src_install() {
-	multibuild_foreach_variant cmake-utils_src_install
-}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdbusmenu-qt/files/, dev-libs/libdbusmenu-qt/
@ 2019-02-17 19:12 Andreas Sturmlechner
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Sturmlechner @ 2019-02-17 19:12 UTC (permalink / raw
  To: gentoo-commits

commit:     8e0ca6709135e24518be2985b7b4d644c01428a1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 17 18:00:54 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 17 19:12:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e0ca670

dev-libs/libdbusmenu-qt: EAPI-7 bump, fix pkgconfig libdir path

Remove live sources cruft; 9999 was dropped long ago even in kde overlay.
Remove test setup cruft when it doesn't work anyway.

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../libdbusmenu-qt-0.9.3_pre20160218-cmake.patch   | 258 +++++++++++++++++++++
 .../libdbusmenu-qt-0.9.3_pre20160218-r3.ebuild     |  36 +++
 2 files changed, 294 insertions(+)

diff --git a/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20160218-cmake.patch b/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20160218-cmake.patch
new file mode 100644
index 00000000000..e4668a52fc9
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20160218-cmake.patch
@@ -0,0 +1,258 @@
+From 56669bd4e5ed21cfd2b0f5b94983792396695e5e Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun, 17 Feb 2019 19:10:55 +0100
+Subject: [PATCH] Use more GNUInstallDirs, fix pkgconfig libdir path, general
+ cleanup
+
+---
+ CMakeLists.txt                | 45 ++++++++++++-----------------------
+ cmake/modules/FindQJSON.cmake |  2 +-
+ dbusmenu-qt-config.cmake.in   |  2 +-
+ dbusmenu-qt.pc.in             |  6 ++---
+ src/CMakeLists.txt            | 16 ++++++-------
+ tests/CMakeLists.txt          | 10 ++++----
+ tools/testapp/CMakeLists.txt  |  2 +-
+ 7 files changed, 34 insertions(+), 49 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 72cbc45..2d757ec 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8.11)
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules")
+ 
+ # Build options
+-option(WITH_DOC "Build documentation (requires Doxygen)" ON)
++option(WITH_DOC "Build documentation (requires Doxygen)" OFF)
+ 
+ # Versions
+ ## Package version
+@@ -24,28 +24,8 @@ set(dbusmenu_qt_lib_PATCH_VERSION 0)
+ 
+ set(dbusmenu_qt_lib_VERSION ${dbusmenu_qt_lib_SOVERSION}.${dbusmenu_qt_lib_API_VERSION}.${dbusmenu_qt_lib_PATCH_VERSION})
+ 
+-# Check if we want to explicitly select the Qt version to be used or autodetect
+-if (NOT USE_QT4 AND NOT USE_QT5)
+-    # Autodetect, prefering Qt5
+-    message(STATUS "Autodetecting Qt version to use")
+-    find_package(Qt5Widgets QUIET)
+-    if (Qt5Widgets_FOUND)
+-        set(USE_QT5 TRUE)
+-    endif()
+-endif()
+-
+ # Detect for which Qt version we're building
+-if (USE_QT5)
+-    find_package(Qt5Widgets REQUIRED)
+-    find_package(Qt5DBus REQUIRED)
+-    include_directories(${Qt5Widgets_INCLUDE_DIRS} ${Qt5DBus_INCLUDE_DIRS})
+-    find_package(Qt5Core REQUIRED)
+-    set(CMAKE_AUTOMOC ON)
+-    set(CMAKE_AUTOMOC_RELAXED_MODE ON)
+-    set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+-
+-    set(QT_SUFFIX "qt5")
+-else()
++if (USE_QT4)
+     find_package(Qt4 REQUIRED)
+     include_directories(
+       ${QT_INCLUDE_DIR}
+@@ -55,6 +35,14 @@ else()
+       )
+ 
+     set(QT_SUFFIX "qt")
++else()
++    find_package(Qt5 CONFIG REQUIRED Core DBus Widgets)
++    include_directories(${Qt5Widgets_INCLUDE_DIRS} ${Qt5DBus_INCLUDE_DIRS})
++    set(CMAKE_AUTOMOC ON)
++    set(CMAKE_AUTOMOC_RELAXED_MODE ON)
++    set(CMAKE_POSITION_INDEPENDENT_CODE ON)
++
++    set(QT_SUFFIX "qt5")
+ endif()
+ 
+ include (CheckCXXCompilerFlag)
+@@ -76,9 +64,7 @@ endif (__DBUSMENU_HAVE_CXX11)
+ 
+ include(CMakePackageConfigHelpers)
+ include(GNUInstallDirs)
+-set(LIB_DESTINATION "${CMAKE_INSTALL_LIBDIR}")
+-set(CMAKECONFIG_INSTALL_DIR "${LIB_DESTINATION}/cmake/dbusmenu-${QT_SUFFIX}")
+-set(INCLUDE_INSTALL_DIR "include/dbusmenu-${QT_SUFFIX}")
++set(INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_INCLUDEDIR}/dbusmenu-${QT_SUFFIX}")
+ 
+ # dist targets
+ set(ARCHIVE_NAME libdbusmenu-${QT_SUFFIX}-${dbusmenu_qt_VERSION})
+@@ -103,7 +89,7 @@ add_dependencies(distcheck dist)
+ configure_file(dbusmenu-qt.pc.in ${CMAKE_BINARY_DIR}/dbusmenu-${QT_SUFFIX}.pc @ONLY)
+ 
+ install(FILES ${CMAKE_BINARY_DIR}/dbusmenu-${QT_SUFFIX}.pc
+-        DESTINATION ${LIB_DESTINATION}/pkgconfig
++        DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
+     )
+ 
+ add_subdirectory(src)
+@@ -118,7 +104,7 @@ if(WITH_DOC)
+         )
+ 
+     install(DIRECTORY ${CMAKE_BINARY_DIR}/html/
+-        DESTINATION share/doc/libdbusmenu-${QT_SUFFIX}-doc
++        DESTINATION ${CMAKE_INSTALL_DOCDIR}
+         )
+ endif(WITH_DOC)
+ 
+@@ -126,8 +112,8 @@ endif(WITH_DOC)
+ configure_package_config_file(
+     dbusmenu-qt-config.cmake.in
+     ${CMAKE_BINARY_DIR}/dbusmenu-${QT_SUFFIX}-config.cmake
+-    INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
++    INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/dbusmenu-${QT_SUFFIX}
+     PATH_VARS INCLUDE_INSTALL_DIR
+     )
+ 
+ write_basic_package_version_file(
+@@ -140,6 +126,6 @@ write_basic_package_version_file(
+ install(FILES
+     ${CMAKE_BINARY_DIR}/dbusmenu-${QT_SUFFIX}-config.cmake
+     ${CMAKE_BINARY_DIR}/dbusmenu-${QT_SUFFIX}-config-version.cmake
+-    DESTINATION "${CMAKECONFIG_INSTALL_DIR}"
++    DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/dbusmenu-${QT_SUFFIX}"
+     COMPONENT Devel
+     )
+--- a/cmake/modules/FindQJSON.cmake
++++ b/cmake/modules/FindQJSON.cmake
+@@ -34,7 +34,7 @@ else (QJSON_INCLUDE_DIR AND QJSON_LIBRARIES)
+     qjson/parser.h
+     PATHS
+     ${PC_QJSON_INCLUDE_DIRS}
+-    ${INCLUDE_INSTALL_DIR}
++    ${CMAKE_INSTALL_INCLUDEDIR}
+     ${KDE4_INCLUDE_DIR}
+   )
+ 
+--- a/dbusmenu-qt.pc.in
++++ b/dbusmenu-qt.pc.in
+@@ -1,7 +1,7 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+-exec_prefix=@CMAKE_INSTALL_PREFIX@
+-libdir=@CMAKE_INSTALL_PREFIX@/lib
+-includedir=@CMAKE_INSTALL_PREFIX@/include/dbusmenu-@QT_SUFFIX@
++exec_prefix=${prefix}
++libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
++includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@/dbusmenu-@QT_SUFFIX@
+ 
+ Name: libdbusmenu-@QT_SUFFIX@
+ Description: Qt implementation of dbusmenu spec
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -29,7 +29,7 @@ endif (__DBUSMENU_HAVE_CXX11)
+ # Check whether QIcon::name() exists. It was added in late Qt 4.7 cycle, and is
+ # not present in betas.
+ 
+-if (NOT USE_QT5)
++if (USE_QT4)
+     set(CMAKE_REQUIRED_INCLUDES "${QT_INCLUDE_DIR}")
+     set(CMAKE_REQUIRED_LIBRARIES "${QT_QTGUI_LIBRARIES};${QT_QTCORE_LIBRARIES}")
+ else()
+@@ -64,7 +64,7 @@ include_directories(
+     ${CMAKE_BINARY_DIR}/src
+     )
+ 
+-if (NOT USE_QT5)
++if (USE_QT4)
+     qt4_automoc(${dbusmenu_qt_SRCS})
+     qt4_add_dbus_adaptor(dbusmenu_qt_SRCS
+         ${CMAKE_CURRENT_SOURCE_DIR}/com.canonical.dbusmenu.xml
+@@ -88,7 +88,7 @@ set_target_properties(dbusmenu-${QT_SUFFIX} PROPERTIES
+     )
+ 
+ 
+-if (NOT USE_QT5)
++if (USE_QT4)
+     target_link_libraries(dbusmenu-${QT_SUFFIX}
+         ${QT_QTGUI_LIBRARIES}
+         ${QT_QTDBUS_LIBRARIES}
+@@ -105,23 +105,23 @@ endif()
+ 
+ # Make sure linking to the target adds dbusmenu-qt install directory
+ target_include_directories(dbusmenu-${QT_SUFFIX}
+-    INTERFACE "$<INSTALL_INTERFACE:${INCLUDE_INSTALL_DIR}>")
++    INTERFACE "$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/dbusmenu-${QT_SUFFIX}>")
+ 
+ install(TARGETS dbusmenu-${QT_SUFFIX}
+     EXPORT dbusmenu-${QT_SUFFIX}-targets
+-    LIBRARY DESTINATION ${LIB_DESTINATION}
++    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+     RUNTIME DESTINATION bin
+     )
+ 
+ install(EXPORT dbusmenu-${QT_SUFFIX}-targets
+-    DESTINATION ${CMAKECONFIG_INSTALL_DIR})
++    DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/dbusmenu-${QT_SUFFIX})
+ 
+ install(DIRECTORY .
+-    DESTINATION ${INCLUDE_INSTALL_DIR}
++    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dbusmenu-${QT_SUFFIX}
+     FILES_MATCHING PATTERN "*.h"
+     PATTERN "*_p.h" EXCLUDE
+     )
+ 
+ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/dbusmenu_version.h
+-    DESTINATION ${INCLUDE_INSTALL_DIR}
++    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dbusmenu-${QT_SUFFIX}
+     )
+--- a/tests/CMakeLists.txt
++++ b/tests/CMakeLists.txt
+@@ -1,9 +1,9 @@
+-if (NOT USE_QT5)
++if (USE_QT4)
+     qt4_automoc(slowmenu.cpp)
+ endif()
+ add_executable(slowmenu slowmenu.cpp)
+ 
+-if (NOT USE_QT5)
++if (USE_QT4)
+     target_link_libraries(slowmenu
+         ${QT_QTGUI_LIBRARIES}
+         ${QT_QTDBUS_LIBRARIES}
+@@ -77,7 +77,7 @@ set(dbusmenuexportertest_SRCS
+     testutils.cpp
+     )
+ 
+-if (NOT USE_QT5)
++if (USE_QT4)
+     qt4_automoc(${dbusmenuexportertest_SRCS})
+ endif()
+ 
+@@ -94,7 +94,7 @@ set(dbusmenuimportertest_SRCS
+     testutils.cpp
+     )
+ 
+-if (NOT USE_QT5)
++if (USE_QT4)
+     qt4_automoc(${dbusmenuimportertest_SRCS})
+ endif()
+ 
+@@ -110,7 +110,7 @@ set(dbusmenushortcuttest_SRCS
+     dbusmenushortcuttest.cpp
+     )
+ 
+-if (NOT USE_QT5)
++if (USE_QT4)
+     qt4_automoc(${dbusmenushortcuttest_SRCS})
+ endif()
+ 
+--- a/tools/testapp/CMakeLists.txt
++++ b/tools/testapp/CMakeLists.txt
+@@ -4,7 +4,7 @@ set(qtapp_SRCS
+ 
+ add_executable(dbusmenubench-qtapp ${qtapp_SRCS})
+ 
+-if (NOT USE_QT5)
++if (USE_QT4)
+     # Qt4
+     include_directories(
+         ${CMAKE_CURRENT_SOURCE_DIR}/../../src
+-- 
+2.20.1
+

diff --git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r3.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r3.ebuild
new file mode 100644
index 00000000000..267ccc08f93
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20160218-r3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_pre/+16.04.}
+inherit cmake-utils
+
+DESCRIPTION="Library providing Qt implementation of DBusMenu specification"
+HOMEPAGE="https://launchpad.net/libdbusmenu-qt/"
+SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.orig.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="
+	dev-qt/qtcore:5
+	dev-qt/qtdbus:5
+	dev-qt/qtgui:5
+	dev-qt/qtwidgets:5
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${PN}-${MY_PV}
+
+PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
+
+src_prepare() {
+	cmake-utils_src_prepare
+
+	cmake_comment_add_subdirectory tools
+	# tests fail due to missing connection to dbus
+	cmake_comment_add_subdirectory tests
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-02-17 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-17 19:12 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libdbusmenu-qt/files/, dev-libs/libdbusmenu-qt/ Andreas Sturmlechner
  -- strict thread matches above, loose matches on Subject: below --
2016-03-27 17:12 Michael Palimaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox