summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2016-09-11 15:37:26 +0200
committerDavid Seifert <soap@gentoo.org>2016-09-14 09:37:51 +0200
commit3f2620609a1ea52702aaa08d2f6161a53ef3e7c1 (patch)
tree8fc1ddbaf682dfa87352cd61262565d15e7ab6da /media-libs/libopenshot-audio
parentmedia-gfx/povray: Allow for compiling with GCC 6 (diff)
downloadgentoo-3f2620609a1ea52702aaa08d2f6161a53ef3e7c1.tar.gz
gentoo-3f2620609a1ea52702aaa08d2f6161a53ef3e7c1.tar.bz2
gentoo-3f2620609a1ea52702aaa08d2f6161a53ef3e7c1.zip
media-libs/libopenshot-audio: bump to 0.1.2
Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2304 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-libs/libopenshot-audio')
-rw-r--r--media-libs/libopenshot-audio/Manifest1
-rw-r--r--media-libs/libopenshot-audio/libopenshot-audio-0.1.2.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/media-libs/libopenshot-audio/Manifest b/media-libs/libopenshot-audio/Manifest
index 3f783fab9703..40e2a0dbd162 100644
--- a/media-libs/libopenshot-audio/Manifest
+++ b/media-libs/libopenshot-audio/Manifest
@@ -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
index 000000000000..5f7a440901cd
--- /dev/null
+++ b/media-libs/libopenshot-audio/libopenshot-audio-0.1.2.ebuild
@@ -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
+}