summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2017-12-27 21:10:34 +0100
committerCtibor Brančík <ctibor@brancik.cz>2017-12-27 21:10:34 +0100
commit8004a9b86605fbcd69e5405177145ec0d8095732 (patch)
tree38eaf0be1c34ee8390d3e473b5ee47fb19eeb6b5
parentf104496891932c2bd7667560697e7462f55e981a (diff)
downloadbrancik-overlay-8004a9b86605fbcd69e5405177145ec0d8095732.tar.gz
brancik-overlay-8004a9b86605fbcd69e5405177145ec0d8095732.tar.bz2
=sci-libs/indilib-driver-rtlsdr-9999 requires new sci-libs/libdspau
-rw-r--r--sci-libs/indilib-driver-rtlsdr/indilib-driver-rtlsdr-9999.ebuild3
-rw-r--r--sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch10
-rw-r--r--sci-libs/libdspau/libdspau-9999.ebuild24
-rw-r--r--sci-libs/libdspau/metadata.xml17
4 files changed, 53 insertions, 1 deletions
diff --git a/sci-libs/indilib-driver-rtlsdr/indilib-driver-rtlsdr-9999.ebuild b/sci-libs/indilib-driver-rtlsdr/indilib-driver-rtlsdr-9999.ebuild
index fd39e29..99f3add 100644
--- a/sci-libs/indilib-driver-rtlsdr/indilib-driver-rtlsdr-9999.ebuild
+++ b/sci-libs/indilib-driver-rtlsdr/indilib-driver-rtlsdr-9999.ebuild
@@ -16,7 +16,8 @@ KEYWORDS=""
SLOT="0"
DEPEND="=sci-libs/indilib-9999
- net-wireless/rtl-sdr"
+ net-wireless/rtl-sdr
+ =sci-libs/libdspau-9999"
RDEPEND="${DEPEND}"
diff --git a/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch b/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch
new file mode 100644
index 0000000..b821e14
--- /dev/null
+++ b/sci-libs/libdspau/files/libdspau-9999_fix_cmake_libdir.patch
@@ -0,0 +1,10 @@
+diff --git a/3rdparty/libdspau/CMakeLists.txt b/3rdparty/libdspau/CMakeLists.txt
+index f994466f..71507e2a 100644
+--- a/3rdparty/libdspau/CMakeLists.txt
++++ b/3rdparty/libdspau/CMakeLists.txt
+@@ -35,4 +35,4 @@ TARGET_LINK_LIBRARIES(dspau ${FFTW3_LIBRARIES} ${M_LIB})
+ #add an install target here
+ INSTALL(FILES libdspau.h DESTINATION include)
+
+-INSTALL(TARGETS dspau LIBRARY DESTINATION lib)
++INSTALL(TARGETS dspau LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
diff --git a/sci-libs/libdspau/libdspau-9999.ebuild b/sci-libs/libdspau/libdspau-9999.ebuild
new file mode 100644
index 0000000..1425058
--- /dev/null
+++ b/sci-libs/libdspau/libdspau-9999.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils git-r3 eutils
+
+DESCRIPTION="A digital signal processing library for astronomy usage"
+HOMEPAGE="http://indilib.org"
+EGIT_REPO_URI="https://github.com/indilib/indi.git"
+EGIT_CHECKOUT_DIR="${WORKDIR}/${P}"
+
+LICENSE="GPL-3"
+KEYWORDS=""
+
+SLOT="0"
+
+DEPEND="sci-libs/fftw:3.0"
+
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/libdspau-9999_fix_cmake_libdir.patch" )
+
+S="${EGIT_CHECKOUT_DIR}/3rdparty/${PN}"
diff --git a/sci-libs/libdspau/metadata.xml b/sci-libs/libdspau/metadata.xml
new file mode 100644
index 0000000..f8f09c3
--- /dev/null
+++ b/sci-libs/libdspau/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ctibor@brancik.cz</email>
+ <name>Ctibor Brančík</name>
+ </maintainer>
+ <longdescription>
+ A digital signal processing library for astronomy usage
+ </longdescription>
+ <upstream>
+ <maintainer status="active">
+ <email>info@iliaplatone.com</email>
+ <name>Ilia Platone</name>
+ </maintainer>
+ </upstream>
+</pkgmetadata>