From: | "Ian Delaney (idella4)" <idella4@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in net-p2p/classified-ads: classified-ads-0.07_p20150728.ebuild ChangeLog |
Date: | Sat, 01 Aug 2015 13:19:36 |
Message-Id: | 20150801131929.9AEA3113@oystercatcher.gentoo.org |
1 | idella4 15/08/01 13:19:29 |
2 | |
3 | Modified: ChangeLog |
4 | Added: classified-ads-0.07_p20150728.ebuild |
5 | Log: |
6 | bump; a snapshot of a post release to address a version update of library miniupnpc wrt bugs #555724 & #555560. SRC_URI adjusted accordingly, also improvements to syntax and style |
7 | |
8 | (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
9 | |
10 | Revision Changes Path |
11 | 1.3 net-p2p/classified-ads/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/classified-ads/ChangeLog?rev=1.3&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/classified-ads/ChangeLog?rev=1.3&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/classified-ads/ChangeLog?r1=1.2&r2=1.3 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-p2p/classified-ads/ChangeLog,v |
20 | retrieving revision 1.2 |
21 | retrieving revision 1.3 |
22 | diff -u -r1.2 -r1.3 |
23 | --- ChangeLog 13 Jul 2015 06:56:29 -0000 1.2 |
24 | +++ ChangeLog 1 Aug 2015 13:19:29 -0000 1.3 |
25 | @@ -1,6 +1,14 @@ |
26 | # ChangeLog for net-p2p/classified-ads |
27 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-p2p/classified-ads/ChangeLog,v 1.2 2015/07/13 06:56:29 idella4 Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-p2p/classified-ads/ChangeLog,v 1.3 2015/08/01 13:19:29 idella4 Exp $ |
30 | + |
31 | +*classified-ads-0.07_p20150728 (01 Aug 2015) |
32 | + |
33 | + 01 Aug 2015; Ian Delaney <idella4@g.o> |
34 | + +classified-ads-0.07_p20150728.ebuild: |
35 | + bump; a snapshot of a post release to address a version update of library |
36 | + miniupnpc wrt bugs #555724 & #555560. SRC_URI adjusted accordingly, also |
37 | + improvements to syntax and style |
38 | |
39 | 13 Jul 2015; Ian Delaney <idella4@g.o> classified-ads-0.07.ebuild: |
40 | remove keyword arm for now due to lack of required pre-testing |
41 | |
42 | |
43 | |
44 | 1.1 net-p2p/classified-ads/classified-ads-0.07_p20150728.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/classified-ads/classified-ads-0.07_p20150728.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/classified-ads/classified-ads-0.07_p20150728.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: classified-ads-0.07_p20150728.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2015 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/net-p2p/classified-ads/classified-ads-0.07_p20150728.ebuild,v 1.1 2015/08/01 13:19:29 idella4 Exp $ |
54 | |
55 | EAPI=5 |
56 | PLOCALES="en fi sv" |
57 | PLOCALE_BACKUP="en" |
58 | inherit qt4-r2 vcs-snapshot |
59 | |
60 | COMMIT_ID="dd2017f3be9d5d68d5fb85af2d626424b3e712e0" |
61 | DESCRIPTION="Program for displaying classified advertisement items" |
62 | HOMEPAGE="http://katiska.org/classified-ads/" |
63 | SRC_URI="https://github.com/operatornormal/classified-ads/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz \ |
64 | https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \ |
65 | -> classified-ads-graphics-${PV}.tar.gz" |
66 | |
67 | LICENSE="LGPL-2.1" |
68 | SLOT="0" |
69 | KEYWORDS="~amd64 ~x86" |
70 | |
71 | IUSE="debug doc test" |
72 | |
73 | RDEPEND="dev-libs/openssl:0 |
74 | dev-libs/qjson |
75 | >=net-libs/libnatpmp-20130911 |
76 | <=net-libs/libnatpmp-20140401-r1 |
77 | >=net-libs/miniupnpc-1.8 |
78 | sys-apps/file |
79 | dev-qt/qtgui:4[debug?]" |
80 | |
81 | DEPEND="${RDEPEND} |
82 | dev-qt/qttest:4 |
83 | sys-devel/gdb:0 |
84 | doc? ( app-doc/doxygen[dot] ) |
85 | test? ( dev-libs/libgcrypt:0 ) |
86 | " |
87 | |
88 | src_prepare() { |
89 | # preprocessed graphics are unpacked into wrong directory |
90 | # so lets move them into correct location: |
91 | mv ../classified-ads-graphics-${PV}/* ui/ || die |
92 | # then just run qmake |
93 | qt4-r2_src_prepare |
94 | } |
95 | |
96 | src_compile() { |
97 | qt4-r2_src_compile |
98 | if use doc; then |
99 | cd doc || die |
100 | doxygen || die |
101 | fi |
102 | } |
103 | |
104 | src_test() { |
105 | cd test || die "test suite missing" |
106 | qmake || die "test suite configure failed" |
107 | emake |
108 | |
109 | if [ -e $HOME/.classified_ads/sqlite_db ]; then |
110 | mv $HOME/.classified_ads/sqlite_db $HOME/.classified_ads/sqlite_db.backup \ |
111 | || die "datafile backup failed" |
112 | fi |
113 | ./testca |
114 | result=$? |
115 | rm $HOME/.classified_ads/sqlite_db || true |
116 | |
117 | if [ -e $HOME/.classified_ads/sqlite_db.backup ]; then |
118 | mv $HOME/.classified_ads/sqlite_db.backup $HOME/.classified_ads/sqlite_db \ |
119 | || die "datafile restore failed" |
120 | fi |
121 | |
122 | if [ $result != "0" ]; then |
123 | die "test failed with code $result" |
124 | fi |
125 | |
126 | return $result |
127 | } |
128 | |
129 | src_install() { |
130 | emake install INSTALL_ROOT="${D}" |
131 | use doc && dodoc -r doc/doxygen.generated/html/ |
132 | } |