You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-libs/libsub/libsub-9999.ebuild

52 lines
1.1 KiB

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
PYTHON_REQ_USE="threads(+)"
inherit git-r3 python-any-r1 waf-utils
DESCRIPTION="read and write subtitles in a few different formats"
HOMEPAGE="http://carlh.net/libsub"
EGIT_REPO_URI="https://github.com/cth103/${PN}.git"
EGIT_BRANCH="1.0"
LICENSE="GPL-2"
SLOT="1.0"
KEYWORDS=""
IUSE=""
RDEPEND="dev-cpp/glibmm:2
dev-cpp/libxmlpp:2.6
dev-libs/boost:=
>=dev-libs/libcxml-0.15.4
dev-libs/openssl:0
>=media-libs/libasdcp-cth-0.1.3"
DEPEND="${RDEPEND}
dev-util/waf
virtual/pkgconfig
${PYTHON_DEPS}"
PATCHES=( "${FILESDIR}"/${P}-no-ldconfig.patch
"${FILESDIR}"/${P}-respect-cxxflags.patch
"${FILESDIR}"/${P}-iostream.patch
"${FILESDIR}"/${P}-libcxml-9999.patch
"${FILESDIR}"/${P}-boost.patch )
src_prepare() {
rm -v waf || die
export WAF_BINARY=${EROOT}usr/bin/waf
ewarn "Some tests failing due missing files/certs are disabled."
sed -e '/ssa_reader_test.cc/d' \
-e '/dcp_to_stl_binary_test.cc/d' \
-i test/wscript || die
default
}
src_test() {
./run/tests || die
}