From: | "Dominik Kapusta (ayoy)" <ayoy@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-text/cb2bib: metadata.xml ChangeLog cb2bib-1.3.6.ebuild |
Date: | Wed, 06 Jan 2010 20:03:03 |
Message-Id: | E1NSc5q-00026y-Qd@stork.gentoo.org |
1 | ayoy 10/01/06 20:02:58 |
2 | |
3 | Added: metadata.xml ChangeLog cb2bib-1.3.6.ebuild |
4 | Log: |
5 | Initial commit of cb2bib. Thanks to Hugo Mildenberger and Andreas K. Huettel (dilfridge) - bug #123627 |
6 | (Portage version: 2.2_rc61/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-text/cb2bib/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/cb2bib/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/cb2bib/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>qt</herd> |
20 | <maintainer> |
21 | <email>ayoy@g.o</email> |
22 | <name>Dominik Kapusta</name> |
23 | </maintainer> |
24 | <upstream> |
25 | <bugs-to>webmaster@×××××××××.com</bugs-to> |
26 | </upstream> |
27 | <use> |
28 | <flag name='poll'>use clipboard polling</flag> |
29 | </use> |
30 | </pkgmetadata> |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | 1.1 app-text/cb2bib/ChangeLog |
37 | |
38 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/cb2bib/ChangeLog?rev=1.1&view=markup |
39 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/cb2bib/ChangeLog?rev=1.1&content-type=text/plain |
40 | |
41 | Index: ChangeLog |
42 | =================================================================== |
43 | # ChangeLog for app-text/cb2bib |
44 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
45 | # $Header: /var/cvsroot/gentoo-x86/app-text/cb2bib/ChangeLog,v 1.1 2010/01/06 20:02:58 ayoy Exp $ |
46 | |
47 | *cb2bib-1.3.6 (06 Jan 2010) |
48 | |
49 | 06 Jan 2010; Dominik Kapusta <ayoy@g.o> +cb2bib-1.3.6.ebuild, |
50 | +metadata.xml: |
51 | Initial commit of cb2bib. Thanks to Hugo Mildenberger and Andreas K. |
52 | Huettel (dilfridge) - bug #123627 |
53 | |
54 | |
55 | |
56 | |
57 | 1.1 app-text/cb2bib/cb2bib-1.3.6.ebuild |
58 | |
59 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/cb2bib/cb2bib-1.3.6.ebuild?rev=1.1&view=markup |
60 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/cb2bib/cb2bib-1.3.6.ebuild?rev=1.1&content-type=text/plain |
61 | |
62 | Index: cb2bib-1.3.6.ebuild |
63 | =================================================================== |
64 | # Copyright 1999-2010 Gentoo Foundation |
65 | # Distributed under the terms of the GNU General Public License v2 |
66 | # $Header: /var/cvsroot/gentoo-x86/app-text/cb2bib/cb2bib-1.3.6.ebuild,v 1.1 2010/01/06 20:02:58 ayoy Exp $ |
67 | |
68 | EAPI="2" |
69 | |
70 | inherit qt4-r2 |
71 | |
72 | DESCRIPTION="Tool for extracting unformatted bibliographic references" |
73 | HOMEPAGE="http://www.molspaces.com/cb2bib/" |
74 | SRC_URI="http://www.molspaces.com/dl/progs/${P}.tar.gz" |
75 | |
76 | SLOT="0" |
77 | LICENSE="GPL-3" |
78 | KEYWORDS="~amd64 ~x86" |
79 | IUSE="debug +lzo +poll" |
80 | |
81 | DEPEND="x11-libs/qt-webkit:4 |
82 | lzo? ( dev-libs/lzo )" |
83 | RDEPEND="${DEPEND}" |
84 | |
85 | src_prepare() { |
86 | echo "CONFIG += ordered" >> "${PN}.pro" || die "patching project file failed" |
87 | sed -i 's:\.\./COPYRIGHT \.\.\/LICENSE::' src/src.pro || die "sed src.pro failed" |
88 | } |
89 | |
90 | src_configure() { |
91 | # Custom configure script has only few options, so call ./configure manually... |
92 | # We need to unset QTDIR here, else we may end up with qt3 if it is installed. |
93 | # TODO: remove QTDIR when qt3 goes away |
94 | QTDIR="" ./configure \ |
95 | $(use_enable lzo) \ |
96 | $(use_enable poll cbpoll) \ |
97 | --disable-qmake-call \ |
98 | --qmakepath /usr/bin/qmake \ |
99 | --prefix /usr \ |
100 | --bindir /usr/bin \ |
101 | --datadir /usr/share \ |
102 | --desktopdatadir /usr/share/applications \ |
103 | --icondir /usr/share/pixmaps \ |
104 | || die "cb2bib provided configure failed" |
105 | |
106 | eqmake4 $(cat qmake-additional-args) |
107 | } |
108 | |
109 | pkg_postinst() { |
110 | elog "For best functionality, emerge the following packages:" |
111 | elog " app-text/poppler-utils - for data import from PDF files" |
112 | elog " app-text/dvipdfm - for data import from DVI files" |
113 | elog " app-text/bibutils - for data import from ISI, endnote format" |
114 | elog " media-fonts/jsmath - for displaying mathematical notation" |
115 | elog " media-libs/exiftool - for proper UTF-8 metadata writing in PDF" |
116 | elog " text strings" |
117 | elog " virtual/latex-base - to check for BibTeX file correctness and to get" |
118 | elog " nice printing through the shell script bib2pdf" |
119 | } |