diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /media-libs/libvisio | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'media-libs/libvisio')
| -rw-r--r-- | media-libs/libvisio/Manifest | 1 | ||||
| -rw-r--r-- | media-libs/libvisio/libvisio-0.1.7.ebuild | 63 | ||||
| -rw-r--r-- | media-libs/libvisio/libvisio-9999.ebuild | 63 | ||||
| -rw-r--r-- | media-libs/libvisio/metadata.xml | 12 |
4 files changed, 139 insertions, 0 deletions
diff --git a/media-libs/libvisio/Manifest b/media-libs/libvisio/Manifest new file mode 100644 index 000000000000..2d0862335acd --- /dev/null +++ b/media-libs/libvisio/Manifest @@ -0,0 +1 @@ +DIST libvisio-0.1.7.tar.xz 854296 BLAKE2B db5dd96d769c237bc2926d52a43c2496adca50b74133ea3c81df7ba5a61824891623eb33b4801b463b27f5c03946ea7ffcf827b98c95139c9659b0a1b0f7b604 SHA512 c26f67a09fa6a6d0bf6f3fff5590d5cf16983630d4f7cfcf86d9461baec58dbdf7989fd934be6db0639ca043c160aac2d008275afb9e047766bc878ac579a9ea diff --git a/media-libs/libvisio/libvisio-0.1.7.ebuild b/media-libs/libvisio/libvisio-0.1.7.ebuild new file mode 100644 index 000000000000..4c75d052c916 --- /dev/null +++ b/media-libs/libvisio/libvisio-0.1.7.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libvisio.git" + inherit autotools git-r3 +else + SRC_URI="https://dev-www.libreoffice.org/src/libvisio/${P}.tar.xz" + KEYWORDS="amd64 ~arm arm64 ~hppa ppc ppc64 ~sparc x86" +fi + +DESCRIPTION="Library parsing the file format of MS Visio documents" +HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio" + +LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" +SLOT="0" +IUSE="doc static-libs test tools" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-lang/perl + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +RDEPEND=" + dev-libs/icu:= + dev-libs/librevenge + dev-libs/libxml2 +" +DEPEND="${RDEPEND} + dev-libs/boost + dev-util/gperf + sys-devel/libtool + test? ( dev-util/cppunit ) +" + +src_prepare() { + default + [[ -d m4 ]] || mkdir "m4" + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + # bug 619688 + append-cxxflags -std=c++14 + + local myeconfargs=( + $(use_with doc docs) + $(use_enable static-libs static) + $(use_enable test tests) + $(use_enable tools) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/media-libs/libvisio/libvisio-9999.ebuild b/media-libs/libvisio/libvisio-9999.ebuild new file mode 100644 index 000000000000..1e677b234bae --- /dev/null +++ b/media-libs/libvisio/libvisio-9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://anongit.freedesktop.org/git/libreoffice/libvisio.git" + inherit autotools git-r3 +else + SRC_URI="https://dev-www.libreoffice.org/src/libvisio/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +fi + +DESCRIPTION="Library parsing the file format of MS Visio documents" +HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libvisio" + +LICENSE="|| ( GPL-2+ LGPL-2.1 MPL-1.1 )" +SLOT="0" +IUSE="doc static-libs test tools" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-lang/perl + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" +RDEPEND=" + dev-libs/icu:= + dev-libs/librevenge + dev-libs/libxml2 +" +DEPEND="${RDEPEND} + dev-libs/boost + dev-util/gperf + sys-devel/libtool + test? ( dev-util/cppunit ) +" + +src_prepare() { + default + [[ -d m4 ]] || mkdir "m4" + [[ ${PV} == 9999 ]] && eautoreconf +} + +src_configure() { + # bug 619688 + append-cxxflags -std=c++14 + + local myeconfargs=( + $(use_with doc docs) + $(use_enable static-libs static) + $(use_enable test tests) + $(use_enable tools) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/media-libs/libvisio/metadata.xml b/media-libs/libvisio/metadata.xml new file mode 100644 index 000000000000..da6a180619db --- /dev/null +++ b/media-libs/libvisio/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>office@gentoo.org</email> + <name>Gentoo Office project</name> + </maintainer> + <use> + <flag name="tools">Build conversion tools</flag> + </use> + <origin>gentoo-staging</origin> +</pkgmetadata> |
