diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-08 10:02:27 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-01-08 10:02:27 +0000 |
commit | 5fdb7a571019fb8acc07fc2c7106b11a6af62a2c (patch) | |
tree | a2759d4e4096ad318c12bbac7ce954e68f356ab7 /media-tv/tvtime | |
parent | Update .service file path as well. (diff) | |
download | historical-5fdb7a571019fb8acc07fc2c7106b11a6af62a2c.tar.gz historical-5fdb7a571019fb8acc07fc2c7106b11a6af62a2c.tar.bz2 historical-5fdb7a571019fb8acc07fc2c7106b11a6af62a2c.zip |
old, fails to build with stable linux-headers
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'media-tv/tvtime')
-rw-r--r-- | media-tv/tvtime/ChangeLog | 8 | ||||
-rw-r--r-- | media-tv/tvtime/Manifest | 23 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2+linux-headers-2.6.18.patch | 15 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2-autotools.patch | 73 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2-gcc41.patch | 57 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch | 24 | ||||
-rw-r--r-- | media-tv/tvtime/files/tvtime-1.0.2-libsupc++.patch | 16 | ||||
-rw-r--r-- | media-tv/tvtime/tvtime-1.0.2-r2.ebuild | 87 |
8 files changed, 22 insertions, 281 deletions
diff --git a/media-tv/tvtime/ChangeLog b/media-tv/tvtime/ChangeLog index db5b7eb6fbf9..b732253b124b 100644 --- a/media-tv/tvtime/ChangeLog +++ b/media-tv/tvtime/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-tv/tvtime # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/ChangeLog,v 1.57 2012/01/06 16:53:34 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/ChangeLog,v 1.58 2012/01/08 10:02:27 ssuominen Exp $ + + 08 Jan 2012; Samuli Suominen <ssuominen@gentoo.org> -tvtime-1.0.2-r2.ebuild, + -files/tvtime-1.0.2+linux-headers-2.6.18.patch, + -files/tvtime-1.0.2-autotools.patch, -files/tvtime-1.0.2-gcc41.patch, + -files/tvtime-1.0.2-glibc-2.10.patch, -files/tvtime-1.0.2-libsupc++.patch: + old 06 Jan 2012; Brent Baude <ranger@gentoo.org> tvtime-1.0.2_p20110131-r3.ebuild: diff --git a/media-tv/tvtime/Manifest b/media-tv/tvtime/Manifest index 4c6a1686cbfd..f8c7d2da77c0 100644 --- a/media-tv/tvtime/Manifest +++ b/media-tv/tvtime/Manifest @@ -1,8 +1,6 @@ -AUX tvtime-1.0.2+linux-headers-2.6.18.patch 401 RMD160 a299364d7a35d02f67690c1b4df6e41e274ad0f1 SHA1 ca287bed793e153027f071f9153cd9a06c9a7dc6 SHA256 37d61ef2ec6ef32a83221248a1d13090b05e04fb1f47cb204c93d42abbc18e22 -AUX tvtime-1.0.2-autotools.patch 2944 RMD160 ca3d8249d510a6eb6cd76db89434cb283c1a9f12 SHA1 5e9f19996b1d6e7a0bf7333b60de6c9b66a30310 SHA256 e427364797890f9013315ed5b8c19224bdccd5011c6fd3c2aad480ae287dcf67 -AUX tvtime-1.0.2-gcc41.patch 2114 RMD160 9d9068c95fe551cb4d886857b4c24fcebae790a9 SHA1 79d97ba94d2832584f55ccfc7b2e1edf609151eb SHA256 5272246501f80135ba11fdbe15e345e430bade41c552cfdef696d10396a7cdfd -AUX tvtime-1.0.2-glibc-2.10.patch 963 RMD160 59acc4bb9a3093065f0cc1d203fb10b20bd5346d SHA1 f6ea443a94b60f2d0a69676a8342aa7581b474cc SHA256 1a0f27df35b8dcf86e1f2163b9739d3a195af3cca4c3f312a2ad9f3d25cbf84d -AUX tvtime-1.0.2-libsupc++.patch 698 RMD160 70d89fe5a6ea9326f452cd2770f5e2523895ab68 SHA1 dec1f5f56b707da74600c8b5bec1c2927d57729d SHA256 4856a3e362f4a111a36532a89faaf47b958e3f68fd46bd6a74db1236cf5abf2f +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX tvtime-1.0.2-xinerama.patch 1292 RMD160 1c725852d9c692786614b0e3710a5c38682c1f5e SHA1 39c51a9f264111b6ca400778113d008231613551 SHA256 8177203fe7109782e9d20afa66456e4c21fc973d1fafaa160409b9be29570e5b AUX tvtime-1.0.2_p20110131-autotools.patch 2519 RMD160 2caefca2215a67787774dd096c70d05dcd59f1f0 SHA1 f98c41c2cca295dc06ccdd13f7ab0bb7de7e0483 SHA256 5992ce49c0c76304911145e20c53505cf962f8e78ad0178d10fc177d4669b1b9 AUX tvtime-1.0.2_p20110131-gettext.patch 2443 RMD160 0f28fdbc151dce2a3f78d8e77a2b806e4280c87e SHA1 dc0a3b184d565ce53ae35f63003b3d8e40f31848 SHA256 efdb636f290ee653eb0215041141ea7c0226396425dbe26ff5c4c9edf86e1ebd @@ -13,9 +11,18 @@ AUX tvtime-pic.patch 254 RMD160 31f3fb8937ae15c28ade1f55a1a6947bf31766cf SHA1 3d DIST tvtime-1.0.2-alsa-fixes.patch 4304 RMD160 352e411ba87c88521cf5ce331c56945e0d1078ba SHA1 25e9b6b25219c08efe1dfc7e134c0f701250cd88 SHA256 827bb1eef552cf777a44ba52bcd13849485e1014bf492b06dbc38efd165da371 DIST tvtime-1.0.2-alsa-r1.patch 17031 RMD160 256580705c3e77bcf1b08256a8db80d749d04345 SHA1 18e06015ae569b291e4a412921f0ae78853ccc23 SHA256 fb97054807cb201c7d715c1da667975b4cb9aea0abb31c8d942a2e8d4c16f4ef DIST tvtime-1.0.2-alsamixer-r1.patch 36504 RMD160 bf71724599eaacece996410834e4ac8fc7ec877b SHA1 65ae34312040a259f4264f46e573a9b4d48cecef SHA256 7cc68aad9f39772177a6eb3852ec1cd9882480988dbb2a7f8c7b83c8c1187399 -DIST tvtime-1.0.2.tar.gz 1645742 RMD160 e7d9621054edba5833f4ea002be8979983fbf3dc SHA1 ea609876084b2d627a84a1f77bf81cc2175ee58e SHA256 aef2a4bab084df252428d66cabec61b4c63fab32cdfc0cc6599d82efd77f0523 DIST tvtime-1.0.2_p20110131.tar.bz2 3800555 RMD160 64d15f09f3ebfe4399115168d355689470a6d03a SHA1 71fddd2624debb719faa3dd03aa827e93d8eb6db SHA256 37f8f87b52519f80e3d49c7a619706da2c45b526f67e13cdda21fbdf17e1c583 -EBUILD tvtime-1.0.2-r2.ebuild 2200 RMD160 55d6ad28970da609693321525b7e683675df1e17 SHA1 06e9ec116bdcca0b025ca12d82fa5526e41ba252 SHA256 b1c4c8e814b0e799da1cd50e82613dfe785f2adab420b82948c618a6a9ba8f08 EBUILD tvtime-1.0.2_p20110131-r3.ebuild 2712 RMD160 14867a1748fd1c29774fb64e3e9839fe1fe8d357 SHA1 48b10bfb09dfee56f79a90fe464f61a7ac0623cc SHA256 ba995c0f2c84715080b72f24784618575d8467fc931e86531f704bf4278299a7 -MISC ChangeLog 10788 RMD160 c73c2f8365455798f76b3d2ae05f4380977ed674 SHA1 195a982ffe8ce59334430e710fcdf4a3d0ed86f2 SHA256 669d84dde4e727c3eb490161b67eb71e6c6abfb7c6d711c1a9b94db9b56d1dfa +MISC ChangeLog 11076 RMD160 2e4b9956638c3f8a480003b2b7bfa326a05f4d66 SHA1 f8998bc5fa48832e9387f673178aa9bb38a9235e SHA256 6297dd2458218627dd27791ca95b31d32bbb36003f2d29d4dc6228c097625dcc MISC metadata.xml 459 RMD160 6a80df6dfb1d5e7cec3f464891780b7b49db1f67 SHA1 b647da8e8ffa52ca497f27e59c5e35b30e5a5f66 SHA256 7e42f1f1905968b18a8a041ece14a2750209d04bac97cb06eb534bb7aa8cf8c4 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iQEcBAEBAgAGBQJPCWlnAAoJEEdUh39IaPFNjCgH/0X+fGSvdolPEWUW57eG7P2v +Y5Ovrom9nEN29Q1yYEytgP3wBWqvu6mg3u5WzMfl3jQsGTjyiIjMlgHbtuzRpA5p +HFEkWqF3CN+X10DER5u8MX8uK3c4QHHipUcyey+mX7xGsnUUFCr205UdTohtRJ69 +2Yi2wAdxgzmAP9q3ZxZRxHFJp/vsQSulVe94knYkqAWNdLbWG2jUmiq7Vi4jQDru +71Ma3MiYRJOf4F01p8aj5a3trOpjr2wgJD5HpwNcDNfsje0Hl2IIVxbcQNPFGA/B +nDNJbASynp4c7MF2eWlCc7Uykq6XRuzwBsWJmBpw+AgA2Tt0ksitym5wMzfrpFo= +=QUMY +-----END PGP SIGNATURE----- diff --git a/media-tv/tvtime/files/tvtime-1.0.2+linux-headers-2.6.18.patch b/media-tv/tvtime/files/tvtime-1.0.2+linux-headers-2.6.18.patch deleted file mode 100644 index b1cfd49f1ba9..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2+linux-headers-2.6.18.patch +++ /dev/null @@ -1,15 +0,0 @@ -Index: tvtime-1.0.2/src/videoinput.c -=================================================================== ---- tvtime-1.0.2.orig/src/videoinput.c -+++ tvtime-1.0.2/src/videoinput.c -@@ -35,8 +35,8 @@ - #ifdef HAVE_CONFIG_H - # include "config.h" - #endif --#include "videodev.h" --#include "videodev2.h" -+#include <linux/videodev.h> -+#include <linux/videodev2.h> - #include "videoinput.h" - #include "mixer.h" - diff --git a/media-tv/tvtime/files/tvtime-1.0.2-autotools.patch b/media-tv/tvtime/files/tvtime-1.0.2-autotools.patch deleted file mode 100644 index bf02ebefa529..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2-autotools.patch +++ /dev/null @@ -1,73 +0,0 @@ -Index: tvtime-1.0.2/src/Makefile.am -=================================================================== ---- tvtime-1.0.2.orig/src/Makefile.am -+++ tvtime-1.0.2/src/Makefile.am -@@ -19,9 +19,6 @@ pkgsysconfdir = $(sysconfdir)/@PACKAGE@ - tmpdir = /tmp - localedir = $(datadir)/locale - --TTF_CFLAGS = `$(FREETYPE_CONFIG) --cflags` --TTF_LIBS = `$(FREETYPE_CONFIG) --libs` -- - # Set the following if you want to specify an additional font directory - # FONT_CFLAGS = -DFONTDIR='/usr/share/fonts/truetype/freefont/' - -@@ -76,20 +73,20 @@ tvtime_SOURCES = $(COMMON_SRCS) $(OUTPUT - tvtime_CFLAGS = $(TTF_CFLAGS) $(PNG_CFLAGS) $(OPT_CFLAGS) \ - $(PLUGIN_CFLAGS) $(X11_CFLAGS) $(XML2_FLAG) \ - $(FONT_CFLAGS) $(AM_CFLAGS) --tvtime_LDFLAGS = $(TTF_LIBS) $(ZLIB_LIBS) $(PNG_LIBS) \ -+tvtime_LDADD = $(TTF_LIBS) $(ZLIB_LIBS) $(PNG_LIBS) \ - $(X11_LIBS) $(XML2_LIBS) -lm -lsupc++ - - tvtime_command_SOURCES = utils.h utils.c tvtimeconf.h tvtimeconf.c \ - tvtime-command.c - tvtime_command_CFLAGS = $(OPT_CFLAGS) $(XML2_FLAG) $(AM_CFLAGS) --tvtime_command_LDFLAGS = $(ZLIB_LIBS) $(XML2_LIBS) -+tvtime_command_LDADD = $(ZLIB_LIBS) $(XML2_LIBS) - tvtime_configure_SOURCES = utils.h utils.c tvtimeconf.h tvtimeconf.c \ - tvtime-configure.c - tvtime_configure_CFLAGS = $(OPT_CFLAGS) $(XML2_FLAG) $(AM_CFLAGS) --tvtime_configure_LDFLAGS = $(ZLIB_LIBS) $(XML2_LIBS) -+tvtime_configure_LDADD = $(ZLIB_LIBS) $(XML2_LIBS) - tvtime_scanner_SOURCES = utils.h utils.c videoinput.h videoinput.c \ - tvtimeconf.h tvtimeconf.c station.h station.c tvtime-scanner.c \ - mixer.h mixer.c - tvtime_scanner_CFLAGS = $(OPT_CFLAGS) $(XML2_FLAG) $(AM_CFLAGS) --tvtime_scanner_LDFLAGS = $(ZLIB_LIBS) $(XML2_LIBS) -+tvtime_scanner_LDADD = $(ZLIB_LIBS) $(XML2_LIBS) - -Index: tvtime-1.0.2/configure.ac -=================================================================== ---- tvtime-1.0.2.orig/configure.ac -+++ tvtime-1.0.2/configure.ac -@@ -10,6 +10,7 @@ if test x"$host_alias" = x""; then host_ - - # Check for compilers. - AC_PROG_CC -+AM_PROG_CC_C_O - AC_CHECK_PROG(found_cc, "$CC", yes, no) - test "x$found_cc" = "xyes" || exit 1 - -@@ -17,9 +18,6 @@ AC_PROG_CXX - AC_CHECK_PROG(found_cxx, "$CXX", yes, no) - test "x$found_cxx" = "xyes" || exit 1 - --# Check for libtool. --AC_PROG_LIBTOOL -- - # Checks for header files. - AC_HEADER_STDC - AC_CHECK_HEADERS([ctype.h dirent.h errno.h fcntl.h getopt.h langinfo.h math.h netinet/in.h pwd.h signal.h stdint.h stdio.h stdlib.h string.h sys/ioctl.h sys/mman.h sys/resource.h sys/stat.h sys/time.h sys/wait.h sys/types.h unistd.h wordexp.h locale.h]) -@@ -65,10 +63,7 @@ dnl ------------------------------------ - dnl freetype - dnl --------------------------------------------- - dnl Test for freetype --AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) --if test "$FREETYPE_CONFIG" = "no" ; then -- AC_MSG_ERROR(freetype2 needed and freetype-config not found) --fi -+PKG_CHECK_MODULES([TTF], [freetype2]) - - dnl --------------------------------------------- - dnl libxml2 diff --git a/media-tv/tvtime/files/tvtime-1.0.2-gcc41.patch b/media-tv/tvtime/files/tvtime-1.0.2-gcc41.patch deleted file mode 100644 index 58e9bb204e10..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2-gcc41.patch +++ /dev/null @@ -1,57 +0,0 @@ -diff -Naur tvtime-1.0.1/plugins/greedyh.asm tvtime-1.0.1-gcc41/plugins/greedyh.asm ---- tvtime-1.0.1/plugins/greedyh.asm 2005-08-14 18:16:43.000000000 +0200 -+++ tvtime-1.0.1-gcc41/plugins/greedyh.asm 2005-11-28 17:53:09.210774544 +0100 -@@ -18,7 +18,7 @@ - - #include "x86-64_macros.inc" - --void DScalerFilterGreedyH::FUNCT_NAME(TDeinterlaceInfo* pInfo) -+void FUNCT_NAME(TDeinterlaceInfo* pInfo) - { - int64_t i; - bool InfoIsOdd = (pInfo->PictureHistory[0]->Flags & PICTURE_INTERLACED_ODD) ? 1 : 0; -diff -Naur tvtime-1.0.1/plugins/tomsmocomp/TomsMoCompAll2.inc tvtime-1.0.1-gcc41/plugins/tomsmocomp/TomsMoCompAll2.inc ---- tvtime-1.0.1/plugins/tomsmocomp/TomsMoCompAll2.inc 2004-10-20 17:31:05.000000000 +0200 -+++ tvtime-1.0.1-gcc41/plugins/tomsmocomp/TomsMoCompAll2.inc 2005-11-28 17:53:33.251119856 +0100 -@@ -5,9 +5,9 @@ - #endif - - #ifdef USE_STRANGE_BOB --#define SEARCH_EFFORT_FUNC(n) DScalerFilterTomsMoComp::SEFUNC(n##_SB) -+#define SEARCH_EFFORT_FUNC(n) SEFUNC(n##_SB) - #else --#define SEARCH_EFFORT_FUNC(n) DScalerFilterTomsMoComp::SEFUNC(n) -+#define SEARCH_EFFORT_FUNC(n) SEFUNC(n) - #endif - - int SEARCH_EFFORT_FUNC(0) // we don't try at all ;-) -diff -Naur tvtime-1.0.1/plugins/tomsmocomp.cpp tvtime-1.0.1-gcc41/plugins/tomsmocomp.cpp ---- tvtime-1.0.1/plugins/tomsmocomp.cpp 2004-10-20 19:38:04.000000000 +0200 -+++ tvtime-1.0.1-gcc41/plugins/tomsmocomp.cpp 2005-11-28 17:52:53.862107896 +0100 -@@ -31,7 +31,7 @@ - - #define IS_MMX - #define SSE_TYPE MMX --#define FUNCT_NAME DScalerFilterTomsMoComp::filterDScaler_MMX -+#define FUNCT_NAME filterDScaler_MMX - #include "tomsmocomp/TomsMoCompAll.inc" - #undef IS_MMX - #undef SSE_TYPE -@@ -39,7 +39,7 @@ - - #define IS_3DNOW - #define SSE_TYPE 3DNOW --#define FUNCT_NAME DScalerFilterTomsMoComp::filterDScaler_3DNOW -+#define FUNCT_NAME filterDScaler_3DNOW - #include "tomsmocomp/TomsMoCompAll.inc" - #undef IS_3DNOW - #undef SSE_TYPE -@@ -47,7 +47,7 @@ - - #define IS_SSE - #define SSE_TYPE SSE --#define FUNCT_NAME DScalerFilterTomsMoComp::filterDScaler_SSE -+#define FUNCT_NAME filterDScaler_SSE - #include "tomsmocomp/TomsMoCompAll.inc" - #undef IS_SSE - #undef SSE_TYPE diff --git a/media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch b/media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch deleted file mode 100644 index c3d8ad87d733..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2-glibc-2.10.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur tvtime-1.0.2.org/src/xmltv.c tvtime-1.0.2/src/xmltv.c ---- tvtime-1.0.2.org/src/xmltv.c 2009-07-02 21:48:49.426191088 +0200 -+++ tvtime-1.0.2/src/xmltv.c 2009-07-02 21:50:20.842066085 +0200 -@@ -118,9 +118,9 @@ - typedef struct { - const char *code; - const char *name; --} locale_t; -+} tvtime_locale_t; - --static locale_t locale_table[] = { -+static tvtime_locale_t locale_table[] = { - {"AA", "Afar"}, {"AB", "Abkhazian"}, {"AF", "Afrikaans"}, - {"AM", "Amharic"}, {"AR", "Arabic"}, {"AS", "Assamese"}, - {"AY", "Aymara"}, {"AZ", "Azerbaijani"}, {"BA", "Bashkir"}, -@@ -168,7 +168,7 @@ - {"XH", "Xhosa"}, {"YO", "Yoruba"}, {"ZH", "Chinese"}, - {"ZU", "Zulu"} }; - --const int num_locales = sizeof( locale_table ) / sizeof( locale_t ); -+const int num_locales = sizeof( locale_table ) / sizeof( tvtime_locale_t ); - - /** - * Timezone parsing code based loosely on the algorithm in diff --git a/media-tv/tvtime/files/tvtime-1.0.2-libsupc++.patch b/media-tv/tvtime/files/tvtime-1.0.2-libsupc++.patch deleted file mode 100644 index cc76d2decc62..000000000000 --- a/media-tv/tvtime/files/tvtime-1.0.2-libsupc++.patch +++ /dev/null @@ -1,16 +0,0 @@ -Link to libsupc++ instead of bringing in libstdc++ just because tomsocomp -is written in C++. It does not use STL so it needs not the whole standard -library. -Index: tvtime-1.0.2/src/Makefile.am -=================================================================== ---- tvtime-1.0.2.orig/src/Makefile.am -+++ tvtime-1.0.2/src/Makefile.am -@@ -77,7 +77,7 @@ tvtime_CFLAGS = $(TTF_CFLAGS) $(PNG_CFLA - $(PLUGIN_CFLAGS) $(X11_CFLAGS) $(XML2_FLAG) \ - $(FONT_CFLAGS) $(AM_CFLAGS) - tvtime_LDFLAGS = $(TTF_LIBS) $(ZLIB_LIBS) $(PNG_LIBS) \ -- $(X11_LIBS) $(XML2_LIBS) -lm -lstdc++ -+ $(X11_LIBS) $(XML2_LIBS) -lm -lsupc++ - - tvtime_command_SOURCES = utils.h utils.c tvtimeconf.h tvtimeconf.c \ - tvtime-command.c diff --git a/media-tv/tvtime/tvtime-1.0.2-r2.ebuild b/media-tv/tvtime/tvtime-1.0.2-r2.ebuild deleted file mode 100644 index 072f00722a2a..000000000000 --- a/media-tv/tvtime/tvtime-1.0.2-r2.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/tvtime/tvtime-1.0.2-r2.ebuild,v 1.8 2011/10/10 18:51:25 ssuominen Exp $ - -inherit eutils autotools - -DESCRIPTION="High quality television application for use with video capture cards" -HOMEPAGE="http://tvtime.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="nls xinerama" - -RDEPEND="x11-libs/libSM - x11-libs/libICE - x11-libs/libX11 - x11-libs/libXext - x11-libs/libXv - x11-libs/libXxf86vm - xinerama? ( x11-libs/libXinerama ) - x11-libs/libXtst - x11-libs/libXau - x11-libs/libXdmcp - >=media-libs/freetype-2 - >=sys-libs/zlib-1.1.4 - >=media-libs/libpng-1.2 - >=dev-libs/libxml2-2.5.11 - nls? ( virtual/libintl )" - -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext ) - dev-util/pkgconfig" - -src_unpack() { - unpack ${A} - cd "${S}" - - epatch "${FILESDIR}"/${P}-gcc41.patch - epatch "${FILESDIR}"/${P}-glibc-2.10.patch - - # use 'tvtime' for the application icon see bug #66293 - sed -i -e "s/tvtime.png/tvtime/" docs/net-tvtime.desktop - - # patch to adapt to PIC or __PIC__ for pic support - epatch "${FILESDIR}"/${PN}-pic.patch #74227 - - epatch "${FILESDIR}/${P}-xinerama.patch" - - # Remove linux headers and patch to build with 2.6.18 headers - rm -f "${S}"/src/{videodev.h,videodev2.h} - epatch "${FILESDIR}/${P}+linux-headers-2.6.18.patch" - - epatch "${FILESDIR}/${P}-libsupc++.patch" - - epatch "${FILESDIR}/${P}-autotools.patch" - - # error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function) - sed -i -e '1i#include <zlib.h>' src/pngoutput.c || die - - AT_M4DIR="m4" eautoreconf -} - -src_compile() { - econf $(use_enable nls) \ - $(use_with xinerama) || die "econf failed" - emake || die "compile problem" - -} - -src_install() { - make DESTDIR="${D}" install || die "make install failed" - - dohtml docs/html/* - dodoc ChangeLog AUTHORS NEWS README -} - -pkg_postinst() { - elog "A default setup for ${PN} has been saved as" - elog "/etc/tvtime/tvtime.xml. You may need to modify it" - elog "for your needs." - elog - elog "Detailed information on ${PN} setup can be" - elog "found at ${HOMEPAGE}help.html" - echo -} |