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 /dev-libs/libical |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/libical')
-rw-r--r-- | dev-libs/libical/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/libical/files/fix-libdir-location.patch | 26 | ||||
-rw-r--r-- | dev-libs/libical/libical-1.0.1.ebuild | 44 | ||||
-rw-r--r-- | dev-libs/libical/libical-2.0.0-r2.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/libical/metadata.xml | 8 |
5 files changed, 134 insertions, 0 deletions
diff --git a/dev-libs/libical/Manifest b/dev-libs/libical/Manifest new file mode 100644 index 000000000000..120b153e1cc1 --- /dev/null +++ b/dev-libs/libical/Manifest @@ -0,0 +1,8 @@ +AUX fix-libdir-location.patch 892 SHA256 fffef6dc50e069af7856b6b1e28bf76bf71d0ff1bb0ad7c530629c92bee06135 SHA512 5505fd7de9a1650d091006fc47b3a82d5c8b6cb0c7c9ce0a5304c4a0384be36d726b281823798c8b869c49ee502cb8b0f3bf86ae2d6c80888d83134298874b79 WHIRLPOOL bd561858fcb64da1dc574cc07658ff2ed20edc4769503495e513279013e0ced8df5c23d719a6c7234b873665cc5c25898eed5c0faf6ae06c6051a44c272faaa6 +DIST libical-1.0.1.tar.gz 720618 SHA256 7d5f613454ec6c7d1bcfb441c919215be53292aa15cd1cb14249d1413d6c610c SHA512 efce88c73352fc34e9f7eda2234bdb593e917b33d1373cc6e6a21a72db1b14f2ed72976d6084dddcd8f07b08a15d5f04370bc825695d2fd40cc7b8488a7a977f WHIRLPOOL b9b4aa3fe0287a5394a8b23a1c3c810059554f6cce396b98f383df9950f984e0d18961086ecbdeb1c099ca6c63f68ceb2be08a9471817e0554ecc6e7fce06347 +DIST libical-2.0.0.tar.gz 699099 SHA256 20f4a98475052e1200d2691ba50b27969e4bedc6e50bffd5e2fa81f4ac90de9a SHA512 0b80f9aa40e0a485371b5949152c10d7fffb6e0dfe8c2aabc3c6e4e97ba0cdd465ae7093343245be60173bc7b24e80e919c0c0e199ff0bb2b14ed94af7087c4f WHIRLPOOL 64006dba88b8e3b691620b0f349ad06112c23903be977675a61a49dc2af3e90e9869993100261b0eb401964e7115133fcbf6048c68cf39607d3273eec8f6a158 +EBUILD libical-1.0.1.ebuild 1276 SHA256 13e667ef0c49f2df2559070c10a1eda778995f0f6cd3679cbffcdb535d96cedb SHA512 712364e9a0276b05cd98e6ca57fa974f653540da3e884a5ae3ce9d9d08e75910860396daf839a9dd086afbdf2cfbc8ef3bf16c5d0640828750cbd616ce5f8117 WHIRLPOOL 74b22c6405bc2d46704ecbd65afaaf35f9c7c9fca514e75bf70bf2baa5f4766b2e707307e041575e7bee885d64a194caf46441b13b94cbecaed3078e191227dc +EBUILD libical-2.0.0-r2.ebuild 1410 SHA256 b94ef707524dfc3467eb2b8fa73ea9b91b04c35ad38615be5c2d3ac14ccf06e5 SHA512 6f4eab47e67718a9852ea95dca84e33b4c4dfaaadc0045cc3a3c0119c25766f21d93e62259f9f717e47fa94b5b72d9ae62a032285f07890957a6939a1d9caa85 WHIRLPOOL 81eac41bbbd35b778322e96aa0c99ac7504e9c752c3f21934ea4f735b1663447dbe256b107156c967add8ac310a980a15ef3557dacb3838f5e81938a282aee1b +MISC ChangeLog 3422 SHA256 3a4b12bbc191de6b79d8620d9f2a427a26ca60551143f76b5320f7c6a34d126d SHA512 9c8a9ff84c5203a5d35c3e7dcd12b5d81f418f6ae387276dcde1148b59e1d1a43a671681a01807324e66c4580fb912cc6b33aae81c954d21dfa4324032b00be8 WHIRLPOOL a7ffdb62e3da00c2388a1efb5d8af2aa9f1f105b3f5b1097bb8a483e4c12b8f6e272e2f03a2a56644c130f28d1dcb5e7162ef2d72ff0bc6ae12ad1d286f8afbb +MISC ChangeLog-2015 11926 SHA256 ae72fe99ec65cb3681beec8e897cff614efc156d7e0aa982d6502d7d0d75fad2 SHA512 ee89e224f4705bd0ed667dba7f0d25e35256b4fb3256b50b9578f958f1b996df2b102004a8967aead962478b9cc36e2c5e3560e0b3b7712f1ef43952b8df02bd WHIRLPOOL 738a7f3a83c9394174c871c009da12d46a7db581622e5fee4c31ae6fabe828540cb39c5bf1aa8bac306b4cec73147c9ef1f58e3bb717bcb94554521f47b1ba80 +MISC metadata.xml 252 SHA256 75c12ea078ba56f43706984593042318b4e6c2c588b67b0f0f1479c3de0e98ed SHA512 526fbe215d17a7e22c1c2ab946806b7c115021e76845b0d7b3facf160fd73a6ece833030549a36b4f39de1691db057885fa95a3007f5a05e1df493d174bf1c0e WHIRLPOOL b84d86052781197deaf86d37c28065311076e09b2c757cf6668a34596586cbb8abc8971d0c0788d256d32ffb4a684a022e5a283e42cbd2423eb4bdfb1ac9d055 diff --git a/dev-libs/libical/files/fix-libdir-location.patch b/dev-libs/libical/files/fix-libdir-location.patch new file mode 100644 index 000000000000..53eb2040bc09 --- /dev/null +++ b/dev-libs/libical/files/fix-libdir-location.patch @@ -0,0 +1,26 @@ +This is a patch for Gentoo bug 560572, provided by Georgi Georgiev. + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 773cf0c..e282ce4 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -336,7 +336,7 @@ endif() + set(VERSION "${PROJECT_VERSION}") + set(prefix "${CMAKE_INSTALL_PREFIX}") + set(exec_prefix "\${prefix}") +-set(libdir "\${exec_prefix}/lib") ++set(libdir "${LIB_INSTALL_DIR}") + set(includedir "\${prefix}/include") + set(PTHREAD_LIBS "${CMAKE_THREAD_LIBS_INIT}") + +diff --git a/libical.pc.in b/libical.pc.in +index 7774dce..bf88476 100644 +--- a/libical.pc.in ++++ b/libical.pc.in +@@ -8,5 +8,5 @@ iculib=@ICU_LIBRARIES@ @ICU_I18N_LIBRARIES@ + Name: libical + Description: An implementation of basic iCAL protocols + Version: @VERSION@ +-Libs: -L${libdir} -lical -licalss -licalvcal ${threadslib} ${iculib} ++Libs: -lical -licalss -licalvcal ${threadslib} ${iculib} + Cflags: -I${includedir} diff --git a/dev-libs/libical/libical-1.0.1.ebuild b/dev-libs/libical/libical-1.0.1.ebuild new file mode 100644 index 000000000000..610e4e22bee3 --- /dev/null +++ b/dev-libs/libical/libical-1.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit cmake-utils + +DESCRIPTION="An implementation of basic iCAL protocols" +HOMEPAGE="https://github.com/libical/libical" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +# FIGURE OUT: Why ebuild for 1.0 was marked || ( MPL-1.1 LGPL-2 ) against what COPYING file says? +LICENSE="|| ( MPL-1.0 LGPL-2.1 )" +SLOT="0/1" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc examples introspection static-libs" + +RDEPEND="introspection? ( dev-libs/gobject-introspection )" +DEPEND="${RDEPEND} + dev-lang/perl" + +DOCS=( + AUTHORS ReadMe.txt ReleaseNotes.txt TEST THANKS TODO + doc/{AddingOrModifyingComponents,UsingLibical}.txt +) + +src_configure() { + local mycmakeargs=( $(cmake-utils_use introspection GOBJECT_INTROSPECTION) ) + use static-libs || mycmakeargs+=( -DSHARED_ONLY=ON ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile -j1 +} + +src_install() { + cmake-utils_src_install + + if use examples; then + rm examples/Makefile* examples/CMakeLists.txt + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} diff --git a/dev-libs/libical/libical-2.0.0-r2.ebuild b/dev-libs/libical/libical-2.0.0-r2.ebuild new file mode 100644 index 000000000000..32dc6201e26a --- /dev/null +++ b/dev-libs/libical/libical-2.0.0-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit cmake-utils + +DESCRIPTION="An implementation of basic iCAL protocols" +HOMEPAGE="https://github.com/libical/libical" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="|| ( MPL-1.0 LGPL-2.1 )" +SLOT="0/2" +KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="doc examples static-libs" + +# The GOBJECT_INTROSPECTION build is broken, and upstream has given up +# on it at the moment (it's disabled in Travis). It will probably come +# back in v2.0.1 or later. +# This snippet belongs to RDEPEND: +# introspection? ( dev-libs/gobject-introspection )" +RDEPEND="dev-libs/icu:=" +DEPEND="${RDEPEND} + dev-lang/perl" + +DOCS=( + AUTHORS ReadMe.txt ReleaseNotes.txt TEST THANKS TODO + doc/{AddingOrModifyingComponents,UsingLibical}.txt +) + +PATCHES=( "${FILESDIR}/fix-libdir-location.patch" ) + +src_configure() { + # See above, introspection is disabled for v2.0.0 at least. + #local mycmakeargs=( + # -DGOBJECT_INTROSPECTION=$(usex introspection true false) + #) + use static-libs || mycmakeargs+=( -DSHARED_ONLY=ON ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if use examples; then + rm examples/CMakeLists.txt || die + dodoc -r examples + fi +} diff --git a/dev-libs/libical/metadata.xml b/dev-libs/libical/metadata.xml new file mode 100644 index 000000000000..35e5fb38c4e7 --- /dev/null +++ b/dev-libs/libical/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 --> + <upstream> + <remote-id type="github">libical/libical</remote-id> + </upstream> +</pkgmetadata> |