summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2023-08-19 09:12:52 -0400
committerRick Farina <zerochaos@gentoo.org>2023-08-19 09:13:00 -0400
commit9492389cf609fd2c50faed61da038fd4b12c24e0 (patch)
treed30d61129f508c81356631c71cbe956000251046 /media-radio
parentmedia-libs/libsfml: add missing patch + some missing deps (diff)
downloadgentoo-9492389cf609fd2c50faed61da038fd4b12c24e0.tar.gz
gentoo-9492389cf609fd2c50faed61da038fd4b12c24e0.tar.bz2
gentoo-9492389cf609fd2c50faed61da038fd4b12c24e0.zip
media-radio/fsync-mdc1200-decode: update EAPI 7 -> 8
Signed-off-by: Rick Farina <zerochaos@gentoo.org> Finishing work started in 1a19a442fb35f660dc268ea588d5303e3430f495
Diffstat (limited to 'media-radio')
-rw-r--r--media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild16
-rw-r--r--media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild3
2 files changed, 10 insertions, 9 deletions
diff --git a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild
index 050d3b649115..f484d5a429ac 100644
--- a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild
+++ b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-1.0.ebuild
@@ -1,17 +1,14 @@
-# Copyright 2019-2021 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit toolchain-funcs
DESCRIPTION="Linux Fleetsync / MDC1200 decoder"
HOMEPAGE="https://github.com/russinnes/fsync-mdc1200-decode"
-LICENSE="GPL-2+"
-SLOT="0"
-
-if [ "${PV}" = 9999 ]; then
+if [[ ${PV} == *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/russinnes/fsync-mdc1200-decode.git"
else
@@ -19,14 +16,17 @@ else
SRC_URI="https://github.com/russinnes/fsync-mdc1200-decode/archive/${PV}.tar.gz -> ${P}.tar.gz"
fi
+LICENSE="GPL-2+"
+SLOT="0"
IUSE=""
-DEPEND="media-sound/pulseaudio:="
+DEPEND="media-libs/libpulse"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_compile() {
- $(tc-getCC) -o fsync-mdc1200-decode ${CFLAGS} ${LDFLAGS} demod.c fsync_decode.c mdc_decode.c $($(tc-getPKG_CONFIG) --cflags --libs libpulse-simple)
+ $(tc-getCC) -o fsync-mdc1200-decode ${CFLAGS} ${LDFLAGS} demod.c fsync_decode.c \
+ mdc_decode.c $($(tc-getPKG_CONFIG) --cflags --libs libpulse-simple)
}
src_install() {
diff --git a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild
index 7295b4089511..f484d5a429ac 100644
--- a/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild
+++ b/media-radio/fsync-mdc1200-decode/fsync-mdc1200-decode-9999.ebuild
@@ -25,7 +25,8 @@ RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
src_compile() {
- $(tc-getCC) -o fsync-mdc1200-decode ${CFLAGS} ${LDFLAGS} demod.c fsync_decode.c mdc_decode.c $($(tc-getPKG_CONFIG) --cflags --libs libpulse-simple)
+ $(tc-getCC) -o fsync-mdc1200-decode ${CFLAGS} ${LDFLAGS} demod.c fsync_decode.c \
+ mdc_decode.c $($(tc-getPKG_CONFIG) --cflags --libs libpulse-simple)
}
src_install() {