Several new and updated ebuilds

This commit is contained in:
layman 2017-09-04 22:34:15 +02:00
parent d018bbc4a0
commit 3f032855b8
24 changed files with 894 additions and 0 deletions

View File

@ -0,0 +1,5 @@
AUX arduino-ide-1.6.8-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
AUX arduino-ide-1.6.9-script.patch 660 SHA256 f80ffc3cf2f2a333862b5a1826c747aa92efbf8e90c92cb339d31cd5b27b07b2 SHA512 bbdae2bd2adcb461962308ef9ed6c86005fb2ae214bb9fb755554b440a87063562a79da9492308c6e614b771c4d9c3721e369dbb1df63534d5238a2b151ddb00 WHIRLPOOL 31b5319dc111e50f925e9dc3bd2819317e2f7d2b02cd451f9b41fddb855655d4589c106bffbb832c9ce7fc5f0dbebd2f62aa06ba37131135fcdc2c2767e072de
DIST arduino-1.8.1.tar.gz 86826305 SHA256 cc82bbb2979fbf53dc4775668de7e5eefcb61ab65f46507aa933107ad458d268 SHA512 1ca8c306d2bdee52fbc69ba7b933ac9a3a1154cfa2e5861e75b5eb2ca1cdfa7843b36b36eae68d8d932194be5ea938fbe3c2492b87d81d88d88edd9d0aeb1541 WHIRLPOOL 0ca152bbf1600e0f15ceb11130252fb353f2b7b74c461f8d8725ca9175295bc29a1609c847a1544df4053673b8e01207267c9e9a493fd08dc75cf05614c697b7
DIST arduino-icons.tar.bz2 58775 SHA256 9086ae27a13cc19e428ed7e6434366752b33a7d066b5620bfdd371709277390e SHA512 b750e79d6117f5df619f2b765dad6e64f0ba4aa3314b0b6e00801577e3ea1f15951ba15efe7a00f5317285a19ac29ac41c78b71342f45cd164c794a42bafcdd9 WHIRLPOOL b53ab3ff2981ca9f6d45311b9f885ca831700a7a49fef4a376cdc489f7cc3a6c39fbb93994b962b6854b0833d7342b951b5c6327422aafce762f92952b7a5876
EBUILD arduino-ide-1.8.1.ebuild 2550 SHA256 b2122760355987ff7d4892ee612efc8533f72704c3fc968bc42d40cc732ee14b SHA512 7fd4f8aa37674693429e6b4e42a4f075f1b75488d42a7ab5594e6f18f6283cb4064551df056bccbaa268c1e34b4b8eefec5ff4e3740c275d6e0a41530f030f23 WHIRLPOOL 642da1683a2c39acbf49ecb48abeb9862831a5fefa0df76d0dbf193ac24f4b942d7dde44f90745252dee6bb8ea62a8a939c11ebcccd1ee9750887be6023594aa

View File

@ -0,0 +1,96 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
JAVA_PKG_IUSE="doc examples"
inherit eutils java-pkg-2 java-ant-2
MY_P="Arduino"
PNS="arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz
mirror://gentoo/arduino-icons.tar.bz2"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="strip binchecks"
IUSE=""
COMMONDEP="
dev-java/jna:0
>dev-java/rxtx-2.1:2"
RDEPEND="${COMMONDEP}
dev-embedded/arduino-libs
dev-embedded/avrdude
sys-devel/crossdev
>=virtual/jre-1.8"
DEPEND="${COMMONDEP}
>=virtual/jdk-1.8"
S="${WORKDIR}/${MY_P}-${PV}"
EANT_GENTOO_CLASSPATH="jna,rxtx-2"
EANT_EXTRA_ARGS="-Dversion=${PV}"
EANT_BUILD_TARGET="build"
JAVA_ANT_REWRITE_CLASSPATH="yes"
java_prepare() {
# Patch launcher script to include rxtx class/ld paths
epatch "${FILESDIR}/${P}-script.patch"
}
src_compile() {
eant -f arduino-core/build.xml
EANT_GENTOO_CLASSPATH_EXTRA="../core/core.jar"
eant -f app/build.xml
eant "${EANT_EXTRA_ARGS}" -f build/build.xml
}
src_install() {
cd build/linux/work || die
java-pkg_dojar lib/*.jar
java-pkg_dolauncher ${PNS} --pwd /usr/share/${PNS} --main processing.app.Base
if use examples; then
java-pkg_doexamples examples
docompress -x /usr/share/doc/${P}/examples/
fi
if use doc; then
dodoc revisions.txt "${S}"/README.md
dohtml -r reference
fi
insinto "/usr/share/${PNS}/"
doins -r tools tools-builder
insinto "/usr/share/${PNS}/hardware"
doins -r hardware/platform.*
insinto "/usr/share/${PNS}/lib"
doins -r lib/*.txt lib/theme lib/*.png lib/*.bmp lib/*.key lib/*.so lib/*.ico lib/*.conf
# install menu and icons
sed -e 's/Exec=FULL_PATH\/arduino/Exec=arduino/g' -i arduino.desktop
sed -e 's/Icon=FULL_PATH\/lib\/arduino.png/Icon=arduino/g' -i arduino.desktop
sed -e 's/x-arduino/x-arduino;/g' -i arduino.desktop
domenu "${PNS}.desktop"
for sz in 16 24 32 48 128 256; do
newicon -s $sz \
"${WORKDIR}/${PNS}-icons/debian_icons_${sz}x${sz}_apps_${PNS}.png" \
"${PNS}.png"
done
}
pkg_postinst() {
[ ! -x /usr/bin/avr-g++ ] && ewarn "Missing avr-g++; you need to crossdev -s4 avr"
elog "I have *NOT* tested if this ebuild even works, because I don't use it myself."
elog "If you encounter issues with the installation, please report them to me, and"
elog "I will try my best to fix them."
}

View File

@ -0,0 +1,19 @@
diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino
--- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100
+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100
@@ -8,11 +8,12 @@ for LIB in \
"$APPDIR"/lib/*.jar \
;
do
- CLASSPATH="${CLASSPATH}:${LIB}"
+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}"
done
+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)"
export CLASSPATH
-LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
export PATH="${APPDIR}/java/bin:${PATH}"

View File

@ -0,0 +1,19 @@
diff -Naurp a/build/linux/dist/arduino b/build/linux/dist/arduino
--- a/build/linux/dist/arduino 2015-12-10 02:45:00.010340806 +0100
+++ b/build/linux/dist/arduino 2015-12-10 02:48:13.155420642 +0100
@@ -8,11 +8,12 @@ for LIB in \
"$APPDIR"/lib/*.jar \
;
do
- CLASSPATH="${CLASSPATH}:${LIB}"
+ CLASSPATH="${CLASSPATH+$CLASSPATH:}${LIB}"
done
+CLASSPATH="${CLASSPATH+$CLASSPATH:}:$(java-config -dp rxtx-2)"
export CLASSPATH
-LD_LIBRARY_PATH=$APPDIR/lib${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}
+LD_LIBRARY_PATH="$(java-config -di rxtx-2)${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH}"
export LD_LIBRARY_PATH
export PATH="${APPDIR}/java/bin:${PATH}"

View File

@ -0,0 +1,2 @@
DIST arduino-1.8.1.tar.gz 86826305 SHA256 cc82bbb2979fbf53dc4775668de7e5eefcb61ab65f46507aa933107ad458d268 SHA512 1ca8c306d2bdee52fbc69ba7b933ac9a3a1154cfa2e5861e75b5eb2ca1cdfa7843b36b36eae68d8d932194be5ea938fbe3c2492b87d81d88d88edd9d0aeb1541 WHIRLPOOL 0ca152bbf1600e0f15ceb11130252fb353f2b7b74c461f8d8725ca9175295bc29a1609c847a1544df4053673b8e01207267c9e9a493fd08dc75cf05614c697b7
EBUILD arduino-libs-1.8.1.ebuild 923 SHA256 7697ee6305c17edf18cf214d305293485db795bb48ca05786d09f7475a73e04e SHA512 b8691ef253f8f3e4fd1c555c92c12f3fe4ff99979015b36ff2be24a42cc4eda6921e25ad3af7ddd0f1618caa00dc32974f18c7e66cd6eeb517c4c7bb2b86e75e WHIRLPOOL 9f435b9b5775a2fd47776c8887d6302d7a6fee07ba9018a1d22f2f9bf6cdbdee09cae57e69cc41e333309d767cd397d91ddc4bd5a7ebc1fa8a814dcc1b094092

View File

@ -0,0 +1,33 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit eutils
MY_P="Arduino"
DESCRIPTION="An open-source AVR electronics prototyping platform"
HOMEPAGE="http://arduino.cc/ https://arduino.googlecode.com/"
SRC_URI="https://github.com/arduino/${MY_P}/archive/${PV}.tar.gz -> arduino-${PV}.tar.gz"
LICENSE="GPL-2 GPL-2+ LGPL-2 CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=""
DEPEND=""
S="${WORKDIR}/${MY_P}-${PV}"
src_install() {
insinto "/usr/share/arduino/"
doins -r hardware libraries
fowners -R root:uucp "/usr/share/arduino/hardware"
dosym /usr/bin/avrdude "/usr/share/arduino/hardware/tools/avrdude"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avrdude.conf"
mkdir -p "${D}/usr/share/arduino/hardware/tools/avr/etc/"
dosym /etc/avrdude.conf "/usr/share/arduino/hardware/tools/avr/etc/avrdude.conf"
}

View File

@ -1,3 +1,5 @@
AUX claws-mail-3.15.0-old_profile_segfault.patch 2758 SHA256 e577983238042a04fc0c874b3885e3d9ac01f19c756539747e89f1a47d25236d SHA512 3ef1a001b6817d42b626754160aeb971263cca066294d9683403079d08eadbe86a9661ff6dbc8f3034c10db12d6d8b99a74f22f315b03fcf6e8ee581ca44583b WHIRLPOOL 09b6ac2a3b6959163a94d1981ed93d4542923cfd4305cc458f20190848d02422b70a22de6b67ee061525f7cec00f1a43f1a645142ca62ff6d268f7fb886f4424
DIST claws-mail-3.15.0.tar.xz 5665648 SHA256 4e4d2d0d43f8ae3d4623408612f5979e9a697ccbc12038b80dd27802e868dc2e SHA512 667cb0ea2f7c5d8e8b6046313ed7698c378f504caeeaa54348ba228317538dfc040e4ddf80f4aaa1491858a7803954e89599b1e479febe7cf1ab4bae5a638dc8 WHIRLPOOL 18c041a770a14c9f5c87d086965b302e2ced8aee8954ed6e3d7934ce011053b7dca8ee13958dc4485172344d70fc0facbf10cc7e62ea8f8feadbd12ba4980cb4 DIST claws-mail-3.15.0.tar.xz 5665648 SHA256 4e4d2d0d43f8ae3d4623408612f5979e9a697ccbc12038b80dd27802e868dc2e SHA512 667cb0ea2f7c5d8e8b6046313ed7698c378f504caeeaa54348ba228317538dfc040e4ddf80f4aaa1491858a7803954e89599b1e479febe7cf1ab4bae5a638dc8 WHIRLPOOL 18c041a770a14c9f5c87d086965b302e2ced8aee8954ed6e3d7934ce011053b7dca8ee13958dc4485172344d70fc0facbf10cc7e62ea8f8feadbd12ba4980cb4
EBUILD claws-mail-3.15.0-r1.ebuild 5792 SHA256 48798b1e5c35a3f5d4bb96db0568d2f68e33586ffb831a34987b31f8fe91d933 SHA512 87f97b2209b5addd9b0ef2f168dc2bdfa139d6fc9741aab37eca5d25b0ee38bf9564160e4e4a5fd986d8904c08e67684d61b9b1da0785c6f3b17595a522515e9 WHIRLPOOL 862394cdd795b0369e8556b2a60b764ad59cd2a3f996ae11b496351ad205b69b6b900f23fec8c7bb7429dbcfd5110b5e72d3d3774bce7f010a1c0a04922d9e2f
EBUILD claws-mail-3.15.0.ebuild 5660 SHA256 47f3d7dd0d543c2cd5ad220a0f30858c5959baf30ae30276b15e715082991247 SHA512 e67a28cdd5df9dc1578f90995ddc5a21db74aaab743d589fef6f2b19faff649afe2b271255d772aa4ca80d901fb5fa434d75c228e3e2e1851c676b37c6edf28b WHIRLPOOL b7e3bba13fc3001dbf84e4bdf2167f3f3f758876298143e8000485ef378122b341070d9503c70e51d7417b33cd1579a5e953940db18c4a51d566392e4e338c92 EBUILD claws-mail-3.15.0.ebuild 5660 SHA256 47f3d7dd0d543c2cd5ad220a0f30858c5959baf30ae30276b15e715082991247 SHA512 e67a28cdd5df9dc1578f90995ddc5a21db74aaab743d589fef6f2b19faff649afe2b271255d772aa4ca80d901fb5fa434d75c228e3e2e1851c676b37c6edf28b WHIRLPOOL b7e3bba13fc3001dbf84e4bdf2167f3f3f758876298143e8000485ef378122b341070d9503c70e51d7417b33cd1579a5e953940db18c4a51d566392e4e338c92
MISC metadata.xml 1716 SHA256 03affd8bce08eb15ad9ac63fc054ccf16a439e7592bf7e117c93601eec7c71b7 SHA512 2246148a5fe3ecd1b097a1037ba08ef2c175b7d93ceaeb7e9b2a49b9397a47e9f98e4a510f3f2224e94a3aa7982af2b77df2c917496a01c44602e866924b3a5b WHIRLPOOL 51d87dcec02ddb09e05a409d7d5723c1e92d7b9d26b304ef0986c73c83d9ad636d76976034be80e85eb7f8ba89b4f9b481ce3ca7491d892b3a8d3acc784bb0d0 MISC metadata.xml 1716 SHA256 03affd8bce08eb15ad9ac63fc054ccf16a439e7592bf7e117c93601eec7c71b7 SHA512 2246148a5fe3ecd1b097a1037ba08ef2c175b7d93ceaeb7e9b2a49b9397a47e9f98e4a510f3f2224e94a3aa7982af2b77df2c917496a01c44602e866924b3a5b WHIRLPOOL 51d87dcec02ddb09e05a409d7d5723c1e92d7b9d26b304ef0986c73c83d9ad636d76976034be80e85eb7f8ba89b4f9b481ce3ca7491d892b3a8d3acc784bb0d0

View File

@ -0,0 +1,209 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 )
inherit autotools gnome2-utils eutils python-single-r1
DESCRIPTION="An email client (and news reader) based on GTK+"
HOMEPAGE="http://www.claws-mail.org/"
SRC_URI="http://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
IUSE="archive bogofilter calendar clamav dbus debug doc gdata +gnutls gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind webkit xface"
REQUIRED_USE="libcanberra? ( notification )
libindicate? ( notification )
libnotify? ( notification )
networkmanager? ( dbus )
python? ( ${PYTHON_REQUIRED_USE} )
smime? ( pgp )"
COMMONDEPEND="
net-mail/ytnef
archive? (
app-arch/libarchive
>=net-misc/curl-7.9.7
)
bogofilter? ( mail-filter/bogofilter )
calendar? (
>=dev-libs/libical-2.0.0
>=net-misc/curl-7.9.7
)
dbus? ( >=dev-libs/dbus-glib-0.60 )
gdata? ( >=dev-libs/libgdata-0.17.2 )
gnutls? ( >=net-libs/gnutls-3.0 )
gtk3? ( x11-libs/gtk+:3 )
!gtk3? ( >=x11-libs/gtk+-2.20:2 )
imap? ( >=net-libs/libetpan-0.57 )
ldap? ( >=net-nds/openldap-2.0.7 )
nls? ( >=sys-devel/gettext-0.18 )
nntp? ( >=net-libs/libetpan-0.57 )
notification? (
dev-libs/glib:2
libcanberra? ( media-libs/libcanberra[gtk] )
libindicate? ( dev-libs/libindicate:3[gtk] )
libnotify? ( x11-libs/libnotify )
)
pda? ( >=app-pda/jpilot-0.99 )
pdf? ( app-text/poppler[cairo] )
pgp? ( >=app-crypt/gpgme-1.0.0 )
session? (
x11-libs/libICE
x11-libs/libSM
)
smime? ( >=app-crypt/gpgme-1.0.0 )
spam-report? ( >=net-misc/curl-7.9.7 )
spell? ( >=app-text/enchant-1.0.0 )
startup-notification? ( x11-libs/startup-notification )
svg? ( >=gnome-base/librsvg-2.40.5 )
valgrind? ( dev-util/valgrind )
webkit? ( net-libs/webkit-gtk:2 )
"
DEPEND="${COMMONDEPEND}
app-arch/xz-utils
virtual/pkgconfig
xface? ( >=media-libs/compface-1.4 )"
RDEPEND="${COMMONDEPEND}
app-misc/mime-types
x11-misc/shared-mime-info
clamav? ( app-antivirus/clamav )
networkmanager? ( net-misc/networkmanager )
pdf? ( app-text/ghostscript-gpl )
perl? ( dev-lang/perl:= )
python? (
${PYTHON_DEPS}
>=dev-python/pygtk-2.10.3
)
rss? (
dev-libs/libxml2
net-misc/curl
)"
PATCHES=(
"${FILESDIR}/${P}-old_profile_segfault.patch"
)
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
default
eautoreconf
}
src_configure() {
# Don't use libsoup-gnome (bug #565924)
export HAVE_LIBSOUP_GNOME=no
local myeconfargs=(
--disable-bsfilter-plugin
--disable-fancy-plugin
--disable-generic-umpc
--enable-acpi_notifier-plugin
--enable-address_keeper-plugin
--enable-alternate-addressbook
--enable-att_remover-plugin
--enable-attachwarner-plugin
--enable-fetchinfo-plugin
--enable-mailmbox-plugin
--enable-newmail-plugin
--enable-tnef_parse-plugin
--with-password-encryption=$(usex gnutls gnutls old)
$(use_enable archive archive-plugin)
$(use_enable bogofilter bogofilter-plugin)
$(use_enable calendar vcalendar-plugin)
$(use_enable clamav clamd-plugin)
$(use_enable dbus)
$(use_enable debug crash-dialog)
$(use_enable doc manual)
$(use_enable gdata gdata-plugin)
$(use_enable gnutls)
$(use_enable gtk3)
$(use_enable ipv6)
$(use_enable ldap)
$(use_enable networkmanager)
$(use_enable nls)
$(use_enable notification notification-plugin)
$(use_enable pda jpilot)
$(use_enable pdf pdf_viewer-plugin)
$(use_enable perl perl-plugin)
$(use_enable pgp pgpcore-plugin)
$(use_enable pgp pgpinline-plugin)
$(use_enable pgp pgpmime-plugin)
$(use_enable python python-plugin)
$(use_enable rss rssyl-plugin)
$(use_enable session libsm)
$(use_enable sieve managesieve-plugin)
$(use_enable smime smime-plugin)
$(use_enable spam-report spam_report-plugin)
$(use_enable spamassassin spamassassin-plugin)
$(use_enable spell enchant)
$(use_enable startup-notification)
$(use_enable svg)
$(use_enable valgrind valgrind)
$(use_enable webkit fancy-plugin)
$(use_enable xface compface)
)
# libetpan is needed if user wants nntp or imap functionality
if use imap || use nntp ; then
myeconfargs+=( --enable-libetpan )
else
myeconfargs+=( --disable-libetpan )
fi
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
}
src_install() {
local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
default
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
# => also install it in /usr/share/pixmaps for other desktop envs
# => also install higher resolution icons in /usr/share/icons/hicolor/...
insinto /usr/share/pixmaps
doins ${PN}.png
local size
for size in 64 128 ; do
newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
done
docinto tools
dodoc tools/README*
domenu ${PN}.desktop
einfo "Installing extra tools"
cd "${S}"/tools
exeinto /usr/$(get_libdir)/${PN}/tools
doexe *.pl *.py *.conf *.sh
doexe tb2claws-mail update-po uudec uuooffice
# kill useless files
rm -f "${ED%/}"/usr/lib*/claws-mail/plugins/*.{a,la}
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
ewarn "- The gtkhtml2, dillo and trayicon plugins have been dropped entirely"
gnome2_icon_cache_update
}
pkg_postrm() {
gnome2_icon_cache_update
}

View File

@ -0,0 +1,80 @@
From: Ricardo Mones <ricardo@mones.org>
Date: Wed, 9 Aug 2017 14:48:38 +0000 (+0200)
Subject: Fix bug #3855: segfault at startup with old profile and IMAP account
X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=667c9d3eaf0487193cc7873e6d3a63959a03d7f9;hp=63677adb68c57479f6bc7534cfbf2f234b1f4fb1
Fix bug #3855: segfault at startup with old profile and IMAP account
Revert "Remove duplicated code and include".
This reverts commit 300f811f3bbf10455ca55d9b01da6705dd1e07bb.
---
diff --git a/src/imap.c b/src/imap.c
index 0e1e777..25bb283 100644
--- a/src/imap.c
+++ b/src/imap.c
@@ -77,6 +77,8 @@ typedef struct _IMAPSession IMAPSession;
typedef struct _IMAPNameSpace IMAPNameSpace;
typedef struct _IMAPFolderItem IMAPFolderItem;
+#include "prefs_account.h"
+
#define IMAP_FOLDER(obj) ((IMAPFolder *)obj)
#define IMAP_FOLDER_ITEM(obj) ((IMAPFolderItem *)obj)
#define IMAP_SESSION(obj) ((IMAPSession *)obj)
@@ -425,6 +427,7 @@ static gint imap_get_flags (Folder *folder,
FolderItem *item,
MsgInfoList *msglist,
GHashTable *msgflags);
+static gchar *imap_folder_get_path (Folder *folder);
static gchar *imap_item_get_path (Folder *folder,
FolderItem *item);
static MsgInfo *imap_parse_msg(const gchar *file, FolderItem *item);
@@ -3042,6 +3045,35 @@ static FolderItem *imap_create_special_folder(Folder *folder,
return new_item;
}
+static gchar *imap_folder_get_path(Folder *folder)
+{
+ gchar *folder_path;
+
+ g_return_val_if_fail(folder != NULL, NULL);
+ g_return_val_if_fail(folder->account != NULL, NULL);
+
+#ifdef G_OS_WIN32
+ gchar *sanitized_dirname = g_strdup(folder->account->recv_server);
+ g_strdelimit(sanitized_dirname, ":", ',');
+#endif
+
+ folder_path = g_strconcat(get_imap_cache_dir(),
+ G_DIR_SEPARATOR_S,
+#ifdef G_OS_WIN32
+ sanitized_dirname,
+#else
+ folder->account->recv_server,
+#endif
+ G_DIR_SEPARATOR_S,
+ folder->account->userid,
+ NULL);
+
+#ifdef G_OS_WIN32
+ g_free(sanitized_dirname);
+#endif
+ return folder_path;
+}
+
#ifdef G_OS_WIN32
static gchar *imap_encode_unsafe_chars(const gchar *str)
{
@@ -3078,9 +3110,8 @@ static gchar *imap_item_get_path(Folder *folder, FolderItem *item)
gchar *item_path = NULL;
g_return_val_if_fail(folder != NULL, NULL);
- g_return_val_if_fail(folder->account != NULL, NULL);
g_return_val_if_fail(item != NULL, NULL);
- folder_path = prefs_account_cache_dir(folder->account, FALSE);
+ folder_path = imap_folder_get_path(folder);
g_return_val_if_fail(folder_path != NULL, NULL);

View File

@ -0,0 +1,5 @@
AUX pulseview.desktop 210 SHA256 b7644de38545758fd35b2c20295a85ed9d209da34965d7038946ed29381d3a87 SHA512 1a40fc25562ecada2b786606ffa873625fa25e7e142fd2b4081230cbfbaef94adb1076bc306d1c3bbbf226b1786c91b43d447d7d7d6ac46d7bf4faeb1f843dbe WHIRLPOOL a7be4e8995cf4649d7e173dbc9f076c1e44cb33188a068568efb6bb98758dfb202bc0ba5f75489f24d241b22ffadb5f7079518a47d3f795668d5cdb2a9b80ded
DIST pulseview-0.3.0.tar.gz 188602 SHA256 5ffe2cb7a602fcdc60933d400c77bcd66e6ce529bc4f6e97d6a5e5a86f2f530e SHA512 81c509ef3e548ab8ff29633a07c280cee1fba5cc94db7fc1fbc64822eccb905ab5fb4126392cabe0c089e51896a02e0fbc6c0f265bf728cee6ac6651c3ab883a WHIRLPOOL f23f420ab2d0083a234eff5d757fac0ebbfbe97670bf229292fb91d7f3ba6f3a37c7716bbece607b6593133da41ac103cfcfb4f46986ba6bc243d379fb4413dd
EBUILD pulseview-0.3.0.ebuild 1356 SHA256 7bb5f9f1701dea556fa585b76a76b2e44fe8736c7e04630b8ab0ac2ad1697e1c SHA512 290d273fac80ca14dadeabc4d50d41031bcb336aeb77615debc9f67c80a6e6ec95bbf785281d1692081be6ea2bc6cdc18b3633175e365d48e18f9a3c11fd41be WHIRLPOOL 27d59964cdc219e5a20ba59afbb632ea4665c8984cea6bde945c12c92b5a2cb05898104e60b6373c993e7f266ebc0022352f65d6be5b6e89b261adc372b4290b
EBUILD pulseview-9999.ebuild 1221 SHA256 cba558b307459fc71488de92fb91b5640f9aaa4d92d2871751cbda053b7413cb SHA512 cb4e18ae24163510418b99889cfc6c94875b5a0970fca076f02d398efaa1a8f93b65533b3adeda6add674a96623983cf11941957b32dccc8e44d804686835ba4 WHIRLPOOL 5e3ffd328c705a29d8d3e497767a879d0f98b704264da6907479aef7459e9a74623fd8d0b7231c652f5c090c2b3487e02f6de78a14c11e557b501b28e439cece
MISC metadata.xml 333 SHA256 bab5b30e3a98f2cd8adff0ca490dae46c8e6a28e210492f61f07ce0c9dcef674 SHA512 f7f0484072e7c2486a176c29814d7a390d8e44d01593d75ed51231e5c67e7226e576da17410da01281b16ed31361c1724e60026d7df06b580e29901a3f89d2dd WHIRLPOOL 7d15dfae31e76b9a54b82c353305534b329eb52a35bc90958a841ee624d1c3c9d86b53197616d9184c368350215a2d178f6ddcc678d1045a8dea708fa2e341c8

View File

@ -0,0 +1,10 @@
[Desktop Entry]
Version=1.0
Name=Pulseview
GenericName=Pulseview
Comment=Qt based logic analyzer GUI for sigrok
Exec=pulseview
Icon=pulseview
Terminal=false
Type=Application
Categories=Development;Electronics;

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>embedded@gentoo.org</email>
<name>Embedded Gentoo</name>
</maintainer>
<use>
<flag name="decode">Enable decoding of protocols while capturing</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,65 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 )
inherit cmake-utils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Qt based logic analyzer GUI for sigrok"
HOMEPAGE="http://sigrok.org/wiki/PulseView"
LICENSE="GPL-3"
SLOT="0"
IUSE="+decode qt4 qt5 static"
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} ) ^^ ( qt4 qt5 )"
RDEPEND="
>=dev-libs/boost-1.53:=
>=dev-libs/glib-2.28.0:2
>=dev-cpp/glibmm-2.28.0:2
>=sci-libs/libsigrok-0.4.0[cxx]
qt4? (
>=dev-qt/qtcore-4.5:4
>=dev-qt/qtgui-4.5:4
>=dev-qt/qtsvg-4.5:4
)
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtsvg:5
)
decode? (
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
${PYTHON_DEPS}
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( HACKING NEWS README )
src_configure() {
local mycmakeargs=(
-DDISABLE_WERROR=TRUE
-DENABLE_DECODE=$(usex decode)
-DSTATIC_PKGDEPS_LIBS=$(usex static)
-DFORCE_QT4=$(usex qt4)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
newicon "${S}"/icons/sigrok-logo-notext.png ${PN}.png
domenu "${FILESDIR}"/${PN}.desktop
}

View File

@ -0,0 +1,59 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 )
inherit cmake-utils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Qt based logic analyzer GUI for sigrok"
HOMEPAGE="http://sigrok.org/wiki/PulseView"
LICENSE="GPL-3"
SLOT="0"
IUSE="+decode qt4 qt5 static"
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} ) ^^ ( qt4 qt5 )"
RDEPEND="
>=dev-libs/boost-1.53:=
>=dev-libs/glib-2.28.0:2
>=dev-cpp/glibmm-2.28.0:2
>=sci-libs/libsigrok-0.4.0[cxx]
qt4? (
>=dev-qt/qtcore-4.5:4
>=dev-qt/qtgui-4.5:4
>=dev-qt/qtsvg-4.5:4
)
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtsvg:5
)
decode? (
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
${PYTHON_DEPS}
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( HACKING NEWS README )
src_configure() {
local mycmakeargs=(
-DDISABLE_WERROR=TRUE
-DENABLE_DECODE=$(usex decode)
-DSTATIC_PKGDEPS_LIBS=$(usex static)
-DFORCE_QT4=$(usex qt4)
)
cmake-utils_src_configure
}

View File

@ -0,0 +1,4 @@
DIST sigrok-cli-0.6.0.tar.gz 206733 SHA256 ab2ede4e245f3987e19a89a530bd204e0d792c07474d9fed3345d4af4e84723c SHA512 c60c0ca0897d8d6764f04f3ae46b0715c8e4f7d6bb9af1219419a961b6d0c7f2eb5ae61d98cc6746b0403d2bf6bea7d243e539a53ca53c68da50a4f262d0f6c0 WHIRLPOOL 8d107eff4ec90f99fc541435888db2d2a07c43aa2c08947839f508efb8af519d896e402bc3aa54070d48084d1d29fca443e32b7ace61016f0c1f29814174efac
EBUILD sigrok-cli-0.6.0.ebuild 893 SHA256 24c33ea266ded6748514030a5c0a67c6555253467d6208ec6edf94c16de7dd8a SHA512 c6e47a58f338b88fd3275f6e645cb9d55395263c72f088cee413616affadfcf01af8d1c9d5c647df3b2dde6011830ce55c1695556f979462418d5d0a294bd1d3 WHIRLPOOL faf2646b28b270b5e97e8ed53a52ef265b394fd8aeeebbb06d1c2212e7cebc36b8fdaa6fcf69a1d3185a1214aa498c18f9ecd40dedb50158fc30dc294550dc47
EBUILD sigrok-cli-9999.ebuild 893 SHA256 24c33ea266ded6748514030a5c0a67c6555253467d6208ec6edf94c16de7dd8a SHA512 c6e47a58f338b88fd3275f6e645cb9d55395263c72f088cee413616affadfcf01af8d1c9d5c647df3b2dde6011830ce55c1695556f979462418d5d0a294bd1d3 WHIRLPOOL faf2646b28b270b5e97e8ed53a52ef265b394fd8aeeebbb06d1c2212e7cebc36b8fdaa6fcf69a1d3185a1214aa498c18f9ecd40dedb50158fc30dc294550dc47
MISC metadata.xml 333 SHA256 bab5b30e3a98f2cd8adff0ca490dae46c8e6a28e210492f61f07ce0c9dcef674 SHA512 f7f0484072e7c2486a176c29814d7a390d8e44d01593d75ed51231e5c67e7226e576da17410da01281b16ed31361c1724e60026d7df06b580e29901a3f89d2dd WHIRLPOOL 7d15dfae31e76b9a54b82c353305534b329eb52a35bc90958a841ee624d1c3c9d86b53197616d9184c368350215a2d178f6ddcc678d1045a8dea708fa2e341c8

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>embedded@gentoo.org</email>
<name>Embedded Gentoo</name>
</maintainer>
<use>
<flag name="decode">Enable decoding of protocols while capturing</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,42 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 )
inherit python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Command-line client for the sigrok logic analyzer software"
HOMEPAGE="http://sigrok.org/wiki/Sigrok-cli"
LICENSE="GPL-3"
SLOT="0"
IUSE="+decode"
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND=">=dev-libs/glib-2.28.0
>=sci-libs/libsigrok-0.4.0
decode? (
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
${PYTHON_DEPS}
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
eapply_user
}
src_configure() {
econf $(use_with decode libsigrokdecode)
}

View File

@ -0,0 +1,42 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 )
inherit python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="Command-line client for the sigrok logic analyzer software"
HOMEPAGE="http://sigrok.org/wiki/Sigrok-cli"
LICENSE="GPL-3"
SLOT="0"
IUSE="+decode"
REQUIRED_USE="decode? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND=">=dev-libs/glib-2.28.0
>=sci-libs/libsigrok-0.4.0
decode? (
>=sci-libs/libsigrokdecode-0.4.0[${PYTHON_USEDEP}]
${PYTHON_DEPS}
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
eapply_user
}
src_configure() {
econf $(use_with decode libsigrokdecode)
}

View File

@ -0,0 +1,6 @@
AUX libsigrokdecode-0.3.0-configure-test.patch 859 SHA256 1cef6c17a6624fe6d56fbeb98d5bde4ee1ec76a684a751b92c4e929a682123ab SHA512 466f21110fa3a8dec268f0b28520fea3497fa36fa7e8a93b98ac9dc8d36ac2172f847a02814625fb2a24740c19dee4ffc06e889727a0385d2a848a72552819ae WHIRLPOOL 85439b280a78126c8470127bd0ebb04fdcb6b74f1232d0611c06c5b29fba85e4bde68893d28d49dd66e142b25b3d8ec82c244916f3876faa06c38ece4b9a9f6e
AUX libsigrokdecode-0.3.0-no-check-linkage.patch 1002 SHA256 8e12e43b5e99182599383cf7517e1e14f0c3482a78feb2abb2a2c4f903517e8e SHA512 580b3f635fd050341c5c12ce6c5e2266f50543920fd70008b8f4c52077ecce0dfe6bd19134c8deea4ca6b24eaf0d177e44e96290c015ba6bf74fdd7bd578c74c WHIRLPOOL 420c9e4e664c571a94d998f333b76c0b0112116ed8b835dd8cef3e244bc729c537a606d35cdfc793b0dc46d288f069d9fa18b572a85c76cf9fff4d465dca26f3
DIST libsigrokdecode-0.4.1.tar.gz 751546 SHA256 065f70c10971173d86e03a8cf5534e600c7a622775113997d8061572135d4a95 SHA512 b072001190e80a194986524fd4de4d32f4559d618b151a3dbfa2c63b292c8a490535cb7479cfa665c4e8d3798251a5d6f5ecfa456ca669237237ffced3e88272 WHIRLPOOL c06a46a593120f474f5b102bd51add7153176fb596cf8f2cb361028ea6e1f6abd1bd4ba989ce812707989c46010eab8e6c211bd50156922ebf1bbbb04c7021bf
EBUILD libsigrokdecode-0.4.1.ebuild 1060 SHA256 caed2615379781390f5c85193db0ddd8f8b325de41bc2d308e688b0172978364 SHA512 951e4158ef8a257b9d15d886728cf3e59c511622ffe1a02e9094ea56c8fe644de850dabe4fe138dd43f122bc6ae8f289e95d85ac6cd88cbe59e90ff55929f90b WHIRLPOOL 972b405e6ba66c05b385492a72d9ad4ac9fc6f484630fab7f1783fd7ad6210c9f198f35fff0568a1a9f9aa68ba1370b773098bc12809c974dd44b9758baf19c5
EBUILD libsigrokdecode-9999.ebuild 1060 SHA256 caed2615379781390f5c85193db0ddd8f8b325de41bc2d308e688b0172978364 SHA512 951e4158ef8a257b9d15d886728cf3e59c511622ffe1a02e9094ea56c8fe644de850dabe4fe138dd43f122bc6ae8f289e95d85ac6cd88cbe59e90ff55929f90b WHIRLPOOL 972b405e6ba66c05b385492a72d9ad4ac9fc6f484630fab7f1783fd7ad6210c9f198f35fff0568a1a9f9aa68ba1370b773098bc12809c974dd44b9758baf19c5
MISC metadata.xml 247 SHA256 751aa1f012df292bed9716a5c6a7e64114b695d2ba0c0572fc7e87fc3bbcebc5 SHA512 15df289e0f962f564551f61ada3cfef0311f6af639887def780bf5ad3be105515c8d24c950ff340ed35d89b9cd994af3540322b684c5dec3b43ec6bb0041aa4e WHIRLPOOL b6c074cf39f6ec1e2d085151836db47f9a4d71bcc9cc3296889bfa10172c7f07837ca79c8613f9c483b1332683e78eebe88e0a433a7caf801fc7ccac2552cd53

View File

@ -0,0 +1,28 @@
https://sourceforge.net/p/sigrok/mailman/message/32459769/
From dc83770847c39934f5cbc63c8652124fafcb8d0b Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 14 Jun 2014 01:37:12 -0400
Subject: [PATCH 1/2] fix test operator
The == operator is not in POSIX.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 9527379..3f661ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,7 +125,7 @@ AC_SUBST(MODNAME_PYTHON)
# We also need to find the name of the python3 executable (for 'make install').
# Some OSes call this python3, some call it python3.2, etc. etc.
AC_CHECK_PROGS([PYTHON3], [python3.4 python3.3 python3.2 python3])
-if test "x$PYTHON3" == "x"; then
+if test "x$PYTHON3" = "x"; then
AC_MSG_ERROR([cannot find python3 executable.])
fi
--
2.0.0

View File

@ -0,0 +1,30 @@
https://sourceforge.net/p/sigrok/mailman/message/32459770/
From 27ecf0c85482786f7617571c690797ab3f07f795 Mon Sep 17 00:00:00 2001
From: Mike Frysinger <vapier@gentoo.org>
Date: Sat, 14 Jun 2014 01:38:58 -0400
Subject: [PATCH 2/2] do not add check to common cflags/libs
Only the unittests use these flags, so don't go linking them in for
the main library too.
---
configure.ac | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3f661ec..10213a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,8 +134,7 @@ AC_SEARCH_LIBS([pow], [m])
# The Check unit testing framework is optional. Disable if not found.
PKG_CHECK_MODULES([check], [check >= 0.9.4],
- [have_check="yes"; CFLAGS="$CFLAGS $check_CFLAGS";
- LIBS="$LIBS $check_LIBS"], [have_check="no"])
+ [have_check="yes"], [have_check="no"])
AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes")
# libsigrok is optional (only used for the protocol decoder test framework).
--
2.0.0

View File

@ -0,0 +1,54 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 )
inherit eutils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="provide (streaming) protocol decoding functionality"
HOMEPAGE="http://sigrok.org/wiki/Libsigrokdecode"
LICENSE="GPL-3"
SLOT="0"
IUSE="static-libs"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND=">=dev-libs/glib-2.24.0
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
# Only a test program (not installed, and not used by src_test)
# is used by libsigrok, so disable it to avoid the compile.
sed -i \
-e '/build_runtc=/s:yes:no:' \
configure || die
eapply_user
}
src_configure() {
econf $(use_enable static-libs static)
}
src_test() {
emake check
}
src_install() {
default
prune_libtool_files
}

View File

@ -0,0 +1,54 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python3_5 )
inherit eutils python-single-r1
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
inherit git-r3 autotools
else
SRC_URI="http://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="provide (streaming) protocol decoding functionality"
HOMEPAGE="http://sigrok.org/wiki/Libsigrokdecode"
LICENSE="GPL-3"
SLOT="0"
IUSE="static-libs"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND=">=dev-libs/glib-2.24.0
${PYTHON_DEPS}"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
# Only a test program (not installed, and not used by src_test)
# is used by libsigrok, so disable it to avoid the compile.
sed -i \
-e '/build_runtc=/s:yes:no:' \
configure || die
eapply_user
}
src_configure() {
econf $(use_enable static-libs static)
}
src_test() {
emake check
}
src_install() {
default
prune_libtool_files
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>embedded@gentoo.org</email>
<name>Embedded Gentoo</name>
</maintainer>
</pkgmetadata>