recommit to trick github into recheck github/pr/130
authorMatthew Brewer <tomboy64@sina.cn>
Fri, 25 Sep 2015 07:54:50 +0000 (09:54 +0200)
committerMatthew Brewer <tomboy64@sina.cn>
Fri, 25 Sep 2015 07:54:50 +0000 (09:54 +0200)
app-text/sigil/Manifest
app-text/sigil/sigil-0.8.6-r1.ebuild [new file with mode: 0644]
app-text/sigil/sigil-0.8.7.ebuild [new file with mode: 0644]
app-text/sigil/sigil-0.8.900_pre.ebuild [new file with mode: 0644]

index 556133edd9fc6417ba717faa908ff6b9063c1778..9debb23a9ad54debba61016a9d9975a56dd03555 100644 (file)
@@ -1,2 +1,4 @@
 DIST sigil-0.8.5.tar.gz 19394323 SHA256 12540493685988a2a3a3898675b8c92c422fbec43513bdd935b802fc68ca40f4 SHA512 fd4d65afe5afe97522727681963c08483b9ab78070fed2e13c987a45d5f8b9885d7a55c721d25213c097016bd1c375369f1ebedc079329bd995955e6d75d2d06 WHIRLPOOL 0026e04e9f304186a5f6c6d7756cdb30c004e0da4f969d89c19dfa1a475dfe29a85058c82d4066089111778d83c411d520bced0ce19e8fd94b80f0a1a5608ad6
 DIST sigil-0.8.6.tar.gz 19394568 SHA256 5f89b47abbf0a7befa4e776083db5426456f8ef1ef50bd168dc98d621fb2ad26 SHA512 5d45ca43520f6fd13e83c97da24d613a05e9b33dd0e07637f872a0fb6050f345f9228a8f63d1e81ee727f07d6dbdf306d55fdb51d0ac67dde33327465c3c6732 WHIRLPOOL 99388aef513842b930c4f549fdfa23414366a9af390850fa982dd3ef53d59ab4bd443001929bb50d83699ed4f960104f8f96452744a9acb5f08416843dcbe960
+DIST sigil-0.8.7.tar.gz 19394061 SHA256 0352cc46714ebb5067a0fbdbbc76dded8f10ea0f4f43374c7dbcac6eba49e104 SHA512 24b74c835ae1f8fb887c9d2c59b3ccc6720ce1fe8d19a6b0056754ab5ea6e63c34c4b229f4e4b3a880e722876d288e58385f5a0ad15b295f147b77b1acf28652 WHIRLPOOL 2cb7a8a928069a2f005396faa9bdacde1f77f3cca3a3ba2458b8562e48298a127b9de9d7ecea5f106ad68865d5074b13fff5a234497b2b6655ac1a3c3edef827
+DIST sigil-0.8.900_pre.tar.gz 17691810 SHA256 8f96b2220abb96c53d72d4d2f704f9fdbd60443ace2f226ebc19c14e43ca0e5a SHA512 4b642c21e9500db04fe31117cdf3a083e4609ddc0e1c6323d1561e771bb033ab57d2edb024a12a74400332d97e5d5ee2d25f4635f87df9c09d940a6b12700518 WHIRLPOOL 14262882ce60bec0fb66a20afd3241390f97aa97cf29b32bf159703ddbf18a0dd7bfa463737573d266522eccb4ed15e89e8bf9ec03357929bfeaf6dcfa61a29e
diff --git a/app-text/sigil/sigil-0.8.6-r1.ebuild b/app-text/sigil/sigil-0.8.6-r1.ebuild
new file mode 100644 (file)
index 0000000..45fc347
--- /dev/null
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CMAKE_MIN_VERSION="3.0"
+CMAKE_BUILD_TYPE="Release"
+
+# This ebuild could use some python checks, as sigil contains python plugin architecture.
+
+inherit eutils cmake-utils
+
+MY_PN="Sigil"
+
+DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
+HOMEPAGE="http://sigil-ebook.com/"
+SRC_URI="https://github.com/user-none/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       >=app-text/hunspell-1.3.2
+       >=dev-libs/boost-1.49[threads]
+       >=dev-libs/libpcre-8.31[pcre16]
+       >=dev-libs/xerces-c-3.1.1[icu]
+       >=dev-qt/qtconcurrent-5.4:5
+       >=dev-qt/qtcore-5.4:5
+       >=dev-qt/qtgui-5.4:5
+       >=dev-qt/qtnetwork-5.4:5
+       >=dev-qt/qtprintsupport-5.4:5
+       >=dev-qt/qtsvg-5.4:5
+       >=dev-qt/qtwebkit-5.4:5
+       >=dev-qt/qtwidgets-5.4:5
+       >=dev-qt/qtxml-5.4:5
+       >=dev-qt/qtxmlpatterns-5.4:5
+       >=sys-libs/zlib-1.2.7[minizip]
+"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       >=dev-qt/linguist-tools-5.4:5
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+DOCS=( README.md )
+
+src_prepare() {
+       # sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
+       sed -e '/set( QT_LIBS/d' -i src/Sigil/CMakeLists.txt || die "sed failed"
+
+       cmake-utils_src_prepare
+}
+
+src_configure() {
+       cmake-utils_src_configure
+
+       cd "${WORKDIR}/${P}_build" || die "Where is the build dir?"
+       for i in CMakeCache.txt src/Sigil/CMakeFiles/sigil.dir/link.txt $(find . -name '*.make')
+       do
+               sed -e 's/-O3 -DNDEBUG/-DNDEBUG/' -i ${i} || die "sed failed"
+       done
+}
diff --git a/app-text/sigil/sigil-0.8.7.ebuild b/app-text/sigil/sigil-0.8.7.ebuild
new file mode 100644 (file)
index 0000000..027d5d0
--- /dev/null
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CMAKE_MIN_VERSION="3.0"
+CMAKE_BUILD_TYPE="Release"
+
+# This ebuild could use some python checks, as sigil contains python plugin architecture.
+
+inherit eutils cmake-utils
+
+MY_PN="Sigil"
+
+DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
+HOMEPAGE="http://sigil-ebook.com/"
+SRC_URI="https://github.com/Sigil-Ebook/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       >=app-text/hunspell-1.3.2
+       >=dev-libs/boost-1.49[threads]
+       >=dev-libs/libpcre-8.31[pcre16]
+       >=dev-libs/xerces-c-3.1.1[icu]
+       >=dev-qt/qtconcurrent-5.4:5
+       >=dev-qt/qtcore-5.4:5
+       >=dev-qt/qtgui-5.4:5
+       >=dev-qt/qtnetwork-5.4:5
+       >=dev-qt/qtprintsupport-5.4:5
+       >=dev-qt/qtsvg-5.4:5
+       >=dev-qt/qtwebkit-5.4:5
+       >=dev-qt/qtwidgets-5.4:5
+       >=dev-qt/qtxml-5.4:5
+       >=dev-qt/qtxmlpatterns-5.4:5
+       >=sys-libs/zlib-1.2.7[minizip]
+"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       >=dev-qt/linguist-tools-5.4:5
+"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+DOCS=( README.md )
+
+src_prepare() {
+       # sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
+       sed -e '/set( QT_LIBS/d' -i src/Sigil/CMakeLists.txt || die "sed failed"
+
+       cmake-utils_src_prepare
+}
+
+src_configure() {
+       cmake-utils_src_configure
+
+       cd "${WORKDIR}/${P}_build" || die "Where is the build dir?"
+       for i in CMakeCache.txt src/Sigil/CMakeFiles/sigil.dir/link.txt $(find . -name '*.make')
+       do
+               sed -e 's/-O3 -DNDEBUG/-DNDEBUG/' -i ${i} || die "sed failed"
+       done
+}
diff --git a/app-text/sigil/sigil-0.8.900_pre.ebuild b/app-text/sigil/sigil-0.8.900_pre.ebuild
new file mode 100644 (file)
index 0000000..9ec78bd
--- /dev/null
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CMAKE_MIN_VERSION="3.0"
+CMAKE_BUILD_TYPE="Release"
+
+# This ebuild could use some python checks, as sigil contains python plugin architecture.
+
+inherit eutils cmake-utils
+
+MY_PN="Sigil"
+MY_PV="0.8.900"
+
+DESCRIPTION="Sigil is a multi-platform WYSIWYG ebook editor for ePub format"
+HOMEPAGE="http://sigil-ebook.com/"
+SRC_URI="https://github.com/Sigil-Ebook/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       dev-lang/python:3.4
+       >=dev-libs/boost-1.49[threads]
+       >=dev-libs/libpcre-8.31[pcre16]
+       >=dev-libs/xerces-c-3.1.1[icu]
+       >=dev-qt/qtconcurrent-5.4:5
+       >=dev-qt/qtcore-5.4:5
+       >=dev-qt/qtgui-5.4:5
+       >=dev-qt/qtnetwork-5.4:5
+       >=dev-qt/qtprintsupport-5.4:5
+       >=dev-qt/qtsvg-5.4:5
+       >=dev-qt/qtwebkit-5.4:5
+       >=dev-qt/qtwidgets-5.4:5
+       >=dev-qt/qtxml-5.4:5
+       >=dev-qt/qtxmlpatterns-5.4:5
+       >=sys-libs/zlib-1.2.7[minizip]
+"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       >=dev-qt/linguist-tools-5.4:5
+"
+
+S="${WORKDIR}/${MY_PN}-${MY_PV}"
+
+DOCS=( README.md ChangeLog.txt )
+
+src_prepare() {
+       # sigil tries to copy non-needed qt libs for deb package, safe to ignore this completely
+       sed -e '/set( QT_LIBS/d' -i src/CMakeLists.txt || die "sed failed"
+
+       cmake-utils_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DUSE_SYSTEM_LIBS=1
+               -DSYSTEM_LIBS_REQUIRED=1
+       )
+       cmake-utils_src_configure
+
+       cd "${WORKDIR}/${P}_build" || die "Where is the build dir?"
+       for i in CMakeCache.txt src/CMakeFiles/sigil.dir/link.txt $(find . -name '*.make')
+       do
+               sed -e 's/-O3 -DNDEBUG/-DNDEBUG/' -i ${i} || die "sed failed"
+       done
+}