whatsapp-purple added.
This commit is contained in:
parent
05b89d612b
commit
2761de74cf
|
@ -0,0 +1,2 @@
|
|||
DIST FreeImage3131.pdf 1016008 SHA256 4463b2e023e1793341912417d0e3d99703a4ab2aa9ee60ff2b99c799e013e799 SHA512 fad0f0bd2be17d086be11d04b585c2017418813f834303ae43e06cf5b52966cdfdf7b8bbfe3a2b5311596de5752369898d866d1ecde2d07b62d6d71809b32154 WHIRLPOOL a569a5e8c596f0a13a59f7a9e3abd3e75f3e2aaa9be4f4e675b13f85bbd4300fd0dfbd0e12985cf392d4b26e6f538dd03835e2cfb1e96abba3a09a7e63911566
|
||||
DIST FreeImage3131.zip 4762843 SHA256 329bd2036e97d5e527ac2f1fdade4a2029bb06ce4cee0e8bca12e211fd7397c6 SHA512 ee74b632d56e2e02595823b0c779b7ef9e819c814de8201ce1f54b576538a51d0b8a9edb0e03a8ba4cef94fdd00a86e2e536e37a9c803c25454d5bdc4c8faca4 WHIRLPOOL 0163f9f123f0873eb7cc66cf37b5956d8061c0dc665c62ec6be428610d8a605bc535b3b07145932dd57345f0c487f73725fc0a4af4e50c0ebe0712916a8c5451
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,61 @@
|
|||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=2
|
||||
inherit flag-o-matic toolchain-funcs multilib
|
||||
|
||||
MY_PN=FreeImage
|
||||
MY_P=${MY_PN}${PV//.}
|
||||
DESCRIPTION="Image library supporting many formats"
|
||||
HOMEPAGE="http://freeimage.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip
|
||||
doc? ( mirror://sourceforge/${PN}/${MY_P}.pdf )"
|
||||
|
||||
LICENSE="|| ( GPL-2 FIPL-1.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="cxx doc"
|
||||
|
||||
DEPEND="
|
||||
media-libs/jpeg
|
||||
media-libs/libmng
|
||||
media-libs/libpng
|
||||
media-libs/tiff
|
||||
sys-libs/zlib
|
||||
media-libs/openjpeg
|
||||
media-libs/openexr
|
||||
app-arch/unzip"
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}/${MY_PN}
|
||||
|
||||
src_prepare() {
|
||||
append-cflags -std=c99 -D_POSIX_SOURCE # silence warnings from gcc
|
||||
rm -rf \
|
||||
"${S}/Source/LibJPEG" \
|
||||
"${S}/Source/LibMNG" \
|
||||
"${S}/Source/LibOpenJPEG" \
|
||||
"${S}/Source/LibPNG" \
|
||||
"${S}/Source/LibTIFF" \
|
||||
"${S}/Source/OpenEXR" \
|
||||
"${S}/Source/ZLib" || die "rm -rf failed"
|
||||
epatch "${FILESDIR}/${P}-systemlibs.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f Makefile.gnu || die "emake failed"
|
||||
if use cxx ; then
|
||||
emake -f Makefile.fip || die "emake fip failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/include /usr/$(get_libdir)
|
||||
emake DESTDIR="${D}" -f Makefile.gnu install || die "emake install failed"
|
||||
if use cxx ; then
|
||||
emake DESTDIR="${D}" -f Makefile.fip install || die "emake install fip failed"
|
||||
fi
|
||||
dodoc README.linux Whatsnew.txt
|
||||
use doc && dodoc "${DISTDIR}"/${MY_P}.pdf
|
||||
}
|
|
@ -0,0 +1,2 @@
|
|||
DIST whatsapp-purple-0.8.6.tar.gz 80868 SHA256 9a761f42b58151b61574f863d5401aa4de03e59df035ead92b7b5645c3af46d1 SHA512 935c7bf8f254d307ebc794eb7e7491813e19ff786433cba9965a819b5590a7e4990bd57c3bc514cafdd2c8dcfb67a38657ef2942fc5335b0f2df6985d259d6a4 WHIRLPOOL 138c10e802843480f0982e157d9af67a424830a9a87e2f1fc83502957c4aa89850c034584ac36660103f4c4c2d132d2d5f4160c1c4c2f9b6088f7a60b5a56799
|
||||
EBUILD whatsapp-purple-0.8.6.ebuild 834 SHA256 f41d3bae68f34585b668118ae3f748457cf0dced3fda9bdad839ee472fa83ec8 SHA512 034663e1e4913495271263838ef86e92a6dc9374846275a9006cfb34bc1686b4e89157fe6e7050f38974ee84c675dc330a894c11aa940a03dad603c2660e8571 WHIRLPOOL 93c329fd9f99df8a6588d2e30c8904203cf132de56f1d3a1f29126d4439bd888aac05644577484f4c710a9bf23685c20dce368276d7ae7dd1d8d5c0056afd198
|
|
@ -0,0 +1,38 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="WhatsApp protocol implementation for libpurple (Pidgin)"
|
||||
HOMEPAGE="https://davidgf.net/whatsapp/"
|
||||
SRC_URI="https://github.com/davidgfnet/whatsapp-purple/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="net-im/pidgin
|
||||
media-libs/freeimage"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i \
|
||||
-e "/-O2/d" \
|
||||
-e "s/-pipe//" \
|
||||
Makefile || die # Remove CFLAGS/LDFLAGS that should be chosen by the user
|
||||
|
||||
sed -i \
|
||||
-e "/-shared/aCFLAGS += \$(CUSTOM_CFLAGS)\nLDFLAGS += \$(CUSTOM_LDFLAGS)" \
|
||||
Makefile || die
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CUSTOM_CFLAGS="${CFLAGS}" CUSTOM_LDFLAGS="${LDFLAGS}" || die
|
||||
}
|
Loading…
Reference in New Issue