Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 385353
Collapse All | Expand All

(-)tvtime-1.0.2_p20110131-r2.ebuild.old (-9 / +6 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/tvtime-1.0.2_p20110131-r2.ebuild,v 1.1 2011/10/13 08:13:56 a3li Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/tvtime-1.0.2_p20110131-r2.ebuild,v 1.1 2011/10/13 08:13:56 a3li Exp $
4
4
5
EAPI=4
5
EAPI=4
6
inherit eutils autotools
6
inherit eutils autotools flag-o-matic
7
7
8
TVTIME_HGREV="111b28cca42d"
8
TVTIME_HGREV="111b28cca42d"
9
9
Lines 41-46 Link Here
41
41
42
S="${WORKDIR}/${PN}-${TVTIME_HGREV}"
42
S="${WORKDIR}/${PN}-${TVTIME_HGREV}"
43
43
44
DOCS=( ChangeLog AUTHORS NEWS README )
45
44
src_prepare() {
46
src_prepare() {
45
	# Rename the desktop file, bug #308297
47
	# Rename the desktop file, bug #308297
46
	mv docs/net-tvtime.desktop docs/tvtime.desktop || die
48
	mv docs/net-tvtime.desktop docs/tvtime.desktop || die
Lines 72-92 Link Here
72
}
74
}
73
75
74
src_configure() {
76
src_configure() {
77
	append-ldflags -lpthread #Fix underlinking, #370025
75
	econf \
78
	econf \
76
		$(use_enable nls) \
79
		$(use_enable nls) \
77
		$(use_with xinerama) || die "econf failed"
80
		$(use_with xinerama)
78
}
79
80
src_compile() {
81
	# Fix underlinking, #370025
82
	emake LDFLAGS="${LDFLAGS} -lpthread" || die "compile problem"
83
}
81
}
84
82
85
src_install() {
83
src_install() {
86
	make DESTDIR="${D}" install || die "make install failed"
84
	default
87
85
88
	dohtml docs/html/*
86
	dohtml docs/html/*
89
	dodoc ChangeLog AUTHORS NEWS README
90
}
87
}
91
88
92
pkg_postinst() {
89
pkg_postinst() {

Return to bug 385353