summaryrefslogtreecommitdiff
path: root/media-libs/libopenshot-audio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /media-libs/libopenshot-audio
reinit the tree, so we can have metadata
Diffstat (limited to 'media-libs/libopenshot-audio')
-rw-r--r--media-libs/libopenshot-audio/Manifest7
-rw-r--r--media-libs/libopenshot-audio/files/libopenshot-audio-0.1.4-fix-under-linking.patch22
-rw-r--r--media-libs/libopenshot-audio/libopenshot-audio-0.1.2-r1.ebuild33
-rw-r--r--media-libs/libopenshot-audio/libopenshot-audio-0.1.4.ebuild28
-rw-r--r--media-libs/libopenshot-audio/metadata.xml10
5 files changed, 100 insertions, 0 deletions
diff --git a/media-libs/libopenshot-audio/Manifest b/media-libs/libopenshot-audio/Manifest
new file mode 100644
index 000000000000..8cfba8dc3da3
--- /dev/null
+++ b/media-libs/libopenshot-audio/Manifest
@@ -0,0 +1,7 @@
+AUX libopenshot-audio-0.1.4-fix-under-linking.patch 642 SHA256 2725ce250ba5146a73ba847bea5ea44b59e5497a4e9c99193a7e877d6030ac35 SHA512 6fdfc0e8d4a2325389a530d166c5bb504ab71a5274d037a07b579d2855c425197bf0e88349204aadcbdfc9e8efd246f10ca3d20378055f739e1d4d8fba97d7c2 WHIRLPOOL a6148b43a97be261b1012f00ff78cc600681e158cde3e99ece480f2f92468436ce559b191d8508415206744a2eddd7c5bb390f2a9f9c7918ca90fa84d78c203e
+DIST libopenshot-audio-0.1.2.tar.gz 2964758 SHA256 fc03a081feffa424c303a30720cece200222cb28c92e21c4b680d88cb42260d9 SHA512 955f9c20ebf06474702208845fe49d031e29b0614fd15c0e1784c52d1c406fb7a980940bba1f297543305a9611fefd6b9232328cd39c5edbc8908018c5b12f1c WHIRLPOOL 6a46b7fbda690becd28f166285d26fbf21aaca80c7b88fb28e69d9c3482f705ea40c256d8192f686878b5c3f1f0cf95e4b29bfd55c73b818122ab7f303a883cd
+DIST libopenshot-audio-0.1.4.tar.gz 2959997 SHA256 3aa8cff51913a65e266b49699858fd5139b63817bd207145cf5699fe75d2459e SHA512 5605164a8c66c33ac893cc2b42cdacffff03eb156a61740c1b2c00dd7e7602a802fa1dc3795c620810e3ee29a290aa6bae8b62bc17eab3f4dd2d8052e0481824 WHIRLPOOL 3022438a912ed17684e8946f70d315c58bd2b1a8f5897c795c837e2aaaf9426f87e31aded294b6eadb583c7108df7331cf76476b21847fa0a3d78a0803da70fe
+EBUILD libopenshot-audio-0.1.2-r1.ebuild 768 SHA256 a01ee52d5d6959eb10d7c6f46a4b4956db94abff80c9a074c08b84b1ecb972a4 SHA512 b8b66c01a8194e7846bce3c3b7518160abee23d518ce842b0b7a64185837f7a73d3cf556360d11f533a383d68918c31c384e22405d0f9244da5a3ef2cd1a59f9 WHIRLPOOL a24a91b8a91386ad983157132c49e398827d2cbc1f310e897b296c01d6cb346cb665940ffa599d80fe63bd7e27571b4587a62491ba07994d83754695baf8fba3
+EBUILD libopenshot-audio-0.1.4.ebuild 666 SHA256 ed0b001f9d907febe090becd74db2fa65aa399976d03894f247d3d1cdd98d0ce SHA512 211e2c0f36869bc564e68ceff6cace837cbec5d2f2543de1258399fddc30e87320c49a939981333c54a86cb48d45202ce4a20ff55e8b3969f0642b95730b7bfd WHIRLPOOL 133144dc98c5e791ce8592662c5de49c5270482588d1586e6dc24944b23d4d5859c3195c60abed9a198bfad341d4582da2fa49ab17a2978905db0f1f8f014eef
+MISC ChangeLog 1356 SHA256 dccf8d1675fac213b0d59b82914b13b9e2d9e83fb03f262dbfd85e7277f2ab54 SHA512 a73334d0785766188cdb79a481d832bcdbaedb0f1a8fdcfc75ba66454c46a66064c943e1acf5db940864a70634baa5c50e7b418c29a61b5a2986d374764dc669 WHIRLPOOL ea483e0a10a32f9664e486c2d72fd3db36ea72463531c169ec37a16672c8c802d8e65a065050ab4d373ec4abbc69ecec1b1329540df6e63522af4729731f8015
+MISC metadata.xml 386 SHA256 9129dc6c4eedc8de978792f6a98b5edfca94b6f0f5ed20c6d525b56e1ef7fc6a SHA512 65064e6f488f977b5dd7f16ee9b58c43a5ea0aa15193dbfe79f145e0da8f145d4ff8e0968524c2c6962311ee10d8e4ccd157f5710a00a922b3e1c42dfedc8491 WHIRLPOOL 0e5cb6922cd2ac25b7bf43aea9ddabdd6fd4ed1aadafa41342b91d85cc4b1ebe289992216c18b7167e4514563d98cd413e2728f657a299c7cb69e8692bb0ef79
diff --git a/media-libs/libopenshot-audio/files/libopenshot-audio-0.1.4-fix-under-linking.patch b/media-libs/libopenshot-audio/files/libopenshot-audio-0.1.4-fix-under-linking.patch
new file mode 100644
index 000000000000..18571abfee22
--- /dev/null
+++ b/media-libs/libopenshot-audio/files/libopenshot-audio-0.1.4-fix-under-linking.patch
@@ -0,0 +1,22 @@
+commit f489d3c4ab9dc3ff6fe443a0e8a31b46ed73371d
+Author: Louis Sautier <sautier.louis@gmail.com>
+Date: Sun Jul 23 22:37:01 2017 +0200
+
+ Fix under-linking (pthread and dl), fixes #3
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c6c8f54..e0e2433 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -168,7 +168,11 @@ set_target_properties(openshot-audio
+ SOVERSION ${SO_VERSION}
+ INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/lib")
+
++set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
++find_package(Threads REQUIRED)
+ TARGET_LINK_LIBRARIES(openshot-audio
++ ${CMAKE_DL_LIBS}
++ ${CMAKE_THREAD_LIBS_INIT}
+ ${JUCE_PLATFORM_SPECIFIC_LIBRARIES}
+ )
+
diff --git a/media-libs/libopenshot-audio/libopenshot-audio-0.1.2-r1.ebuild b/media-libs/libopenshot-audio/libopenshot-audio-0.1.2-r1.ebuild
new file mode 100644
index 000000000000..44fffc1b1477
--- /dev/null
+++ b/media-libs/libopenshot-audio/libopenshot-audio-0.1.2-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/libXcursor
+ x11-libs/libXext
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+"
+DEPEND="${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
+}
diff --git a/media-libs/libopenshot-audio/libopenshot-audio-0.1.4.ebuild b/media-libs/libopenshot-audio/libopenshot-audio-0.1.4.ebuild
new file mode 100644
index 000000000000..ef9f64b7d1f3
--- /dev/null
+++ b/media-libs/libopenshot-audio/libopenshot-audio-0.1.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/libXcursor
+ x11-libs/libXext
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+"
+DEPEND="${RDEPEND}"
+
+# https://github.com/OpenShot/libopenshot-audio/pull/7
+PATCHES=( "${FILESDIR}/${P}-fix-under-linking.patch" )
diff --git a/media-libs/libopenshot-audio/metadata.xml b/media-libs/libopenshot-audio/metadata.xml
new file mode 100644
index 000000000000..380e62435237
--- /dev/null
+++ b/media-libs/libopenshot-audio/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="launchpad">libopenshot</remote-id>
+ <remote-id type="github">OpenShot/libopenshot-audio</remote-id>
+ <bugs-to>https://github.com/OpenShot/libopenshot-audio/issues</bugs-to>
+ </upstream>
+</pkgmetadata>