diff options
Diffstat (limited to 'net-mail/libpst')
-rw-r--r-- | net-mail/libpst/Manifest | 3 | ||||
-rw-r--r-- | net-mail/libpst/libpst-0.6.66-r1.ebuild | 6 | ||||
-rw-r--r-- | net-mail/libpst/libpst-0.6.66-r2.ebuild | 70 |
3 files changed, 75 insertions, 4 deletions
diff --git a/net-mail/libpst/Manifest b/net-mail/libpst/Manifest index a8530bafca72..43da0eb16672 100644 --- a/net-mail/libpst/Manifest +++ b/net-mail/libpst/Manifest @@ -1,5 +1,6 @@ AUX libpst-0.6.52-no-static-python-lib.patch 449 BLAKE2B c9d93e38a36485e23b8deaf3a91c8b6806db1526722a704ac3cf1eabd623ae3bf25aaf3a815d63b4b7873dd9a23f7399afe59dade5fa111db0e7ac3ba58f00fd SHA512 9cd44493406a58c522fdfe9423a7b15548af7e06332289c98fc1054822d209aa112d497622b3578531147934fd82335bf8c68cc8e371e31ef4716fb51cb26273 AUX libpst-0.6.53-pkgconfig-static.patch 211 BLAKE2B 97d8939c3c81365a9100be4ceeacc8303fd2f07c4ece0af40af1bb8750174f6b994ce93089599956aa50b6ff3b17102e37cc16d5426a9b98675d910a7f0f80ff SHA512 eb8d95b07dc96435b7d753c1ea68dfb419867b7b092c3f243de9b5983af29ae368e7e5f3a4ea5a802c82c41a2096bd01564f7f74cd733ac038abb263b6ca4d1b DIST libpst-0.6.66.tar.gz 13836942 BLAKE2B f8ac86a2924576fc41aa7bb92a824748d858e9b6b42d3cc7e59959ca6377f458d7bcd738081a9547432f9153b839861f8c0fc5aa0a0c74b0447c2ab126b5bb64 SHA512 0d07b13554b9e009787ce651714281d21a4d38afae997bd87244690538bd18176ab74655c0a0646b1c475c916052d4295ffe749e6a03765450af7e9c8443dd86 -EBUILD libpst-0.6.66-r1.ebuild 1579 BLAKE2B 8fb4e52a48e432ab472fc72b95ce6a26989bc081a0acac8f22afe4392df913542dcd33018401cec8c7f675d9e0ae9c99a64dc4463ec98347b29aadc4f1a40581 SHA512 8636e108ed2614cba20c1647288fd7e7cf05314d619b48fc9fb832aca6651295122faf3ca61f1b9eb5073a8660d0d7af1237c3feec84de80225fa37f4a7ed485 +EBUILD libpst-0.6.66-r1.ebuild 1580 BLAKE2B 1f0172f84af5da8fa7560cfa3ba13e1c87ffea5f8fc2874a24757088091d9cc9f283e398fffbee122b969817f631577a50641717fa63b257954466dcae7c5afd SHA512 f8097fae146f23b2dc75c96cd76e62b97daeeb625c05e2087c186c450ecebfed8ffb3e8a74e21ca17aad2bcdd2d7011094dd968b980f5d7dc84f96da312ac9d1 +EBUILD libpst-0.6.66-r2.ebuild 1625 BLAKE2B 8a6464029534dea0d2190168d1220a02bdb2597f922c100346e5f44223c9f9b48965840f6d98b957cc6641b538543c4e8f248bbc759b31fafa1a34e2b0e1eceb SHA512 a004aa1612ba874ca3fa9c7948d7160c25c2238ebbc5a1ef314d7245f6aa04fd7df12bfeb7ba963253dbfaca9b2c10b036b60b470cc425e7740acbab19a302e9 MISC metadata.xml 232 BLAKE2B 63277f4f8d2b807cb55686cc487bf534330a954fcb2e43dc24fe5cad241229545305bfd7517ab2b8a652f0ef89c93774f7636fe848145f29695575bd15100418 SHA512 bc3293101ebc8838fe7c3a9ba19bb540a8c5357d9181545dd460bc404637e469866428445b8340833b20cdd44b55ccf88ff97433bd88ba8ee8b7353ceb140b8a diff --git a/net-mail/libpst/libpst-0.6.66-r1.ebuild b/net-mail/libpst/libpst-0.6.66-r1.ebuild index 5f2f39862ea4..c1b99ee4ce99 100644 --- a/net-mail/libpst/libpst-0.6.66-r1.ebuild +++ b/net-mail/libpst/libpst-0.6.66-r1.ebuild @@ -7,8 +7,8 @@ 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" +HOMEPAGE="https://www.five-ten-sg.com/libpst/" +SRC_URI="https://www.five-ten-sg.com/${PN}/packages/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -16,7 +16,7 @@ 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? ( <dev-libs/boost-1.70:=[python] ${PYTHON_DEPS} ) gnome-extra/libgsf:=" DEPEND="${RDEPEND} diff --git a/net-mail/libpst/libpst-0.6.66-r2.ebuild b/net-mail/libpst/libpst-0.6.66-r2.ebuild new file mode 100644 index 000000000000..bb12628b7a30 --- /dev/null +++ b/net-mail/libpst/libpst-0.6.66-r2.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 ) + +inherit autotools python-single-r1 + +DESCRIPTION="Tools and library for reading Outlook files (.pst format)" +HOMEPAGE="https://www.five-ten-sg.com/libpst/" +SRC_URI="https://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" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + gnome-extra/libgsf:= + dii? ( media-gfx/imagemagick:=[png] ) + python? ( + ${PYTHON_DEPS} + >=dev-libs/boost-1.70:=[python,${PYTHON_USEDEP}] + )" +DEPEND="${RDEPEND} + virtual/libiconv + virtual/pkgconfig + dii? ( media-libs/gd[png] )" + +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 + if ! use doc; then + sed -i -e "/SUBDIRS/s: html::" Makefile.am || die + fi + + # don't install duplicate docs + sed -i -e "/^html_DATA =/d" Makefile.am || die + + eapply_user + + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + --enable-libpst-shared \ + $(use_enable debug pst-debug) \ + $(use_enable dii) \ + $(use_enable python) \ + $(use_enable static-libs static) \ + $(use_with python boost-python "boost_${EPYTHON/./}") +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |