Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 555724 | Differences between
and this patch

Collapse All | Expand All

(-)classified-ads-0.07.ebuild (-24 / +19 lines)
Lines 1-18 Link Here
1
# Copyright 1999-2015 Gentoo Foundation
1
# Copyright 1999-2015 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-p2p/classified-ads/classified-ads-0.07.ebuild,v 1.2 2015/07/13 06:56:29 idella4 Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-p2p/classified-ads/classified-ads-0.07.ebuild,v 1.1 2015/06/29 05:39:09 idella4 Exp $
4
4
5
EAPI=5
5
EAPI=5
6
PLOCALES="en fi sv"
6
PLOCALES="en fi sv"
7
PLOCALE_BACKUP="en"
7
PLOCALE_BACKUP="en"
8
inherit qt4-r2
8
inherit qt4-r2 vcs-snapshot
9
9
10
COMMIT_ID="dd2017f3be9d5d68d5fb85af2d626424b3e712e0"
10
DESCRIPTION="Program for displaying classified advertisement items"
11
DESCRIPTION="Program for displaying classified advertisement items"
11
HOMEPAGE="http://katiska.org/classified-ads/"
12
HOMEPAGE="http://katiska.org/classified-ads/"
12
SRC_URI="https://github.com/operatornormal/classified-ads/archive/${PV}.tar.gz \
13
SRC_URI="https://github.com/operatornormal/classified-ads/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz \
13
		-> classified-ads-${PV}.tar.gz \
14
https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \
14
	https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \
15
 -> classified-ads-graphics-${PV}.tar.gz"
15
		-> classified-ads-graphics-${PV}.tar.gz"
16
16
17
LICENSE="LGPL-2.1"
17
LICENSE="LGPL-2.1"
18
SLOT="0"
18
SLOT="0"
Lines 20-48 Link Here
20
20
21
IUSE="debug doc test"
21
IUSE="debug doc test"
22
22
23
DEPEND="dev-libs/openssl:0
23
RDEPEND="dev-libs/openssl:0
24
	dev-libs/qjson
24
		dev-libs/qjson
25
	>=net-libs/libnatpmp-20130911
25
		>=net-libs/libnatpmp-20130911
26
	<=net-libs/libnatpmp-20140401-r1
26
		<=net-libs/libnatpmp-20140401-r1
27
	>=net-libs/miniupnpc-1.8
27
		>=net-libs/miniupnpc-1.8
28
	sys-apps/file
28
		sys-apps/file
29
	dev-qt/qtgui:4[debug?]
29
		dev-qt/qtgui:4[debug?]"
30
	test? (	dev-libs/libgcrypt:0
30
31
DEPEND="${RDEPEND}
32
		test? (	dev-libs/libgcrypt:0
31
		dev-qt/qttest:4
33
		dev-qt/qttest:4
32
		sys-devel/gdb:0 )
34
		sys-devel/gdb:0 )
33
	doc? ( app-doc/doxygen[dot] )"
35
		doc? ( app-doc/doxygen[dot] )"
34
RDEPEND="dev-libs/openssl:0
35
	dev-libs/qjson
36
	>=net-libs/libnatpmp-20130911
37
	<=net-libs/libnatpmp-20140401-r1
38
	>=net-libs/miniupnpc-1.8
39
	sys-apps/file
40
	dev-qt/qtgui:4[debug?]"
41
36
42
src_prepare() {
37
src_prepare() {
43
	# preprocessed graphics are unpacked into wrong directory
38
	# preprocessed graphics are unpacked into wrong directory
44
	# so lets move them into correct location:
39
	# so lets move them into correct location:
45
	mv ../ui/* ui/ || die
40
	mv ../classified-ads-graphics-${PV}/* ui/ || die
46
	# then just run qmake
41
	# then just run qmake
47
	qt4-r2_src_prepare
42
	qt4-r2_src_prepare
48
}
43
}
Lines 58-64 Link Here
58
src_test() {
53
src_test() {
59
	cd test || die "test suite missing"
54
	cd test || die "test suite missing"
60
	qmake || die "test suite configure failed"
55
	qmake || die "test suite configure failed"
61
	make
56
	emake
62
57
63
	if [ -e $HOME/.classified_ads/sqlite_db ]; then
58
	if [ -e $HOME/.classified_ads/sqlite_db ]; then
64
		mv $HOME/.classified_ads/sqlite_db $HOME/.classified_ads/sqlite_db.backup \
59
		mv $HOME/.classified_ads/sqlite_db $HOME/.classified_ads/sqlite_db.backup \

Return to bug 555724