diff options
Diffstat (limited to 'net-wireless/gqrx')
-rw-r--r-- | net-wireless/gqrx/Manifest | 6 | ||||
-rw-r--r-- | net-wireless/gqrx/gqrx-2.7.ebuild | 61 | ||||
-rw-r--r-- | net-wireless/gqrx/gqrx-9999.ebuild | 61 | ||||
-rw-r--r-- | net-wireless/gqrx/metadata.xml | 18 |
4 files changed, 146 insertions, 0 deletions
diff --git a/net-wireless/gqrx/Manifest b/net-wireless/gqrx/Manifest new file mode 100644 index 000000000000..071bb0681960 --- /dev/null +++ b/net-wireless/gqrx/Manifest @@ -0,0 +1,6 @@ +DIST gqrx-2.7.tar.gz 1326826 SHA256 b58d5b4ba4c656df5a97071640eabdbd53171d411fe3d504f9786178c3638178 SHA512 931f4751b2437ab2286a436ed842cd51203d69c7d6edf0c0125fcb1d9943a028175d8ae70dd62eb4d2f935e97419dc990537d90e2bf50c5d1924282fe0f5531d WHIRLPOOL 5e937beb82fec3fc20ae02782391d1e091ab6131cd74a945a9b51fc3c26e803e4cb7991a6ca8b47c5a7ed12bd12dbc1732d5a66bc2341c380d4a26c8d6c61906 +EBUILD gqrx-2.7.ebuild 1373 SHA256 e71a57aeb023a42575eedb8569600f1ce4b95adcd31336a738bae7571e42bdc6 SHA512 9bb73caade0c195d363491117d909479452e7fad8a48dc9f5c3b5a262482be23a6c4fe6c10de17dfc65245b94ce5d865366f0aae3904fc54596271a65fad5e24 WHIRLPOOL f9510e7b5bc052a88cea9b72ab5ef85175794cb62897512b494e26b5e793d857bbd1b907c6930f10fccb15b45e4f8b4b87678e9989f64d750893dd728c78d32b +EBUILD gqrx-9999.ebuild 1373 SHA256 e71a57aeb023a42575eedb8569600f1ce4b95adcd31336a738bae7571e42bdc6 SHA512 9bb73caade0c195d363491117d909479452e7fad8a48dc9f5c3b5a262482be23a6c4fe6c10de17dfc65245b94ce5d865366f0aae3904fc54596271a65fad5e24 WHIRLPOOL f9510e7b5bc052a88cea9b72ab5ef85175794cb62897512b494e26b5e793d857bbd1b907c6930f10fccb15b45e4f8b4b87678e9989f64d750893dd728c78d32b +MISC ChangeLog 3076 SHA256 382fabae35a9f4943da3e67e65642670302653967f8d4e9a059412451b7912e0 SHA512 1413ed87ce4ea10867936e6de18ed30c79d42718f6e6c0c79c9970fe42e7f8dc9b32bfd937dd316800516389c219a73eb3a397649b21f5d6c2bf02fd97737cd4 WHIRLPOOL 9db44675142e59db5cd84ab0d75fd08dcda1f73434bc6b0744ee7895112c03727d72e1a28d6d11560d8bc28bb8ab9297ba9bad779f3bd96f38658f5a3a56ff27 +MISC ChangeLog-2015 2170 SHA256 d5e0383ac1984b265fb7ffd83b0c913eb5884c71b3fb15a37ab0463cfd7f03d7 SHA512 bf23943879a7ade456ab7d7b9e8b5cf075b44d75723bcfe4450dc217bc66ace77b13c83b2f54cc7e9608dd373c66ae84804229e3c66967c9db8f3132ae8f6c67 WHIRLPOOL 2c05bd6edfc3e160347574c9ec63a5e17afe1b98af62ba018171c985ff43957b9c5fce18b5b38d2434d78ba9b2f58d790d0e8734ead2f40ff86aad663006ffd8 +MISC metadata.xml 523 SHA256 f454f2d7c1a7bd141e831e30c377316871db22e848f4b750b8facdbb7a2c85a2 SHA512 26a1e52770090a69982939ebff1ec4ee26f7c637abf2748c5de5997087e17c0624871e311b17b1b5857ba9ac0bdc8113fd71e13975404462cc84946535adecd8 WHIRLPOOL baf0a2bec0d9872942b8add5c5d6e88dee85b36ce02d2b19a8cdf287e3e4a84912e9087e0220bebcfe2dfcf69175f32da8f620df6d4165db26bc395061d216c6 diff --git a/net-wireless/gqrx/gqrx-2.7.ebuild b/net-wireless/gqrx/gqrx-2.7.ebuild new file mode 100644 index 000000000000..d280c8f3e3c5 --- /dev/null +++ b/net-wireless/gqrx/gqrx-2.7.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Software defined radio receiver powered by GNU Radio and Qt" +HOMEPAGE="http://gqrx.dk/" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/csete/gqrx.git" + inherit git-r3 + KEYWORDS="" +else + SRC_URI="https://github.com/csete/gqrx/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="gr-audio portaudio pulseaudio" +REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )" + +DEPEND=">=net-wireless/gnuradio-3.7_rc:=[audio,analog,filter] + >=net-wireless/gr-osmosdr-0.1.0:= + dev-libs/boost:= + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + pulseaudio? ( media-sound/pulseaudio:= ) + portaudio? ( media-libs/portaudio:= )" +RDEPEND="${DEPEND}" + +src_configure() { + if use pulseaudio; then + LINUX_AUDIO_BACKEND=Pulseaudio + elif use portaudio; then + LINUX_AUDIO_BACKEND=Portaudio + elif use gr-audio; then + LINUX_AUDIO_BACKEND=Gr-audio + fi + + local mycmakeargs=( + "-DLINUX_AUDIO_BACKEND=${LINUX_AUDIO_BACKEND}" + ) + cmake-utils_src_configure +} + +src_prepare() { + if use !pulseaudio; then + sed -i 's/AUDIO_BACKEND = pulse/#AUDIO_BACKEND = pulse/' gqrx.pro || die + fi + eapply_user +} + +src_install() { + dobin "${BUILD_DIR}"/src/gqrx +} diff --git a/net-wireless/gqrx/gqrx-9999.ebuild b/net-wireless/gqrx/gqrx-9999.ebuild new file mode 100644 index 000000000000..d280c8f3e3c5 --- /dev/null +++ b/net-wireless/gqrx/gqrx-9999.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="Software defined radio receiver powered by GNU Radio and Qt" +HOMEPAGE="http://gqrx.dk/" + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/csete/gqrx.git" + inherit git-r3 + KEYWORDS="" +else + SRC_URI="https://github.com/csete/gqrx/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~x86" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="gr-audio portaudio pulseaudio" +REQUIRED_USE="^^ ( pulseaudio portaudio gr-audio )" + +DEPEND=">=net-wireless/gnuradio-3.7_rc:=[audio,analog,filter] + >=net-wireless/gr-osmosdr-0.1.0:= + dev-libs/boost:= + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + pulseaudio? ( media-sound/pulseaudio:= ) + portaudio? ( media-libs/portaudio:= )" +RDEPEND="${DEPEND}" + +src_configure() { + if use pulseaudio; then + LINUX_AUDIO_BACKEND=Pulseaudio + elif use portaudio; then + LINUX_AUDIO_BACKEND=Portaudio + elif use gr-audio; then + LINUX_AUDIO_BACKEND=Gr-audio + fi + + local mycmakeargs=( + "-DLINUX_AUDIO_BACKEND=${LINUX_AUDIO_BACKEND}" + ) + cmake-utils_src_configure +} + +src_prepare() { + if use !pulseaudio; then + sed -i 's/AUDIO_BACKEND = pulse/#AUDIO_BACKEND = pulse/' gqrx.pro || die + fi + eapply_user +} + +src_install() { + dobin "${BUILD_DIR}"/src/gqrx +} diff --git a/net-wireless/gqrx/metadata.xml b/net-wireless/gqrx/metadata.xml new file mode 100644 index 000000000000..35019c790fc0 --- /dev/null +++ b/net-wireless/gqrx/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>zerochaos@gentoo.org</email> + <name>Rick Farina</name> + </maintainer> + <maintainer type="project"> + <email>radio@gentoo.org</email> + <name>Radio</name> + </maintainer> + <use> + <flag name="gr-audio">Use audio support from <pkg>net-wireless/gnuradio</pkg></flag> + </use> + <upstream> + <remote-id type="github">csete/gqrx</remote-id> + </upstream> +</pkgmetadata> |