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 (-17 / +13 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
DESCRIPTION="Program for displaying classified advertisement items"
10
DESCRIPTION="Program for displaying classified advertisement items"
11
HOMEPAGE="http://katiska.org/classified-ads/"
11
HOMEPAGE="http://katiska.org/classified-ads/"
12
SRC_URI="https://github.com/operatornormal/classified-ads/archive/${PV}.tar.gz \
12
COMMIT_ID="dd2017f3be9d5d68d5fb85af2d626424b3e712e0"
13
		-> classified-ads-${PV}.tar.gz \
13
SRC_URI="https://github.com/operatornormal/classified-ads/archive/${COMMIT_ID}.tar.gz\
14
	https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true \
14
 -> ${P}.tar.gz \
15
		-> classified-ads-graphics-${PV}.tar.gz"
15
https://github.com/operatornormal/classified-ads/blob/graphics/preprocessed.tar.gz?raw=true\
16
 -> classified-ads-graphics-${PV}.tar.gz"
16
17
17
LICENSE="LGPL-2.1"
18
LICENSE="LGPL-2.1"
18
SLOT="0"
19
SLOT="0"
Lines 20-48 Link Here
20
21
21
IUSE="debug doc test"
22
IUSE="debug doc test"
22
23
23
DEPEND="dev-libs/openssl:0
24
RDEPEND="dev-libs/openssl:0
24
	dev-libs/qjson
25
	dev-libs/qjson
25
	>=net-libs/libnatpmp-20130911
26
	>=net-libs/libnatpmp-20130911
26
	<=net-libs/libnatpmp-20140401-r1
27
	<=net-libs/libnatpmp-20140401-r1
27
	>=net-libs/miniupnpc-1.8
28
	>=net-libs/miniupnpc-1.8
28
	sys-apps/file
29
	sys-apps/file
29
	dev-qt/qtgui:4[debug?]
30
	dev-qt/qtgui:4[debug?]"
31
32
DEPEND="${RDEPEND}
30
	test? (	dev-libs/libgcrypt:0
33
	test? (	dev-libs/libgcrypt:0
31
		dev-qt/qttest:4
34
		dev-qt/qttest:4
32
		sys-devel/gdb:0 )
35
		sys-devel/gdb:0 )
33
	doc? ( app-doc/doxygen[dot] )"
36
	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
37
42
src_prepare() {
38
src_prepare() {
43
	# preprocessed graphics are unpacked into wrong directory
39
	# preprocessed graphics are unpacked into wrong directory
44
	# so lets move them into correct location:
40
	# so lets move them into correct location:
45
	mv ../ui/* ui/ || die
41
	mv ../classified-ads-graphics-${PV}/* ui/ || die
46
	# then just run qmake
42
	# then just run qmake
47
	qt4-r2_src_prepare
43
	qt4-r2_src_prepare
48
}
44
}
Lines 58-64 Link Here
58
src_test() {
54
src_test() {
59
	cd test || die "test suite missing"
55
	cd test || die "test suite missing"
60
	qmake || die "test suite configure failed"
56
	qmake || die "test suite configure failed"
61
	make
57
	emake
62
58
63
	if [ -e $HOME/.classified_ads/sqlite_db ]; then
59
	if [ -e $HOME/.classified_ads/sqlite_db ]; then
64
		mv $HOME/.classified_ads/sqlite_db $HOME/.classified_ads/sqlite_db.backup \
60
		mv $HOME/.classified_ads/sqlite_db $HOME/.classified_ads/sqlite_db.backup \

Return to bug 555724