Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 138223 Details for
Bug 117021
fbreader (new package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fbreader-0.8.8.ebuild
fbreader-0.8.8.ebuild (text/plain), 2.84 KB, created by
Ilya Kashirin
on 2007-12-11 00:48:17 UTC
(
hide
)
Description:
fbreader-0.8.8.ebuild
Filename:
MIME Type:
Creator:
Ilya Kashirin
Created:
2007-12-11 00:48:17 UTC
Size:
2.84 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils > >DESCRIPTION="FBReader (E-book reader for Linux PDAs and desktop)" >HOMEPAGE="http://www.fbreader.org/" >SRC_URI="http://www.fbreader.org/${PN}-sources-${PV}.tgz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64 ~arm ~ppc" > >IUSE="qt3 qt4 gtk kde debug" >DEPEND="dev-libs/expat > app-arch/bzip2 > qt4? ( =x11-libs/qt-4* ) > qt3? ( =x11-libs/qt-3* ) > gtk? ( >=x11-libs/gtk+-2.4 ) > " >RDEPEND="${DEPEND}" > >src_unpack() { > local widgetsnum widgetstypes="qt3 qt4 gtk" widgetstype > declare -i widgetsnum=0 > for widgetstype in ${widgetstypes}; do > useq ${widgetstype} && let widgetsnum++ > done > if [ ${widgetsnum} -gt 1 ]; then > eerror > eerror "You can't use more than one of widgets." > eerror "Select exactly one widgets type out of these: ${widgetstypes}" > eerror > die "Multiple widgets types selected." > elif [ ${widgetsnum} -lt 1 ]; then > eerror > eerror "Select exactly one widgets type out of these: ${widgetstypes}" > eerror > die "No widgets type selected." > fi > > unpack ${A} > cd ${S} > > if use kde; then > echo "MimeType=text/fbreader" >> fbreader/desktop/desktop > fi >} > >src_compile () { > > cd ${S} > sed -i "s:INSTALLDIR=/usr/local:INSTALLDIR=/usr:" makefiles/arch/desktop.mk || die "updating desktop.mk failed" > echo "TARGET_ARCH = desktop" > makefiles/target.mk > > if use qt4 ; then > # qt4 > echo "UI_TYPE = qt4" >> makefiles/target.mk > > sed -i "s:MOC = moc-qt4:MOC = /usr/bin/moc:" makefiles/arch/desktop.mk || die "updating desktop.mk failed" > sed -i "s:UILIBS = -lQtGui:UILIBS = -L/usr/lib/qt4 -lQtGui:" makefiles/arch/desktop.mk > fi > > if use qt3 ; then > # qt3 > echo "UI_TYPE = qt" >> makefiles/target.mk > > sed -i "s:MOC = moc-qt3:MOC = ${QTDIR}/bin/moc:" makefiles/arch/desktop.mk || die "updating desktop.mk failed" > sed -i "s:QTINCLUDE = -I /usr/include/qt3:QTINCLUDE = -I ${QTDIR}/include:" makefiles/arch/desktop.mk || die "updating desktop.mk failed" > sed -i "s:UILIBS = -lqt-mt:UILIBS = -L${QTDIR}/lib -lqt-mt:" makefiles/arch/desktop.mk > > fi > > if use gtk ; then > # gtk > echo "UI_TYPE = gtk" >> makefiles/target.mk > fi > > if use debug ; then > echo "TARGET_STATUS = debug" >> makefiles/target.mk > else > echo "TARGET_STATUS = release" >> makefiles/target.mk > fi > > emake || die "emake failed" >} > >src_install() >{ > emake DESTDIR=${D} install || die "install failed" > doicon ${D}/usr/share/FBReader/icons/FBReader.png > make_desktop_entry "FBReader" "FBReader" FBReader.png > > if use kde ; then > cat > FBReader.desktop <<-EOF > [Desktop Entry] > Comment=FBReader (E-book reader for Linux PDAs and desktop) > Icon=FBReader > MimeType=text/fbreader > Patterns=*.fb2; > Type=MimeType > EOF > insinto /usr/share/mimelnk/text > doins FBReader.desktop > echo "MimeType=text/fbreader" >> ${D}/usr/share/applications/FBReader-fbreader.desktop > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 117021
:
75688
|
88013
|
88022
|
88493
|
89013
|
89405
|
91485
|
96007
|
96220
|
96301
|
96306
|
98273
|
101395
|
114820
|
116578
|
117658
|
118080
|
121045
|
121063
|
121300
|
121573
|
138192
|
138223
|
140312
|
140315
|
140316
|
144748
|
178675
|
178795
|
178808
|
178810