summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-03-04 03:42:49 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-03-04 03:42:49 +0900
commit09c01884b8fafd6ff35d5f0686c8171d9ceefb3c (patch)
treef9a123711994141a2eba54f8b5e53c2b641de593 /dev-libs
parentprefix.eclass: import from gx86. (diff)
downloadheroxbd-09c01884b8fafd6ff35d5f0686c8171d9ceefb3c.tar.gz
heroxbd-09c01884b8fafd6ff35d5f0686c8171d9ceefb3c.tar.bz2
heroxbd-09c01884b8fafd6ff35d5f0686c8171d9ceefb3c.zip
dev-libs/libdbusmenu-qt: import.
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libdbusmenu-qt/Manifest22
-rw-r--r--dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.2-optionaltests.patch17
-rw-r--r--dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch16
-rw-r--r--dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild63
-rw-r--r--dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20140619-r1.ebuild137
-rw-r--r--dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20140619.ebuild109
-rw-r--r--dev-libs/libdbusmenu-qt/metadata.xml11
7 files changed, 375 insertions, 0 deletions
diff --git a/dev-libs/libdbusmenu-qt/Manifest b/dev-libs/libdbusmenu-qt/Manifest
new file mode 100644
index 0000000..4240e15
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/Manifest
@@ -0,0 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX libdbusmenu-qt-0.9.2-optionaltests.patch 307 SHA256 54ab953b82ca7d42900d6141b1f276c34b58f332c339962545eddf025327ee4c SHA512 902d98866fb01614d443afb67d355420f3bc0153a39b154366f19d74ea167886178aec341af0a21f252b84bc8d9323de59401073d8e0e32ed0b912f3bf4a0b51 WHIRLPOOL 333e5588b9a64165060a6054f86ad04d76fbfd00148cf279edfe6d950d06b5531e18922620d0d00ec025e13125a948446d0625911f101776347ad5ade5e41e3c
+AUX libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch 383 SHA256 ecd136a04d75f7f7bb0579b3f873a7c2672af632c4b0265c856c2dcbabe618fe SHA512 e4eb10ac0be553efb57b1b9d74dd28e05ad370b3e1e38496122c950083181184f4d442790ff3017badcabf2393424b6416ad268d7cc3f9ec60cee6048d091271 WHIRLPOOL 65d8e8a9c25466847f14b8c3cc11c743c0ade5c828441ba56285c1b5f6bfdb1dda2670dd31d3b26b98d2c1579efc67272b0f11f2b7317a1469e9b1d9976b58d6
+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
+EBUILD libdbusmenu-qt-0.9.3_pre20140619.ebuild 2214 SHA256 fd0fc0c7f8170312bdf0c77ac78ff3a0f9e7f6d201469f18462d81b7fdae7f4c SHA512 57531fca03a8ddf4ca6975c6e24da33b8e2a4bd3240ee316ab1e159c873f9e6f8e7f91aa3e84b7a306b83c671a236bdea89b4367a693ceaf14001da989800d4a WHIRLPOOL 19a14a3f93c0a24ebe218f3dbccdf4cc41c319d3215852733ba77ddb4fc6efabd6456b081a70dc927291346df9c3e0e9ce2433eed83ccb65ee67d2226675e734
+EBUILD libdbusmenu-qt-0.9.3_pre20140619-r1.ebuild 3066 SHA256 01e2d858531fdf4d9cf0c9769e93e61809b5d823a46a05159774e3b29db0aaf9 SHA512 92009720c53de23fd571d6c6febea320e75ed19ca9790219b9f7460dc02020b05cbf8587ae41fbb3f039cddfcf0e127caab549f6ef752595ddf3d32d84c42215 WHIRLPOOL fb7c11dccd1fc01ec1e2b36e8ed3b01849c859b7fc42e5402c5863e684c35005eade13b4eb5f24b3d839e8ad56b8d014757f2e12c2be5abfc3dc98c6444b500e
+EBUILD libdbusmenu-qt-0.9.2.ebuild 1462 SHA256 26d334c6ed3e1a9300fb9cc4d927e2d8d8b8297d38f2122050702df11c39e80c SHA512 e177b06fba176ac4ebe17a80c4823d2a678b66fb0cd7789e1996a75bd429ce2ed76fefa632142d6bd569e684150e41954bb14edf6a321c925814a115c9a55900 WHIRLPOOL fffedd78e414bdce4d307363273a7c219ba3929e420b7b532cbb3fff3382709d689b07d33283f5126bf7e1e711d984ef57b2c5c751517307e80ad83993a8fb88
+MISC metadata.xml 333 SHA256 5b6f9ebdea3a331b723d00c0f5d44da4487b01fd9aaab7c63b28398369db5886 SHA512 ff7239d66ef81a8b02d446194b53d54c61a12fa139a621f6dc71d61f5e3e3b75c036a1648ce75d7340af27e067d1ff15492be2edbbab4a44d51a7ee25177a94b WHIRLPOOL ff845f015fa8e65678a4be5dcdad0af011c4004a4c227ac01a741bd7030bbe7be70a7f3f3da19f3125df2e4cb4eae581b42beb7dc5a547b44a1085a13a91caff
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iQEcBAEBCAAGBQJWpWBlAAoJELoICR7GMXs80IwIAK9+qRWfZf8Q/vAngYkY31We
+f9+GpQBYewLBQlcQEnUhfOl4+Sfc6NBnXgGDvW9UE8/+B6a4qOMUswXlnfduK4Wx
+UAZgXoBNObIm6j13LZ9UIfZNjXrqpPGA4QzXMjiwO61Wi7ysLjmLbDUX8fWbEpXh
+fQnHfmKkRssLaVdN7Tmo3NdeZhzsuMmW3rbakGlxfMpXfsP7FZX1RrF+QWeWzk5c
+Egktb+u8LoxFEHjmH9H+3cWI0Tzp7NBu8giO9XeW3iU+6FhQNJmNoTXh6IQyjbrf
+rA8pmGrDEKiSo/n7PtELhKmamCU6QyTXL1Sqh/XCSIusn+aWTd90tHDJ+7Cj2/c=
+=SOxf
+-----END PGP SIGNATURE-----
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
new file mode 100644
index 0000000..35df463
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.2-optionaltests.patch
@@ -0,0 +1,17 @@
+--- 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/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch b/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch
new file mode 100644
index 0000000..7f6d82e
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/files/libdbusmenu-qt-0.9.3_pre20140619-optionaltests.patch
@@ -0,0 +1,16 @@
+--- CMakeLists.txt.old 2014-10-10 21:14:47.139654992 +0200
++++ CMakeLists.txt 2014-10-10 21:16:17.114656451 +0200
+@@ -90,8 +90,12 @@
+ )
+
+ add_subdirectory(src)
++
++option(BUILD_TESTS "Build tests for qt4" ON)
+ if (NOT USE_QT5) # TODO port tests to Qt5
+-add_subdirectory(tests)
++ if(BUILD_TESTS)
++ add_subdirectory(tests)
++ endif(BUILD_TESTS)
+ endif()
+ add_subdirectory(tools)
+
diff --git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild
new file mode 100644
index 0000000..9da60e5
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild
@@ -0,0 +1,63 @@
+# 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-r1.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20140619-r1.ebuild
new file mode 100644
index 0000000..3266756
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20140619-r1.ebuild
@@ -0,0 +1,137 @@
+# 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 multibuild multilib virtualx ${BZR_ECLASS} cmake-multilib
+
+DESCRIPTION="A library providing Qt implementation of DBusMenu specification"
+HOMEPAGE="https://launchpad.net/libdbusmenu-qt/"
+if [[ ${PV} == 9999* ]] ; then
+ KEYWORDS="ppc64 x86"
+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 ~arm64 ~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.8.6:4[${MULTILIB_USEDEP}]
+ >=dev-qt/qtdbus-4.8.6:4[${MULTILIB_USEDEP}]
+ >=dev-qt/qtgui-4.8.6:4[${MULTILIB_USEDEP}]
+ )
+ 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[${MULTILIB_USEDEP}]
+ qt4? ( >=dev-qt/qttest-4.8.6:4[${MULTILIB_USEDEP}] )
+ qt5? ( dev-qt/qttest:5 )
+ )
+"
+
+DOCS=( NEWS README )
+
+# tests fail due to missing connection to dbus
+RESTRICT="test"
+
+pkg_setup() {
+ MULTIBUILD_VARIANTS=( $(usex qt4 4) $(usex qt5 5) )
+}
+
+src_prepare() {
+ [[ ${PV} == 9999* ]] && bzr_src_prepare
+ cmake-utils_src_prepare
+
+ comment_add_subdirectory tools
+ use test || comment_add_subdirectory tests
+}
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_with doc)
+ -DUSE_QT${QT_MULTIBUILD_VARIANT}=ON
+ -DQT_QMAKE_EXECUTABLE="/usr/$(get_libdir)/qt${QT_MULTIBUILD_VARIANT}/bin/qmake"
+ )
+ cmake-utils_src_configure
+}
+
+src_configure() {
+ myconfigure() {
+ local QT_MULTIBUILD_VARIANT=${MULTIBUILD_VARIANT}
+ if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then
+ cmake-multilib_src_configure
+ elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then
+ multilib_src_configure
+ fi
+ }
+
+ multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+ mycompile() {
+ if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then
+ cmake-multilib_src_compile
+ elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then
+ cmake-utils_src_compile
+ fi
+ }
+
+ multibuild_foreach_variant mycompile
+}
+
+src_install() {
+ myinstall() {
+ if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then
+ cmake-multilib_src_install
+ elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then
+ cmake-utils_src_install
+ fi
+ }
+
+ multibuild_foreach_variant myinstall
+}
+
+src_test() {
+ mytest() {
+ if [[ ${MULTIBUILD_VARIANT} = 4 ]] ; then
+ cmake-multilib_src_test
+ elif [[ ${MULTIBUILD_VARIANT} = 5 ]] ; then
+ multilib_src_test
+ fi
+ }
+
+ multibuild_foreach_variant mytest
+}
+
+multilib_src_test() {
+ local builddir=${BUILD_DIR}
+
+ BUILD_DIR=${BUILD_DIR}/tests \
+ VIRTUALX_COMMAND=cmake-utils_src_test virtualmake
+
+ 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
new file mode 100644
index 0000000..e01132c
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.3_pre20140619.ebuild
@@ -0,0 +1,109 @@
+# 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
+}
diff --git a/dev-libs/libdbusmenu-qt/metadata.xml b/dev-libs/libdbusmenu-qt/metadata.xml
new file mode 100644
index 0000000..87f282a
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="launchpad">ubuntu</remote-id>
+ </upstream>
+</pkgmetadata>