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/libopenshot-audio/libopenshot-audio-0.0.6.ebuild

38 lines
768 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils
DESCRIPTION="Audio library used by OpenShot"
HOMEPAGE="http://www.openshot.org/ https://launchpad.net/libopenshot"
SRC_URI="https://launchpad.net/libopenshot/0.1/0.1.0/+download/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
media-libs/alsa-lib
media-libs/freetype
x11-libs/libX11
x11-libs/libXext
"
DEPEND="
x11-libs/libXinerama
x11-libs/libXrandr
${RDEPEND}
"
S="${WORKDIR}"
src_prepare() {
# fix under-linking
# https://github.com/OpenShot/libopenshot-audio/issues/3
sed -i 's/^\(target_link_libraries(.*\))$/\1 dl pthread)/' \
src/CMakeLists.txt || die
cmake-utils_src_prepare
}