media-libs/libopenshot-audio: bump to 0.1.2
authorLouis Sautier <sautier.louis@gmail.com>
Sun, 11 Sep 2016 13:37:26 +0000 (15:37 +0200)
committerDavid Seifert <soap@gentoo.org>
Wed, 14 Sep 2016 07:37:51 +0000 (09:37 +0200)
Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2304

Signed-off-by: David Seifert <soap@gentoo.org>
media-libs/libopenshot-audio/Manifest
media-libs/libopenshot-audio/libopenshot-audio-0.1.2.ebuild [new file with mode: 0644]

index 3f783fab97036606876ce557f821dd902402b42d..40e2a0dbd162348cb5d81f03f4a41a2ad0a30382 100644 (file)
@@ -1 +1,2 @@
 DIST libopenshot-audio-0.0.6.tar.gz 2963454 SHA256 29707bf7603fc08b2a152abff2599405f3499a2d674919b1a1749638cd91f42e SHA512 20ea1805134f899d845469dacca6bb86eaa6e6cb55cea22acca0ff5e4261782ecdedaa44454e2eb449183a985130861d305402f5cce37da4624650a786167993 WHIRLPOOL 1d9638ebc268190e2ef9c4ad93e1b4c86734940488660e65beef4f4362b2e9a1b5602f0717918ded89b8d588251d3fedff91cfd41c9425fb6d63c408b332478c
+DIST libopenshot-audio-0.1.2.tar.gz 2964758 SHA256 fc03a081feffa424c303a30720cece200222cb28c92e21c4b680d88cb42260d9 SHA512 955f9c20ebf06474702208845fe49d031e29b0614fd15c0e1784c52d1c406fb7a980940bba1f297543305a9611fefd6b9232328cd39c5edbc8908018c5b12f1c WHIRLPOOL 6a46b7fbda690becd28f166285d26fbf21aaca80c7b88fb28e69d9c3482f705ea40c256d8192f686878b5c3f1f0cf95e4b29bfd55c73b818122ab7f303a883cd
diff --git a/media-libs/libopenshot-audio/libopenshot-audio-0.1.2.ebuild b/media-libs/libopenshot-audio/libopenshot-audio-0.1.2.ebuild
new file mode 100644 (file)
index 0000000..5f7a440
--- /dev/null
@@ -0,0 +1,35 @@
+# 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://github.com/OpenShot/${PN}/archive/v${PV}.tar.gz -> ${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}
+"
+
+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
+}