-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbb6d24
commit 44a9295
Showing
8 changed files
with
870 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
EBUILD psi-9999.ebuild 6152 SHA256 47d63d900dca8783b8b1c0bd3e70613a9f3ce0fac12e3d75dcc4108e962c1913 SHA512 4aed270ac2dc41124e19185622b40b6cc6693ec8de7b2cfe1cb20d804c18bbced733c2cc99e62da91b20358f8b0c2e6ebfdd367c4f4d8df431cac67502da63c6 WHIRLPOOL b5535b0063dc0bfbda482366b7b9a5deac91c34b368514752ee37bdb2a78d958eba1b8bd42a266e6c5fef80c657c38ebaf370847d08661fc797bec7de9fdc94e | ||
MISC ChangeLog 19330 SHA256 f40d3ea2815173f922f4933071710655c119b7e7782349c672fc1942b62bb11e SHA512 9c44a9ed2017382222c2f1c363bbea2afe016848b7315fb078ab789bb31e856c3254405075e1b47d94a5db8288bb87d7f59aa23f21d964119cf03bb1f57ca514 WHIRLPOOL b513b5adf6b233aa016a3db2bd64d8ab62e27ee16f483ee9a1ba0bb1f84b7ec066d9912bd03ebb25ca004273805f392d0c5f1ef0fcb5728bb1ce270503819a31 | ||
MISC metadata.xml 909 SHA256 d214e2ee238a4a81d71e47f84cf085a3be7cae0a8bb6813ca2e51e6e29eb42c7 SHA512 7bd11e0323e9f2984049b79a241dc2305aaa9e1da21945715719ccacd9850d3deebaafad9d6c70a949366b6200f3d7ca8544f0e2f6144b04aef6e934e614a86f WHIRLPOOL 45fdac36d7a8de835fdb7ed571cb593a8cbc1b1727a1acd6a0b698759cc1db0a6962b18918ea9c1bd6be9336f8972a742afbc83399e0f26b9b1f995e378310de |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<herd>net-im</herd> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
<name>rion</name> | ||
</maintainer> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
<name>Nikoli</name> | ||
</maintainer> | ||
<longdescription>Psi is a very good jabber client that uses QT</longdescription> | ||
<use> | ||
<flag name='enchant'>Use enchant spell engine instead of aspell</flag> | ||
<flag name='extras'>Enables extra non official patches</flag> | ||
<flag name='iconsets'>Install additional iconsets, some of them has not clear licensing</flag> | ||
<flag name='plugins'>Enable plugins support</flag> | ||
<flag name='sql'>Enable psi-new-history extras patch</flag> | ||
<flag name='webkit'>Enable chatlog rendering using webkit</flag> | ||
<flag name='whiteboarding'>Enable experimental interactive SVG drawing</flag> | ||
</use> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,241 @@ | ||
# Copyright 1999-2016 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="be bg ca cs de en eo es et fa fi fr he hu it ja kk mk nl pl pt pt_BR ru sk sl sr@latin sv sw uk ur_PK vi zh_CN zh_TW" | ||
PLOCALE_BACKUP="en" | ||
|
||
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="aspell crypt dbus debug doc enchant extras +hunspell jingle iconsets +qt4 qt5 spell sql ssl xscreensaver | ||
+plugins whiteboarding webkit" | ||
|
||
REQUIRED_USE=" | ||
spell? ( ^^ ( aspell enchant hunspell ) ) | ||
aspell? ( spell ) | ||
enchant? ( spell ) | ||
hunspell? ( spell ) | ||
iconsets? ( extras ) | ||
plugins? ( extras ) | ||
sql? ( extras ) | ||
webkit? ( extras ) | ||
^^ ( 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 ) | ||
hunspell? ( app-text/hunspell ) | ||
aspell? ( 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 ) | ||
webkit? ( dev-qt/qtwebkit:4 ) | ||
extras? ( | ||
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 ) | ||
webkit? ( dev-qt/qtwebkit:5 ) | ||
extras? ( | ||
sql? ( dev-qt/qtsql:5 ) | ||
) | ||
) | ||
" | ||
DEPEND="${RDEPEND} | ||
extras? ( | ||
>=sys-devel/qconf-1.6_pre1 | ||
) | ||
doc? ( app-doc/doxygen ) | ||
virtual/pkgconfig | ||
qt5? ( dev-qt/linguist-tools ) | ||
" | ||
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_REVISION="$(cd "${WORKDIR}/${P}" && git describe --tags|cut -d - -f 2)" | ||
PSI_PLUS_REVISION="$(cd "${WORKDIR}/psi-plus" && git describe --tags|cut -d - -f 2)" | ||
PSI_PLUS_TAG="$(cd "${WORKDIR}/psi-plus" && git describe --tags|cut -d - -f 1)" | ||
|
||
use sql && epatch "${PATCHES_DIR}/dev/psi-new-history.patch" | ||
|
||
use webkit && { | ||
echo "${PSI_PLUS_TAG}.${PSI_PLUS_REVISION}.${PSI_REVISION}-webkit (@@DATE@@)" > version | ||
} || { | ||
echo "${PSI_PLUS_TAG}.${PSI_PLUS_REVISION}.${PSI_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 | ||
|
||
CONF=( | ||
--libdir="${EPREFIX}"/usr/$(get_libdir) | ||
--prefix="${EPREFIX}"/usr | ||
--no-separate-debug-info | ||
--disable-growl | ||
) | ||
|
||
use qt4 && CONF+=(--qtdir="$(qt4_get_bindir)/..") | ||
use qt5 && CONF+=(--qtdir="$(qt5_get_bindir)/..") | ||
|
||
|
||
use dbus || CONF+=("--disable-qdbus") | ||
use debug && CONF+=("--debug") | ||
|
||
for s in aspell enchant hunspell; do | ||
use $s || CONF+=("--disable-$s") | ||
done | ||
|
||
use whiteboarding && CONF+=("--enable-whiteboarding") | ||
use xscreensaver || CONF+=("--disable-xss") | ||
use plugins || CONF+=("--disable-plugins") | ||
use webkit && CONF+=("--enable-webkit") | ||
|
||
elog ./configure "${CONF[@]}" | ||
./configure "${CONF[@]}" | ||
|
||
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 | ||
|
||
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 | ||
# PLOCALES are set from Psi+. So we don't want to fail here if no locale | ||
if [ -f "${x}/${PN}_${1}.ts" ]; then | ||
lrelease "${x}/${PN}_${1}.ts" || die "lrelease ${1} failed" | ||
doins "${x}/${PN}_${1}.qm" | ||
else | ||
ewarn "Unfortunately locale \"${1}\" is supported for Psi+ only" | ||
fi | ||
fi | ||
} | ||
l10n_for_each_locale_do install_locale | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# ChangeLog for sys-devel/qconf | ||
# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 | ||
# $Header: $ | ||
|
||
30 Jun 2011; Rion <[email protected]> qconf-9999.ebuild: | ||
don't use qt4-r2 eclass since it breaks special pro file | ||
|
||
11 Oct 2010; Rion <[email protected]> qconf-9999.ebuild: | ||
fix QA | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
EBUILD qconf-9999.ebuild 823 SHA256 5047d109cb1537ac102ae6e7339fd58312796581a8ef154264d88474bcf5e390 SHA512 92f370c8eaf887c4b783802676952b857e10f244a9f2e55dee70153895114f2ea82e9f09e4aba166959a613a02e4fce0adaec93684347ebfab4993f4016a5772 WHIRLPOOL aa2b2e0edc39b0ffb143cf1bfeaff060a9576a368997d680aa0ed59fb7180ce54c66c9f19a97ee10d9ed12bb896c41352f4adf440917aab8c70b13436a5b6eea | ||
MISC ChangeLog 304 SHA256 be7e873c05cdc2252352ebad8ea481e09ae641f6c84b4bf75196d527f1a553c9 SHA512 be2aa86b41d52f1c01afb2bb8e4d4cf5caf9f439b783af012f9fccd751eff5037f628f616d5a6e6af024d7fef386574cd02be453a69ec5060365674014076383 WHIRLPOOL 70d63ccc2d3ae7f5971e6d24e2b79edbacd2251c33416b049a80e97a6b14b61150a8b5567b2deadb2bffc027ddde0e7281dc866d202352c071678cb5d0dbbd95 | ||
MISC metadata.xml 366 SHA256 c08adb6ce271276a27807a7cab398aa1a65419e1a1aa649edb94f1a5111383c6 SHA512 c587151aac4353afb1fd7d73288a230e80fc363dbf92876a8936d59a3570c2040f2b35e97a79040594f5807035e818e1c97307177897e26df9310d9eaac35dcd WHIRLPOOL ab1ee33da0f5b136fd0de48970e049d8a2d6dc2f818b23ad0259d17579a28e6c04c5e0bc995531e3053ad77d907f29ab4384cfc6894387275d10d856a523048a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer> | ||
<email>[email protected]</email> | ||
<name>rion</name> | ||
<description>Description of the maintainership</description> | ||
</maintainer> | ||
<longdescription>Long description of the package</longdescription> | ||
<use> | ||
</use> | ||
</pkgmetadata> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca/qca-2.0.0-r2.ebuild,v 1.8 2008/03/15 11:30:02 corsair Exp $ | ||
|
||
EAPI=6 | ||
|
||
inherit multilib git-r3 | ||
|
||
DESCRIPTION="Qt ./configure generation util" | ||
HOMEPAGE="http://delta.affinix.com/qconf/" | ||
EGIT_REPO_URI="git://github.com/psi-plus/qconf.git" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="" | ||
IUSE="qt4 qt5" | ||
#RESTRICT="test strip" | ||
|
||
DEPEND=" | ||
qt4? ( dev-qt/qtcore:4 ) | ||
qt5? ( | ||
dev-qt/qtcore:5 | ||
dev-qt/qtxml:5 | ||
) | ||
" | ||
RDEPEND="${DEPEND}" | ||
|
||
REQUIRED_USE="^^ ( qt4 qt5 )" | ||
|
||
src_configure() { | ||
use qt4 && QTVERSION=4 | ||
use qt5 && QTVERSION=5 | ||
./configure \ | ||
--prefix="${EPREFIX}"/usr \ | ||
--qtselect="${QTVERSION}" || die "./configure failed" | ||
} | ||
|
||
src_install() { | ||
emake INSTALL_ROOT="${D}" install | ||
} |