media-libs/libpagemaker: 0.0.3 version bump
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sun, 13 Mar 2016 23:11:44 +0000 (00:11 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 19 Mar 2016 21:39:38 +0000 (22:39 +0100)
Package-Manager: portage-2.2.27

media-libs/libpagemaker/libpagemaker-0.0.3.ebuild
media-libs/libpagemaker/libpagemaker-9999.ebuild
media-libs/libpagemaker/metadata.xml

index 7e2a3af1a3970692ee3c1f9bbc861bcf0780ca6d..faf582e328ce23541dce9eea24e616ce0ab2afb0 100644 (file)
@@ -2,36 +2,40 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils
+EGIT_REPO_URI="git://gerrit.libreoffice.org/${PN}.git"
+[[ ${PV} == 9999 ]] && inherit autotools git-r3
 
 DESCRIPTION="C++ Library that parses the file format of Aldus/Adobe PageMaker documents."
-HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libpagemaker"
-SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
+HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/${PN}"
+[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
 
 LICENSE="MPL-2.0"
 SLOT="0"
+
+[[ ${PV} == 9999 ]] || \
 KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
-IUSE="debug doc tools static-libs"
+IUSE="debug doc tools"
 
 RDEPEND="
        dev-libs/librevenge
-       "
+"
 DEPEND="${RDEPEND}
        >=dev-libs/boost-1.47
        virtual/pkgconfig
        doc? ( app-doc/doxygen )
 "
 
+src_prepare() {
+       eapply_user
+       [[ ${PV} == 9999 ]] && eautoreconf
+}
+
 src_configure() {
-       local myeconfargs=(
-               --docdir="${EPREFIX}/usr/share/doc/${PF}"
-               --disable-werror
-               $(use_enable tools)
+       econf \
+               --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+               --disable-werror \
+               $(use_enable tools) \
                $(use_with doc docs)
-               )
-       autotools-utils_src_configure
 }
index 7dc3320b06f853b68f7ff648032cbae6fce87b7c..faf582e328ce23541dce9eea24e616ce0ab2afb0 100644 (file)
@@ -1,38 +1,41 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-AUTOTOOLS_AUTORECONF=true
-
-inherit autotools-utils git-r3
+EGIT_REPO_URI="git://gerrit.libreoffice.org/${PN}.git"
+[[ ${PV} == 9999 ]] && inherit autotools git-r3
 
 DESCRIPTION="C++ Library that parses the file format of Aldus/Adobe PageMaker documents."
 HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/${PN}"
-SRC_URI=""
-EGIT_REPO_URI="git://gerrit.libreoffice.org/${PN}.git"
+[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
 
 LICENSE="MPL-2.0"
 SLOT="0"
-KEYWORDS=""
-IUSE="debug doc tools static-libs"
+
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug doc tools"
 
 RDEPEND="
        dev-libs/librevenge
-       "
+"
 DEPEND="${RDEPEND}
        >=dev-libs/boost-1.47
        virtual/pkgconfig
        doc? ( app-doc/doxygen )
 "
 
+src_prepare() {
+       eapply_user
+       [[ ${PV} == 9999 ]] && eautoreconf
+}
+
 src_configure() {
-       local myeconfargs=(
-               --docdir="${EPREFIX}/usr/share/doc/${PF}"
-               --disable-werror
-               $(use_enable tools)
+       econf \
+               --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+               --disable-werror \
+               $(use_enable tools) \
                $(use_with doc docs)
-               )
-       autotools-utils_src_configure
 }
index e82d9da2c3b7d48c83a85146bcf53f6cd7fe9a83..68183db0bc65ac328befc115c50f9900a81052d9 100644 (file)
@@ -1,11 +1,11 @@
 <?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 build tools</flag>
-  </use>
+       <maintainer type="project">
+               <email>office@gentoo.org</email>
+               <name>Gentoo Office project</name>
+       </maintainer>
+       <use>
+               <flag name="tools">Build build tools</flag>
+       </use>
 </pkgmetadata>