diff options
author | Chris Reffett <creffett@gentoo.org> | 2013-06-22 21:31:15 +0000 |
---|---|---|
committer | Chris Reffett <creffett@gentoo.org> | 2013-06-22 21:31:15 +0000 |
commit | 51b4712e7bd6b2b765d75d611c75e1b7a6e290f0 (patch) | |
tree | b6e47460ffc78ebbac0b8c9f245c76e95b941cbb /kde-misc/socket-sentry | |
parent | Version bump to 3.10_rc7 (diff) | |
download | historical-51b4712e7bd6b2b765d75d611c75e1b7a6e290f0.tar.gz historical-51b4712e7bd6b2b765d75d611c75e1b7a6e290f0.tar.bz2 historical-51b4712e7bd6b2b765d75d611c75e1b7a6e290f0.zip |
Add from kde overlay, clean up, add patch to handle test automagicness
Package-Manager: portage-2.2.0_alpha183/cvs/Linux x86_64
Manifest-Sign-Key: 0x42618354
Diffstat (limited to 'kde-misc/socket-sentry')
-rw-r--r-- | kde-misc/socket-sentry/ChangeLog | 10 | ||||
-rw-r--r-- | kde-misc/socket-sentry/Manifest | 17 | ||||
-rw-r--r-- | kde-misc/socket-sentry/files/socket-sentry-0.9.3-automagictests.patch | 20 | ||||
-rw-r--r-- | kde-misc/socket-sentry/metadata.xml | 5 | ||||
-rw-r--r-- | kde-misc/socket-sentry/socket-sentry-0.9.3.ebuild | 37 |
5 files changed, 89 insertions, 0 deletions
diff --git a/kde-misc/socket-sentry/ChangeLog b/kde-misc/socket-sentry/ChangeLog new file mode 100644 index 000000000000..972a5d97ce80 --- /dev/null +++ b/kde-misc/socket-sentry/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for kde-misc/socket-sentry +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/socket-sentry/ChangeLog,v 1.1 2013/06/22 21:30:54 creffett Exp $ + +*socket-sentry-0.9.3 (22 Jun 2013) + + 22 Jun 2013; Chris Reffett <creffett@gentoo.org> + +files/socket-sentry-0.9.3-automagictests.patch, +metadata.xml, + +socket-sentry-0.9.3.ebuild: + Add from kde overlay, clean up, add patch to handle test automagicness diff --git a/kde-misc/socket-sentry/Manifest b/kde-misc/socket-sentry/Manifest new file mode 100644 index 000000000000..bd7685eb41c4 --- /dev/null +++ b/kde-misc/socket-sentry/Manifest @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX socket-sentry-0.9.3-automagictests.patch 835 SHA256 ad39b44aabe4ccca09c586195011e8cc0f069a9d352315e75388cd26d295682d SHA512 d640d743c82862e2bf2d1204265a6be059e4d51063e10eb5a56436b9f4b8a95a22215f20acb1de214aca2d5b4d6db88f5c05e1a163b283289dd71cff57c7044e WHIRLPOOL ff4a2a85d35d31793bbe1a52ab51e83ec398b8db2cdc97f428038d93c6f97506b438bbf703d95b764e1fef91d3d55944037f47f82ad04be12e4a8f77afb2679b +DIST socketsentry-0.9.3.tar.gz 156935 SHA256 1b8bfe859a2dd640647662e0b534a1f6dac429ee1252eed6887619704d9b26f6 SHA512 235e82370e8927ef03acb08af69dd97dfd67d9fa9a7c7d50bec1c504cd2d6d7bd3c102cb90cf212b772f838c1c1bce94b525bf2eecafe5827532d0f32c848c38 WHIRLPOOL 815a0867cec9984e07b110ed4c291e6d9db38bb2b9eb2fafa31330362cc4aba35610a118527265b0683292accd5733496e94b13f0a3e13d4fdb5e8e6522651f2 +EBUILD socket-sentry-0.9.3.ebuild 867 SHA256 a5bf33cc8261b016b99a381f26c423089b929bbac516e817f6e0747edbcd6834 SHA512 fcde89e7a7db4a3380b46c2dd931fb3a00f3da0dcf0047f5d465af72bf4341c362fcd9e97aa82eff08eed1e78ec2f2559752869bcb4f7c54ccaa09a714fae23c WHIRLPOOL 79c854305b13dd462bc50c7bf8fc221d3f6467deec1603b425644803b55cc0dbd9f50c3df0f071f560368f465dec146fb352a3bf4aa3a430f549e8a0974fd082 +MISC ChangeLog 476 SHA256 ed141e062068edff698f58e01bfa3706a53ab2180c59a842a787071b04e6feae SHA512 85902a31da696dae178896aaa774ca74aa6b608b8fde444c223fd8c9cba063d0821dbf190e46e83730e50fa33fda77e954be48a40ee86c6c5c5f4cc1d5a66492 WHIRLPOOL 9065932cf8fc7b09e1ba5349287ec056900a3c286e89610d35d409708915d0872eab2d350cc68e30d931c07319d9c1ae2083b11b8b0fdbe9ce15340e86f4661a +MISC metadata.xml 156 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a SHA512 0dcd7cfb246c4518ed1653cb06f5d2c7220ea90160a4b1a1da43edf5124b76d7104fe35a545178b6b3df19f5f3a3eb3f31ac1b4d169e3ca90d78be3e20e58b05 WHIRLPOOL df162e3d521df7decdd84d980e4bc71531bb8e05486c07102c554b529c10a1fb3374dda79d56b13bc037a2d230b4b8ff25702c7a1b86d703a24e8bfe7fe57642 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.20 (GNU/Linux) + +iKYEAREIAGYFAlHGF5JfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl +bnBncC5maWZ0aGhvcnNlbWFuLm5ldEM2NzU5RjUyMDczREJDQkVDQTBDRkE1NERC +Nzk1QThBNDI2MTgzNTQACgkQ23laikJhg1TkIACfXdANmuajGt/HZ5BB4QqcQDdO +fl8AnRjm/Rd7IQFEtArauwxKn+GEez0z +=W4G/ +-----END PGP SIGNATURE----- diff --git a/kde-misc/socket-sentry/files/socket-sentry-0.9.3-automagictests.patch b/kde-misc/socket-sentry/files/socket-sentry-0.9.3-automagictests.patch new file mode 100644 index 000000000000..050e7b2efd25 --- /dev/null +++ b/kde-misc/socket-sentry/files/socket-sentry-0.9.3-automagictests.patch @@ -0,0 +1,20 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -42,7 +42,7 @@ + # The link libraries should contain the code under test. The TEST_SUPPORT_LIBS are also linked + # automatically. + function (add_qtestlib_tests test_source_files) +- if (DEFINED TEST_SUPPORT_LIBS) ++ if (DEFINED TEST_SUPPORT_LIBS AND WITH_TESTS) + foreach(test_file_src ${test_source_files}) + get_filename_component(test_file_path ${test_file_src} PATH) + get_filename_component(test_file_base ${test_file_src} NAME_WE) +@@ -54,7 +54,7 @@ + target_link_libraries( ${test_exe} ${TEST_SUPPORT_LIBS} ${ARGN} ) + add_test(${test_file_base} ${EXECUTABLE_OUTPUT_PATH}/${test_exe} ) + endforeach(test_file_src) +- endif (DEFINED TEST_SUPPORT_LIBS) ++ endif (DEFINED TEST_SUPPORT_LIBS AND WITH_TESTS) + endfunction(add_qtestlib_tests) + + add_subdirectory (socketsentry-service) diff --git a/kde-misc/socket-sentry/metadata.xml b/kde-misc/socket-sentry/metadata.xml new file mode 100644 index 000000000000..8d1e86a9cefb --- /dev/null +++ b/kde-misc/socket-sentry/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>kde</herd> +</pkgmetadata> diff --git a/kde-misc/socket-sentry/socket-sentry-0.9.3.ebuild b/kde-misc/socket-sentry/socket-sentry-0.9.3.ebuild new file mode 100644 index 000000000000..19bbcdd1ff43 --- /dev/null +++ b/kde-misc/socket-sentry/socket-sentry-0.9.3.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-misc/socket-sentry/socket-sentry-0.9.3.ebuild,v 1.1 2013/06/22 21:30:54 creffett Exp $ + +EAPI=5 + +inherit kde4-base + +MY_PN="socketsentry" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A KDE plasmoid that displays real-time network traffic on your Linux computer." +HOMEPAGE="http://code.google.com/p/socket-sentry" +SRC_URI="http://socket-sentry.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="GPL-3+" +KEYWORDS="~amd64 ~x86" +SLOT="4" +IUSE="debug test" + +RDEPEND=" + >=net-libs/libpcap-0.8 +" +DEPEND="${RDEPEND} + test? ( dev-cpp/gmock dev-cpp/gtest ) +" + +PATCHES=( "${FILESDIR}/${PN}-0.9.3-automagictests.patch" ) + +S="${WORKDIR}/${MY_P}" + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_with test TESTS) + ) + cmake-utils_src_configure +} |