diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-mail/libpst |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-mail/libpst')
-rw-r--r-- | net-mail/libpst/Manifest | 9 | ||||
-rw-r--r-- | net-mail/libpst/files/libpst-0.6.52-no-static-python-lib.patch | 11 | ||||
-rw-r--r-- | net-mail/libpst/files/libpst-0.6.53-pkgconfig-static.patch | 8 | ||||
-rw-r--r-- | net-mail/libpst/libpst-0.6.64-r1.ebuild | 63 | ||||
-rw-r--r-- | net-mail/libpst/libpst-0.6.66-r1.ebuild | 63 | ||||
-rw-r--r-- | net-mail/libpst/metadata.xml | 8 |
6 files changed, 162 insertions, 0 deletions
diff --git a/net-mail/libpst/Manifest b/net-mail/libpst/Manifest new file mode 100644 index 000000000000..d090740d0aeb --- /dev/null +++ b/net-mail/libpst/Manifest @@ -0,0 +1,9 @@ +AUX libpst-0.6.52-no-static-python-lib.patch 449 SHA256 38d477f58bbc4f518cc79dbe322c475bfb3829cc5daa93cb6ccf79da92e36656 SHA512 9cd44493406a58c522fdfe9423a7b15548af7e06332289c98fc1054822d209aa112d497622b3578531147934fd82335bf8c68cc8e371e31ef4716fb51cb26273 WHIRLPOOL 7cb36c586e9316d0e395a6b69330f80c544f37f7a05a35c73f358334eec883b3637bb5b12c32a416d2a7e9445fff563f3e356e9a006ad25659ac6d592d33af8e +AUX libpst-0.6.53-pkgconfig-static.patch 211 SHA256 abf4dbfd38287db637a5ad22a498c5decd00f44ad9a0f734f65220a4c94c22fb SHA512 eb8d95b07dc96435b7d753c1ea68dfb419867b7b092c3f243de9b5983af29ae368e7e5f3a4ea5a802c82c41a2096bd01564f7f74cd733ac038abb263b6ca4d1b WHIRLPOOL dcd1e14ee2f8cd7de99ef662704c1a0b6e5856182e0914bbf516dc5072a2c6dfaf3d044826c8e4f864627274b64839ef996b4388040e7ef66dd6704ecc4d1d56 +DIST libpst-0.6.64.tar.gz 13861215 SHA256 13c4f26f422b571c08ec5f602d878527606a435408724b1bf90a11e31dc17fe3 SHA512 28f5ca83c4ede616b2d4d8dfd074a6866932a08594419aa7bb2af49f7871b4c92d97e0a583d8e2ef3be88a26c1a98c10ce9b1c0498073b528b6810d75988ee4a WHIRLPOOL 3f8c264cb1e9cf36992d453d5568af3fe195aef9f67fea529c50f8de71ba6b49e37b9bb95b817e34210f680b87682daaef121540bf5bd2d4388304f37c9dad46 +DIST libpst-0.6.66.tar.gz 13836942 SHA256 92b49939d821091d9d25e27e17c78dbb867f3f9ab5b8f43e2b01ace0677e1f72 SHA512 0d07b13554b9e009787ce651714281d21a4d38afae997bd87244690538bd18176ab74655c0a0646b1c475c916052d4295ffe749e6a03765450af7e9c8443dd86 WHIRLPOOL 32c59f618013a2f1799b880eb3231d668412e22b1292cd5d4c026ca12e23c2133304f6ec3bd67ea22ec3622b5f32028d54fbaebd6e1d1d788284eecc1a29252f +EBUILD libpst-0.6.64-r1.ebuild 1582 SHA256 19b9b8951496599215ab94ad94c8e5d67d816fcffd7907d73034fc83a66afce7 SHA512 b48e4db54a90d18ce2b230d74719557b9241ed19e9318c18ce351120e243d34866af1d8bba2bbe0d79a37df4367fa6bc131baea13c9f909f2eee59b5f0505f01 WHIRLPOOL 970dfdb587d74f606f3f44ae01080ba7900ac017f5fb43cd4b11b5f47c2b6983f42aff62dde9e7deb0a0f57337f2e9ca38ba639378ef0913e04b5e880d79f4bb +EBUILD libpst-0.6.66-r1.ebuild 1584 SHA256 ac6a9135a2b531edea540b4beb01aa4febdddaeb6771c2a5c14a456f8b87b56d SHA512 79b01bf104c94bd232407613e1680e182dde7f83a250cae9e06b5b971659d6f888bf371b49a64cd7e36496c26d8cb8508a857e42222786d45bf56d41af947c23 WHIRLPOOL ebdb517171c570167a88caf9b797e88043e64ed9587d7d6c0d5ffc5a0153fcfb65a284b17c57fe219013f1773b12c0325e6193855ada6e5bcd0e7802eba7f4e1 +MISC ChangeLog 3280 SHA256 70d90cbe5e26345a7621550c90d52e894467f7f3c765756c5d81dd5d83a99150 SHA512 53d6980e5c86241e2198f912162831959cb9b900a2dac882578e967eb7d701237f6966bf0e717595c763a736d2703e95ef75cb9270c719255277055bb803088f WHIRLPOOL 0c96b59754999d1641210b8bf67c82487bee98a70d790eea26fd4d921966aa7c68dabf3f6ef7dab0c5d58d40b620070568c2e9bbe90cc75b56e202e5bc0f3622 +MISC ChangeLog-2015 7141 SHA256 e0a902c202ed2397b21e3ee50c9db89508967ed9f9dc881233982cfd35f29d7d SHA512 b4fb2d9acd02d7fd911d05a06b9f5c0265c88f2e9b92ed0c57c9063ca7795d20149012b7e0b77dff9b974f7215dd6a3d1ddf6183dc40be64ad7236f62ae3de92 WHIRLPOOL 1f78efa88ea058e946ab6f38e6fad6ededffcbc892de1824eb36056344680620af292fb40438e9528e997133871ef81447408cf96388737379047cf72d1ac071 +MISC metadata.xml 232 SHA256 c311cfc7007b029ac97a584c820a72578ebfb56d25b4b0e1f51b6741e9d5105c SHA512 bc3293101ebc8838fe7c3a9ba19bb540a8c5357d9181545dd460bc404637e469866428445b8340833b20cdd44b55ccf88ff97433bd88ba8ee8b7353ceb140b8a WHIRLPOOL 0a995d25335893b41c60380a8378d1eaac46072c16fb5f93f9b85238cfcf9562b7539a295bbd6ab7440adc88cd29cb2fe9a70729595d6aac93666629017d1806 diff --git a/net-mail/libpst/files/libpst-0.6.52-no-static-python-lib.patch b/net-mail/libpst/files/libpst-0.6.52-no-static-python-lib.patch new file mode 100644 index 000000000000..5bf53c6dd81c --- /dev/null +++ b/net-mail/libpst/files/libpst-0.6.52-no-static-python-lib.patch @@ -0,0 +1,11 @@ +--- libpst-0.6.52/python/Makefile.am.orig ++++ libpst-0.6.52/python/Makefile.am +@@ -8,7 +8,7 @@ + + pythonlibdir = $(libdir)/@PYTHON_VERSION@/site-packages + pythonlib_LTLIBRARIES = _libpst.la +-_libpst_la_LDFLAGS = -module $(NO_UNDEFINED) -avoid-version ++_libpst_la_LDFLAGS = -module $(NO_UNDEFINED) -avoid-version -shared + _libpst_la_SOURCES = python-libpst.cpp + _libpst_la_LIBADD = -lboost_python ../src/libpst.la + diff --git a/net-mail/libpst/files/libpst-0.6.53-pkgconfig-static.patch b/net-mail/libpst/files/libpst-0.6.53-pkgconfig-static.patch new file mode 100644 index 000000000000..373533b75935 --- /dev/null +++ b/net-mail/libpst/files/libpst-0.6.53-pkgconfig-static.patch @@ -0,0 +1,8 @@ +--- libpst-0.6.53/libpst.pc.in.orig ++++ libpst-0.6.53/libpst.pc.in +@@ -8,4 +8,5 @@ + Version: @VERSION@ + Requires: + Libs: -L${libdir} -lpst ++Libs.private: @LIBS@ + Cflags: -I${includedir}/libpst-@LIBPST_SO_MAJOR@ diff --git a/net-mail/libpst/libpst-0.6.64-r1.ebuild b/net-mail/libpst/libpst-0.6.64-r1.ebuild new file mode 100644 index 000000000000..88ab640dc3c1 --- /dev/null +++ b/net-mail/libpst/libpst-0.6.64-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit autotools python-single-r1 + +DESCRIPTION="Tools and library for reading Outlook files (.pst format)" +HOMEPAGE="http://www.five-ten-sg.com/libpst/" +SRC_URI="http://www.five-ten-sg.com/${PN}/packages/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" +IUSE="debug dii doc python static-libs" + +RDEPEND="dii? ( media-gfx/imagemagick:=[png] ) + python? ( >=dev-libs/boost-1.48:=[python] + ${PYTHON_DEPS} ) + gnome-extra/libgsf:=" +DEPEND="${RDEPEND} + virtual/libiconv + virtual/pkgconfig + dii? ( media-libs/gd[png] )" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + # don't build the static python library + eapply "${FILESDIR}"/${PN}-0.6.52-no-static-python-lib.patch + + # fix pkgconfig file for static linking + eapply "${FILESDIR}"/${PN}-0.6.53-pkgconfig-static.patch + + # conditionally install the extra documentation + use doc || { sed -i -e "/SUBDIRS/s: html::" Makefile.am || die; } + + # don't install duplicate docs + sed -i -e "/^html_DATA =/d" Makefile.am || die + + eapply_user + eautoreconf +} + +src_configure() { + econf \ + --enable-libpst-shared \ + $(use_enable debug pst-debug) \ + $(use_enable dii) \ + $(use_enable python) \ + $(use_enable static-libs static) \ + $(use python && echo --with-boost-python=boost_python-${EPYTHON#python}) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/net-mail/libpst/libpst-0.6.66-r1.ebuild b/net-mail/libpst/libpst-0.6.66-r1.ebuild new file mode 100644 index 000000000000..6edb8f5a9dde --- /dev/null +++ b/net-mail/libpst/libpst-0.6.66-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 ) + +inherit autotools python-single-r1 + +DESCRIPTION="Tools and library for reading Outlook files (.pst format)" +HOMEPAGE="http://www.five-ten-sg.com/libpst/" +SRC_URI="http://www.five-ten-sg.com/${PN}/packages/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug dii doc python static-libs" + +RDEPEND="dii? ( media-gfx/imagemagick:=[png] ) + python? ( >=dev-libs/boost-1.48:=[python] + ${PYTHON_DEPS} ) + gnome-extra/libgsf:=" +DEPEND="${RDEPEND} + virtual/libiconv + virtual/pkgconfig + dii? ( media-libs/gd[png] )" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +pkg_setup() { + use python && python-single-r1_pkg_setup +} + +src_prepare() { + # don't build the static python library + eapply "${FILESDIR}"/${PN}-0.6.52-no-static-python-lib.patch + + # fix pkgconfig file for static linking + eapply "${FILESDIR}"/${PN}-0.6.53-pkgconfig-static.patch + + # conditionally install the extra documentation + use doc || { sed -i -e "/SUBDIRS/s: html::" Makefile.am || die; } + + # don't install duplicate docs + sed -i -e "/^html_DATA =/d" Makefile.am || die + + eapply_user + eautoreconf +} + +src_configure() { + econf \ + --enable-libpst-shared \ + $(use_enable debug pst-debug) \ + $(use_enable dii) \ + $(use_enable python) \ + $(use_enable static-libs static) \ + $(use python && echo --with-boost-python=boost_python-${EPYTHON#python}) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/net-mail/libpst/metadata.xml b/net-mail/libpst/metadata.xml new file mode 100644 index 000000000000..1ec1cdf5e944 --- /dev/null +++ b/net-mail/libpst/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <use> + <flag name="dii">enable dii support</flag> + </use> +</pkgmetadata> |