From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5123313888F for ; Tue, 13 Oct 2015 04:41:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D58F5E07D9; Tue, 13 Oct 2015 04:41:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C48CE07D9 for ; Tue, 13 Oct 2015 04:41:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7A1033BEBE for ; Tue, 13 Oct 2015 04:41:42 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 07768FA4 for ; Tue, 13 Oct 2015 04:41:41 +0000 (UTC) From: "Ian Delaney" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ian Delaney" Message-ID: <1444711291.b3c29adb698321755b978f4cd4f1bc36566531d5.idella4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/classified-ads/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/classified-ads/Manifest net-p2p/classified-ads/classified-ads-0.09.ebuild X-VCS-Directories: net-p2p/classified-ads/ X-VCS-Committer: idella4 X-VCS-Committer-Name: Ian Delaney X-VCS-Revision: b3c29adb698321755b978f4cd4f1bc36566531d5 X-VCS-Branch: master Date: Tue, 13 Oct 2015 04:41:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 40ea484e-bf73-4adb-ad45-bac058963188 X-Archives-Hash: d94df1c0a7575371b09351d8bdbbd0ae commit: b3c29adb698321755b978f4cd4f1bc36566531d5 Author: Ian Delaney gentoo org> AuthorDate: Tue Oct 13 04:40:45 2015 +0000 Commit: Ian Delaney gentoo org> CommitDate: Tue Oct 13 04:41:31 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c29adb net-p2p/classified-ads: bump -> -0.09, ebuild by proxy maintainer Gentoo bug: #560778 Package-Manager: portage-2.2.20.1 net-p2p/classified-ads/Manifest | 2 + net-p2p/classified-ads/classified-ads-0.09.ebuild | 85 +++++++++++++++++++++++ 2 files changed, 87 insertions(+) diff --git a/net-p2p/classified-ads/Manifest b/net-p2p/classified-ads/Manifest index 8cf07eb..72b7683 100644 --- a/net-p2p/classified-ads/Manifest +++ b/net-p2p/classified-ads/Manifest @@ -1,4 +1,6 @@ DIST classified-ads-0.07.tar.gz 2194177 SHA256 882874da2d1610d64c952969222b9295bab59b519de8a7da69790805fecca394 SHA512 a42e9604ce922968b0d7f345d623b250dae39fad2f43648b996ab10f3e7941ec3de95e89d94f4ec28bba882cf2bd38ea28aac88885522a7375926aee3c5d0843 WHIRLPOOL a797387e0f8537ab5366c55554c8909d656436122c3cbf2b35c7c8cc989a8cf76c3f0d6d39a99ac54e0b7cbcd8063dd1a4ec3a99b320f243338081f665f3b933 DIST classified-ads-0.07_p20150728.tar.gz 2197413 SHA256 e8d488b6c44b198bf1150c7a33ae698887cfb345cb4473d91a5949abeb846d95 SHA512 1cb42252ab695e90212d05144255a66b0d8dc63d8d010b5781e470a4c5e9cdf9c4dce1b9e44cba83d5fb2fef99e3d46fd5cc1b9880db69c9c163475b7e4349fc WHIRLPOOL 458d3947f00709c633d652b753b7801496479f610da0d249e8e2f5f7ddecb341fb885184c027b453aa2f9db7998a74fcbd60bbb9d0bb5765b7b7e45bcdcfc2c0 +DIST classified-ads-0.09.tar.gz 2288561 SHA256 c6c0809c269e7596386b612f0a43c705801bad71c64a23a81f763656b22db125 SHA512 3639854cb797830f71261097ba315426be74f0dbcb5190522d50f4507d488d309c0793d1cad5bbc29bc43bd06de16392afc82172cefa766458764b4ac5b90357 WHIRLPOOL 7149c2772ca61a5067722f6aa5066e4dee3aec758b1998633d129cd4704723e6c633522a241cc4332dca94cac0bb59ada9a5472c750d335a764e1ff2f09c9d8f DIST classified-ads-graphics-0.07.tar.gz 340476 SHA256 12bd4f581f82c4c805bbf19cc794f7462f9ec0e71358fbc1628fd872169295e2 SHA512 c59f65f37a8e4dddb753dbcdec835e946d9de021c5273319b3cd95ef1c3343715ce4b87d76b2d96264acc791a6cced32967521c74978131bd76fbcfc37bb344d WHIRLPOOL 2535170cdc4cc1d4ad2e204e85b546089b3aa404e4cee0e2ab9d094d6cda869043f24fba29d6f68b37f450ff947c13f02336e63b3236b404cbae528f801cc1ad DIST classified-ads-graphics-0.07_p20150728.tar.gz 340476 SHA256 12bd4f581f82c4c805bbf19cc794f7462f9ec0e71358fbc1628fd872169295e2 SHA512 c59f65f37a8e4dddb753dbcdec835e946d9de021c5273319b3cd95ef1c3343715ce4b87d76b2d96264acc791a6cced32967521c74978131bd76fbcfc37bb344d WHIRLPOOL 2535170cdc4cc1d4ad2e204e85b546089b3aa404e4cee0e2ab9d094d6cda869043f24fba29d6f68b37f450ff947c13f02336e63b3236b404cbae528f801cc1ad +DIST classified-ads-graphics-0.09.tar.gz 340476 SHA256 12bd4f581f82c4c805bbf19cc794f7462f9ec0e71358fbc1628fd872169295e2 SHA512 c59f65f37a8e4dddb753dbcdec835e946d9de021c5273319b3cd95ef1c3343715ce4b87d76b2d96264acc791a6cced32967521c74978131bd76fbcfc37bb344d WHIRLPOOL 2535170cdc4cc1d4ad2e204e85b546089b3aa404e4cee0e2ab9d094d6cda869043f24fba29d6f68b37f450ff947c13f02336e63b3236b404cbae528f801cc1ad diff --git a/net-p2p/classified-ads/classified-ads-0.09.ebuild b/net-p2p/classified-ads/classified-ads-0.09.ebuild new file mode 100644 index 0000000..780b04d --- /dev/null +++ b/net-p2p/classified-ads/classified-ads-0.09.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PLOCALES="en fi sv" +PLOCALE_BACKUP="en" +inherit qt4-r2 + +DESCRIPTION="Program for displaying classified advertisement items" +HOMEPAGE="http://katiska.org/classified-ads/" +SRC_URI="https://github.com/operatornormal/classified-ads/archive/${PV}.tar.gz \ + -> classified-ads-${PV}.tar.gz \ + https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \ + -> classified-ads-graphics-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="debug doc test" + +RDEPEND="dev-libs/openssl:0 + dev-libs/qjson + >=net-libs/libnatpmp-20130911 + <=net-libs/libnatpmp-20140401-r1 + >=net-libs/miniupnpc-1.8 + sys-apps/file + sys-devel/gettext + dev-qt/qtcore:4[ssl] + dev-qt/qtsql:4[sqlite] + dev-qt/qtgui:4[debug?]" + +DEPEND="${RDEPEND} + dev-qt/qttest:4 + sys-devel/gdb:0 + doc? ( app-doc/doxygen[dot] ) + test? ( dev-libs/libgcrypt:0 ) + " + +src_prepare() { + # preprocessed graphics are unpacked into wrong directory + # so lets move them into correct location: + mv ../ui/* ui/ || die + # then just run qmake + qt4-r2_src_prepare +} + +src_compile() { + qt4-r2_src_compile + if use doc; then + cd doc || die + doxygen || die + fi +} + +src_test() { + cd test || die "test suite missing" + qmake || die "test suite configure failed" + emake + + if [ -e $HOME/.classified_ads/sqlite_db ]; then + mv $HOME/.classified_ads/sqlite_db $HOME/.classified_ads/sqlite_db.backup \ + || die "datafile backup failed" + fi + ./testca + result=$? + rm $HOME/.classified_ads/sqlite_db || true + + if [ -e $HOME/.classified_ads/sqlite_db.backup ]; then + mv $HOME/.classified_ads/sqlite_db.backup $HOME/.classified_ads/sqlite_db \ + || die "datafile restore failed" + fi + + if [ $result != "0" ]; then + die "test failed with code $result" + fi + + return $result +} + +src_install() { + emake install INSTALL_ROOT="${D}" DESTDIR="${D}" + use doc && dodoc -r doc/doxygen.generated/html/ +}