--- /dev/null
+DIST libsub-1.1.13.tar.bz2 178168 SHA256 3ec6e40e3f45fc67b61e0746cb509c1e251fc22c639785deeba0b8459f657af2 SHA512 85785ce69e52ce8d5746a9cf15178a9e98d13f63a4c899d13ff5df40ab871fd8ddbea0261b7e01ab9220973c0f9b6f0faeefe94c7f0755eaf43ae2674c367ea6 WHIRLPOOL cfdbad5596870b0b266037a329c3baab207e86451c9413b4612831bc699e9690920448279b268837a6f1d31ce26e73965ade49fa58bb762e2e51c26248e87ed7
+DIST libsub-1.2.4.tar.bz2 179025 SHA256 0c37a37d5445598bba2088006b1542155d1a7528a62fd95cd094acbc44eb5d61 SHA512 c7e5f73b5e46322434c5ad3235c374311e30df0e4d794645a716867e696683883b1576fb206e85db6aebe649c9e59299abac86a513c9ac93bd5ebefec826a63e WHIRLPOOL c954910e43252aba9d9dfa060493f41a3ac605d6f1b8e8cda4f110cea56937db30599b93345e593ee676828b317f73734b29a1aa7ba291f25252042f044faf13
--- /dev/null
+--- libsub-1.1.12/wscript
++++ libsub-1.1.12/wscript
+@@ -148,5 +148,4 @@
+ sys.exit(-1)
+
+ def post(ctx):
+- if ctx.cmd == 'install':
+- ctx.exec_command('/sbin/ldconfig')
++ pass
--- /dev/null
+--- libsub-1.1.13/wscript
++++ libsub-1.1.13/wscript
+@@ -24,11 +24,6 @@
+ conf.env.DISABLE_TESTS = conf.options.disable_tests
+ conf.env.API_VERSION = API_VERSION
+
+- if conf.options.enable_debug:
+- conf.env.append_value('CXXFLAGS', '-g')
+- else:
+- conf.env.append_value('CXXFLAGS', '-O3')
+-
+ # Disable libxml++ deprecation warnings for now
+ conf.env.append_value('CXXFLAGS', ['-Wno-deprecated-declarations'])
+
--- /dev/null
+--- libsub-1.2.4/wscript
++++ libsub-1.2.4/wscript
+@@ -151,8 +151,7 @@
+ sys.exit(-1)
+
+ def post(ctx):
+- if ctx.cmd == 'install':
+- ctx.exec_command('/sbin/ldconfig')
++ pass
+
+ def tags(bld):
+ os.system('etags src/*.cc src/*.h')
--- /dev/null
+# 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 python-any-r1 waf-utils
+
+DESCRIPTION="read and write subtitles in a few different formats"
+HOMEPAGE="http://carlh.net/libsub"
+SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="1.0"
+KEYWORDS="~amd64"
+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"
+DEPEND="${RDEPEND}
+ dev-util/waf
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.1.12-no-ldconfig.patch
+ "${FILESDIR}"/${PN}-1.1.13-respect-cxxflags.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 '/subrip_reader_test.cc/d' \
+ -i test/wscript || die
+
+ default
+}
+
+src_test() {
+ ./run/tests || die
+}
--- /dev/null
+# 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 python-any-r1 waf-utils
+
+DESCRIPTION="read and write subtitles in a few different formats"
+HOMEPAGE="http://carlh.net/libsub"
+SRC_URI="http://carlh.net/downloads/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="1.0"
+KEYWORDS="~amd64"
+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"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.2.4-no-ldconfig.patch
+ "${FILESDIR}"/${PN}-1.1.13-respect-cxxflags.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
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>