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

Collapse All | Expand All

(-)/usr/portage/media-tv/tvtime/tvtime-1.0.2_p20110131-r3.ebuild (-25 / +8 lines)
Lines 1-23 Link Here
1
# Copyright 1999-2012 Gentoo Foundation
1
# Copyright 1999-2012 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/media-tv/tvtime/tvtime-1.0.2_p20110131-r3.ebuild,v 1.5 2012/05/02 21:32:37 jdhore Exp $
3
# $Header: $
4
4
5
EAPI=4
5
EAPI=4
6
inherit eutils autotools
6
inherit eutils autotools
7
7
8
TVTIME_HGREV="111b28cca42d"
9
10
DESCRIPTION="High quality television application for use with video capture cards"
8
DESCRIPTION="High quality television application for use with video capture cards"
11
HOMEPAGE="http://tvtime.sourceforge.net/"
9
HOMEPAGE="http://tvtime.sourceforge.net/"
12
SRC_URI="http://www.kernellabs.com/hg/~dheitmueller/tvtime/archive/${TVTIME_HGREV}.tar.bz2 -> ${P}.tar.bz2
10
SRC_URI="http://www.renesp.com.br/files/gentoo/${P}-r4.tar.gz"
13
http://dev.gentoo.org/~a3li/distfiles/${PN}-1.0.2-alsamixer-r1.patch
14
http://dev.gentoo.org/~a3li/distfiles/${PN}-1.0.2-alsa-r1.patch
15
http://dev.gentoo.org/~a3li/distfiles/${PN}-1.0.2-alsa-fixes.patch"
16
11
17
LICENSE="GPL-2"
12
LICENSE="GPL-2"
18
SLOT="0"
13
SLOT="0"
19
KEYWORDS="amd64 ppc x86"
14
KEYWORDS="amd64 ppc x86 ~x86"
20
IUSE="alsa nls xinerama"
15
IUSE="nls xinerama"
21
16
22
RDEPEND="x11-libs/libSM
17
RDEPEND="x11-libs/libSM
23
	x11-libs/libICE
18
	x11-libs/libICE
Lines 33-49 Link Here
33
	>=sys-libs/zlib-1.1.4
28
	>=sys-libs/zlib-1.1.4
34
	>=media-libs/libpng-1.2
29
	>=media-libs/libpng-1.2
35
	>=dev-libs/libxml2-2.5.11
30
	>=dev-libs/libxml2-2.5.11
36
	alsa? ( media-libs/alsa-lib )
37
	nls? ( virtual/libintl )"
31
	nls? ( virtual/libintl )"
38
32
39
DEPEND="${RDEPEND}
33
DEPEND="${RDEPEND}
40
	nls? ( sys-devel/gettext )
34
	nls? ( sys-devel/gettext )
41
	virtual/pkgconfig"
35
	virtual/pkgconfig"
42
36
43
S="${WORKDIR}/${PN}-${TVTIME_HGREV}"
44
DOCS=( ChangeLog AUTHORS NEWS README )
37
DOCS=( ChangeLog AUTHORS NEWS README )
45
38
46
src_prepare() {
39
src_prepare() {
40
	# patch the desktop file to remove deprecated values
41
	epatch "${FILESDIR}/${PN}-desktopfile.patch"
42
47
	# Rename the desktop file, bug #308297
43
	# Rename the desktop file, bug #308297
48
	mv docs/net-tvtime.desktop docs/tvtime.desktop || die
44
	mv docs/net-tvtime.desktop docs/tvtime.desktop || die
49
	sed -i -e "s/net-tvtime.desktop/tvtime.desktop/g" docs/Makefile.am || die
45
	sed -i -e "s/net-tvtime.desktop/tvtime.desktop/g" docs/Makefile.am || die
Lines 56-76 Link Here
56
52
57
	epatch "${FILESDIR}/${PN}-1.0.2-xinerama.patch"
53
	epatch "${FILESDIR}/${PN}-1.0.2-xinerama.patch"
58
54
59
	# Remove linux headers and patch to build with 2.6.18 headers
55
	epatch "${FILESDIR}/${P}_p20110131-gettext.patch"
60
	rm -f "${S}"/src/{videodev.h,videodev2.h} || die
61
62
	epatch "${FILESDIR}/${P}-libsupc++.patch"
63
64
	epatch "${FILESDIR}/${P}-autotools.patch"
65
	epatch "${FILESDIR}/${P}-gettext.patch"
66
	epatch "${FILESDIR}/${PN}-libpng-1.5.patch"
56
	epatch "${FILESDIR}/${PN}-libpng-1.5.patch"
67
	epatch "${FILESDIR}/${P}-underlinking.patch" #370025
68
69
	if use alsa; then
70
		epatch "${DISTDIR}/${PN}-1.0.2-alsa-r1.patch"
71
		epatch "${DISTDIR}/${PN}-1.0.2-alsamixer-r1.patch"
72
		epatch "${DISTDIR}/${PN}-1.0.2-alsa-fixes.patch"
73
	fi
74
57
75
	AT_M4DIR="m4" eautoreconf
58
	AT_M4DIR="m4" eautoreconf
76
}
59
}

Return to bug 424289