Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 415722 Details for
Bug 564446
net-im/psi-9999 ebuild bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
psi-9999.ebuild
psi-9999.ebuild (text/plain), 5.93 KB, created by
anonymous
on 2015-10-29 20:30:05 UTC
(
hide
)
Description:
psi-9999.ebuild
Filename:
MIME Type:
Creator:
anonymous
Created:
2015-10-29 20:30:05 UTC
Size:
5.93 KB
patch
obsolete
># Copyright 1999-2015 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-im/psi/psi-9999.ebuild,v 1.12 2011/06/30 09:23:16 pva Exp $ > >EAPI=5 > >PLOCALES="ar be bg br ca cs da de ee el eo es et fi fr hr hu it ja mk nl pl pt pt_BR ru se sk sl sr sr@latin sv sw uk ur_PK vi zh_CN zh_TW" > >PSI_URI="git://github.com/psi-im" >PSI_PLUS_URI="git://github.com/psi-plus" >EGIT_REPO_URI="${PSI_URI}/psi.git" >PSI_LANGS_URI="${PSI_URI}/psi-translations.git" >PSI_PLUS_LANGS_URI="${PSI_PLUS_URI}/psi-plus-l10n.git" >EGIT_MIN_CLONE_TYPE="single" > >inherit eutils l10n multilib git-r3 qmake-utils > >DESCRIPTION="Qt4 Jabber client, with Licq-like interface" >HOMEPAGE="http://psi-im.org/" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="" >IUSE="crypt dbus debug doc enchant extras jingle iconsets +qt4 qt5 spell sql ssl xscreensaver >plugins whiteboarding webkit" > >REQUIRED_USE=" > iconsets? ( extras ) > plugins? ( extras ) > sql? ( extras ) > webkit? ( extras ) > sql? ( qt4 ) > ^^ ( qt4 qt5 ) >" > >RDEPEND=" > net-dns/libidn > || ( >=sys-libs/zlib-1.2.5.1-r2[minizip] <sys-libs/zlib-1.2.5.1-r1 ) > spell? ( > enchant? ( >=app-text/enchant-1.3.0 ) > !enchant? ( app-text/aspell ) > ) > xscreensaver? ( x11-libs/libXScrnSaver ) > qt4? ( > dev-qt/qtgui:4 > dbus? ( dev-qt/qtdbus:4 ) > || ( <app-crypt/qca-2.1:2 >=app-crypt/qca-2.1:2[qt4] ) > whiteboarding? ( dev-qt/qtsvg:4 ) > extras? ( > webkit? ( dev-qt/qtwebkit:4 ) > sql? ( > dev-qt/qtsql:4 > dev-libs/qjson > ) > ) > ) > qt5? ( > dev-qt/qtgui:5 > dev-qt/qtxml:5 > dev-qt/qtconcurrent:5 > dev-qt/qtmultimedia:5 > dev-qt/qtx11extras:5 > dbus? ( dev-qt/qtdbus:5 ) > >=app-crypt/qca-2.1:2[qt5] > whiteboarding? ( dev-qt/qtsvg:5 ) > extras? ( > webkit? ( dev-qt/qtwebkit:5 ) > ) > ) >" >DEPEND="${RDEPEND} > extras? ( > >=sys-devel/qconf-1.6_pre1 > ) > doc? ( app-doc/doxygen ) > virtual/pkgconfig >" >PDEPEND=" > crypt? ( >=app-crypt/qca-2.1.0[gpg] ) > jingle? ( > net-im/psimedia[extras?] > >=app-crypt/qca-2.1.0.3[openssl] > ) > ssl? ( >=app-crypt/qca-2.1.0.3[openssl] ) >" >RESTRICT="test" > >pkg_setup() { > MY_PN=psi > if use extras; then > MY_PN=psi-plus > echo > ewarn "You're about to build heavily patched version of Psi called Psi+." > ewarn "It has really nice features but still is under heavy development." > ewarn "Take a look at homepage for more info: http://code.google.com/p/psi-dev" > echo > > if use iconsets; then > echo > ewarn "Some artwork is from open source projects, but some is provided 'as-is'" > ewarn "and has not clear licensing." > ewarn "Possibly this build is not redistributable in some countries." > fi > fi >} > >src_unpack() { > git-r3_src_unpack > > # fetch translations > unset EGIT_BRANCH EGIT_COMMIT > if use extras; then > EGIT_REPO_URI="${PSI_PLUS_LANGS_URI}" > else > EGIT_REPO_URI="${PSI_LANGS_URI}" > fi > EGIT_CHECKOUT_DIR="${WORKDIR}/psi-l10n" > git-r3_src_unpack > > if use extras; then > unset EGIT_BRANCH EGIT_COMMIT > EGIT_CHECKOUT_DIR="${WORKDIR}/psi-plus" \ > EGIT_REPO_URI="${PSI_PLUS_URI}/main.git" \ > git-r3_src_unpack > > if use iconsets; then > unset EGIT_BRANCH EGIT_COMMIT > EGIT_CHECKOUT_DIR="${WORKDIR}/resources" \ > EGIT_REPO_URI="${PSI_PLUS_URI}/resources.git" \ > git-r3_src_unpack > fi > fi >} > >src_prepare() { > if use extras; then > cp -a "${WORKDIR}/psi-plus/iconsets" "${S}" || die > if use iconsets; then > cp -a "${WORKDIR}/resources/iconsets" "${S}" || die > fi > > PATCHES_DIR="${WORKDIR}/psi-plus/patches" > EPATCH_SOURCE="${PATCHES_DIR}" EPATCH_SUFFIX="diff" EPATCH_FORCE="yes" epatch > > PSI_PLUS_REVISION="$(cd "${WORKDIR}/psi-plus" && git describe --tags|cut -d - -f 2)" > > if use sql; then > epatch "${PATCHES_DIR}/dev/psi-new-history.patch" || die "patching with ${SQLPATCH} failed" > fi > > use webkit && { > echo "0.16.${PSI_PLUS_REVISION}-webkit (@@DATE@@)" > version > } || { > echo "0.16.${PSI_PLUS_REVISION} (@@DATE@@)" > version > } > > qconf || die "Failed to create ./configure." > fi > epatch_user >} > >src_configure() { > # unable to use econf because of non-standard configure script > # disable growl as it is a MacOS X extension only > local myconf=" > --disable-growl > --no-separate-debug-info > " > use dbus || myconf+=" --disable-qdbus" > use debug && myconf+=" --debug" > if use spell; then > if use enchant; then > myconf+=" --disable-aspell" > else > myconf+=" --disable-enchant" > fi > else > myconf+=" --disable-aspell --disable-enchant" > fi > use whiteboarding && myconf+=" --enable-whiteboarding" > use xscreensaver || myconf+=" --disable-xss" > if use extras; then > use plugins && myconf+=" --enable-plugins" > use webkit && myconf+=" --enable-webkit" > fi > > QTDIR="${EPREFIX}"/usr > use qt5 && QTDIR="${EPREFIX}"/usr/$(get_libdir)/qt5 > > elog ./configure --prefix="${EPREFIX}"/usr \ > --qtdir="${QTDIR}" \ > ${myconf} > > ./configure \ > --prefix="${EPREFIX}"/usr \ > --qtdir="${QTDIR}" \ > ${myconf} || die > > use qt4 && eqmake4 psi.pro > use qt5 && eqmake5 psi.pro >} > >src_compile() { > emake > > if use doc; then > cd doc > make api_public || die "make api_public failed" > fi >} > >src_install() { > emake INSTALL_ROOT="${D}" install > > # this way the docs will be installed in the standard gentoo dir > rm -f "${ED}"/usr/share/${MY_PN}/{COPYING,README} > newdoc iconsets/roster/README README.roster > newdoc iconsets/system/README README.system > newdoc certs/README README.certs > dodoc README > > if use extras && use plugins; then > insinto /usr/share/${MY_PN}/plugins > doins src/plugins/plugins.pri > doins src/plugins/psiplugin.pri > doins -r src/plugins/include > sed -i -e "s:target.path.*:target.path = /usr/$(get_libdir)/${MY_PN}/plugins:" \ > "${ED}"/usr/share/${MY_PN}/plugins/psiplugin.pri \ > || die "sed failed" > fi > > use doc && dohtml -r doc/api > > # install translations > cd "${WORKDIR}/psi-l10n" > insinto /usr/share/${MY_PN} > install_locale() { > if use extras; then > lrelease "translations/${PN}_${1}.ts" || die "lrelease ${1} failed" > doins "translations/${PN}_${1}.qm" > else > lrelease "${x}/${PN}_${1}.ts" || die "lrelease ${1} failed" > doins "${x}/${PN}_${1}.qm" > fi > } > l10n_for_each_locale_do install_locale >}
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 564446
: 415722