Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – View All Attachments for
Bug 548272
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Attachment #402316
ebuild in html
text/html
2015-04-30 17:40:48 UTC
6.08 KB
no flags
Details
<html> <head> <meta http-equiv=Content-Type content="text/html; charset=windows-1252"> <meta name=Generator content="Microsoft Word 12 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:"MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} @font-face {font-family:"\@MS Mincho"; panose-1:2 2 6 9 4 2 5 8 3 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; font-size:11.0pt; font-family:"Calibri","sans-serif";} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-link:"Plain Text Char"; margin:0in; margin-bottom:.0001pt; font-size:10.5pt; font-family:Consolas;} span.PlainTextChar {mso-style-name:"Plain Text Char"; mso-style-link:"Plain Text"; font-family:Consolas;} .MsoPapDefault {margin-bottom:10.0pt; line-height:115%;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 75.1pt 1.0in 75.05pt;} div.WordSection1 {page:WordSection1;} --> </style> </head> <body lang=EN-US> <div class=WordSection1> <p class=MsoPlainText><span style='font-family:"Courier New"'># Copyright 1999-2014 Gentoo Foundation<br> # Distributed under the terms of the GNU General Public License v2<br> # $Header: necrose99 Exp $ proxy-maintainer <br> <br> EAPI=5<br> <br> inherit qmake-utils versionator <b>ODEPENDS</b> , ?<br> <b><span style='color:#92D050'>inherit_propasl odeps eclass </span></b></span></p> <p class=MsoPlainText><b><span style='font-family:"Courier New";color:#92D050'>revdep-rebuild could graciuly rebuild when called against the optional depends when asked too. <br> </span></b><span style='font-family:"Courier New"'>MY_P="${PN}-$(replace_version_separator 3 '-')"<br> MIN_PV="$(get_version_component_range 1-3)"<br> <br> DESCRIPTION="Qt4 frontend for fsarchiver"<br> HOMEPAGE="http://qt4-fsarchiver.sourceforge.net/"<br> SRC_URI="mirror://sourceforge/${PN}/source/${MY_P}.tar.gz"<br> <br> LICENSE="GPL-2"<br> SLOT="0"<br> KEYWORDS="~amd64 ~x86"<br> <br> IUSE=""<br> IREC="+onbydefault +btrfs +jfs +ntfs reiser4 +reiserfs +xfss +sshfs nfs samba"<br> <b>### I rec, I RECOMEND like IUSE but more a suggestion for optimal experience ie elog for best optimal results in most cases, though not required </b></span></p> <p class=MsoPlainText><b><span style='font-family:"Courier New"'>Portage offer with flags Y/N or M_inimal just use the basics. Or Yes for optimal NO for basics, </span></b></p> <p class=MsoPlainText><b><span style='font-family:"Courier New"'> </span></b></p> <p class=MsoPlainText><b><span style='font-family:"Courier New"'>Portage: Its highly recommended to Use these flags for best possible experience, though not required; do you agree: Y/N or M_inimal, or you can override with USE=+your-flags</span></b></p> <p class=MsoPlainText><b><span style='font-family:"Courier New"'> </span></b></p> <p class=MsoPlainText><b><span style='font-family:"Courier New"'>If I had a fancy script to to re-bake app-admin/systemrescuecd Id add damb near everything, with a lice cd option but thats above my Ebuild skill level atm. <br> </span></b><span style='font-family:"Courier New"'> DEPEND="app-arch/xz-utils<br> <br> dev-libs/glib:2<br> dev-libs/libgcrypt<br> dev-libs/lzo<br> >=sys-fs/e2fsprogs-1.41.4<br> x11-libs/qt-core:4<br> x11-libs/qt-gui:4"<br> <br> RDEPEND="${DEPEND}<br> "<br> RDEPEND="app-arch/bzip2<br> app-arch/xz-utils<br> dev-libs/libgcrypt:=<br> dev-libs/lzo<br> dev-qt/qtcore:4<br> dev-qt/qtgui:4<br> sys-apps/util-linux<br> sys-fs/e2fsprogs<br> sys-libs/zlib<br> >=app-backup/fsarchiver-${MIN_PV}[lzma,lzo]" <br> <br> <b>Why odepends , I can declare them , if not installed user can USE="+flags " and pull in added features <br> though not required , it also perhaps might ease QA Frustrations. Of having to pound them into metadata.xml <br> ODEPENDS="</b> btrfs? ( sys-fs/btrfs-progs )<br> sys-fs/jfsutils</pkg><br> sys-fs/ntfs3g[ntfsprogs]<br> reiser4? ( sys-fs/reiser4progs )<br> reiserfs? ( sys-fs/reiserfsprogs )<br> xfs? ( sys-fs/xfsprogs )<br> sshfs? ( sys-fs/sshfs-fuse )<br> {samaba? ( net-fs/samba )<br> <b>Or/else</b> ( net-fs/smbnetfs )} # for samba network I/O support one or both at users choice}<br> nfs? net-fs/nfs-utils"<br> jfs? ( sys-fs/jfsutils )<br> ntfs? ( sys-fs/ntfs3g[ntfsprogs] )</span></p> <p class=MsoPlainText><span style='font-family:"Courier New"'> zfs? ( sys-fs/zfs )</span></p> <p class=MsoPlainText><span style='font-family:"Courier New"'>S="${WORKDIR}/${PN}"<br> <br> src_prepare() {<br> # fix .desktop file<br> sed -i \<br> -e '/Encoding/d' starter/"${PN}".desktop \<br> || die "sed on qt4-fsarchiver.desktop failed"<br> # fix icon installation location<br> sed -i \<br> -e "/icon.path/s:app-install/icons:${PN}:" "${PN}.pro" \<br> || die "sed on ${PN}.pro failed"<br> }<br> <br> src_compile() {<br> eqmake4<br> }<br> <br> src_install() {<br> emake INSTALL_ROOT="${D}" install<br> einstalldocs<br> }<br> <br> pkg_postinst() {<br> elog "optional dependencies:</span> <span style='font-family:"Courier New"'>${ODEPENDS}"<br> elog "<b>These packages will Add more functionality and usability but Are not Required, though can enhance your usability and capabilities with the tool</b>"<br> }<br> </span></p> </div> </body> </html>