Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/comical: ChangeLog comical-0.8-r2.ebuild
Date: Sun, 05 Sep 2010 04:27:54
Message-Id: 20100905042745.727FC20054@flycatcher.gentoo.org
1 dirtyepic 10/09/05 04:27:45
2
3 Modified: ChangeLog
4 Added: comical-0.8-r2.ebuild
5 Log:
6 Migrate to wxGTK-2.8.
7
8 (Portage version: 2.2_rc75/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.12 media-gfx/comical/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/comical/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/comical/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/comical/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/comical/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 16 Dec 2009 22:30:42 -0000 1.11
24 +++ ChangeLog 5 Sep 2010 04:27:45 -0000 1.12
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-gfx/comical
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/comical/ChangeLog,v 1.11 2009/12/16 22:30:42 maekke Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/comical/ChangeLog,v 1.12 2010/09/05 04:27:45 dirtyepic Exp $
31 +
32 +*comical-0.8-r2 (05 Sep 2010)
33 +
34 + 05 Sep 2010; Ryan Hill <dirtyepic@g.o> +comical-0.8-r2.ebuild,
35 + +files/comical-0.8-wxGTK-2.8.patch:
36 + Migrate to wxGTK-2.8.
37
38 16 Dec 2009; Markus Meier <maekke@g.o> files/comical.desktop:
39 fix .desktop as pointed out by ssuominen
40
41
42
43 1.1 media-gfx/comical/comical-0.8-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/comical/comical-0.8-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/comical/comical-0.8-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: comical-0.8-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-gfx/comical/comical-0.8-r2.ebuild,v 1.1 2010/09/05 04:27:45 dirtyepic Exp $
53
54 EAPI=2
55
56 inherit eutils wxwidgets
57
58 DESCRIPTION="Comical is a sequential image display program, to deal with .cbr and .cbz files"
59 HOMEPAGE="http://comical.sourceforge.net/"
60 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
61
62 LICENSE="GPL-2 unRAR"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86 ~x86-fbsd"
65 DEPEND="x11-libs/wxGTK:2.8"
66 RDEPEND="${DEPEND}"
67 IUSE=""
68
69 src_prepare() {
70 export WX_GTK_VER="2.8"
71 need-wxwidgets unicode
72
73 epatch "${FILESDIR}"/${P}-wxGTK-2.8.patch
74
75 # Fix Makefiles
76 # replace wx-config for wx-config-2.8
77 sed -i -e "s:wx-config:${WX_CONFIG}:" Makefile src/Makefile
78 # CFLAGS
79 sed -i -e "s:CFLAGS = -O2 -Wall -pipe:CFLAGS = ${CFLAGS}:" src/Makefile
80 sed -i -e "s:CXXFLAGS=-O2 -fPIC:CXXFLAGS = ${CXXFLAGS} -fPIC:" unrar/makefile.linux
81 sed -i -e "s:CFLAGS=-Os:CFLAGS = ${CFLAGS}:" unzip/Makefile
82 }
83
84 src_compile() {
85 # Parallel build doesn't work.
86 emake -j1 || die "emake failed"
87 }
88
89 src_install() {
90 dobin comical || die
91 dodoc AUTHORS ChangeLog README TODO
92 insinto /usr/share/pixmaps
93 doins "${S}/Comical Icons/${PN}.xpm" || die
94 insinto /usr/share/applications
95 doins "${FILESDIR}/${PN}.desktop" || die
96 }