public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/qsstv/
Date: Thu, 17 Aug 2017 07:11:46 +0000 (UTC)	[thread overview]
Message-ID: <1502953830.31ed54004935b9d23c29fc9d7ea49fe17c6a7fe1.tomjbe@gentoo> (raw)

commit:     31ed54004935b9d23c29fc9d7ea49fe17c6a7fe1
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 17 07:10:30 2017 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Thu Aug 17 07:10:30 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31ed5400

media-radio/qsstv: Fix hardcoded header path for openjpeg #627934.  Thks Toralf.

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 media-radio/qsstv/qsstv-9.2.4.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/media-radio/qsstv/qsstv-9.2.4.ebuild b/media-radio/qsstv/qsstv-9.2.4.ebuild
index 05c17fe9e85..69a97bf2e75 100644
--- a/media-radio/qsstv/qsstv-9.2.4.ebuild
+++ b/media-radio/qsstv/qsstv-9.2.4.ebuild
@@ -16,7 +16,7 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
 
-DEPEND="dev-qt/qtcore:4[qt3support]
+CDEPEND="dev-qt/qtcore:4[qt3support]
 	dev-qt/qtgui:4
 	media-libs/hamlib
 	media-libs/openjpeg:2
@@ -24,7 +24,9 @@ DEPEND="dev-qt/qtcore:4[qt3support]
 	media-sound/pulseaudio
 	media-libs/libv4l
 	sci-libs/fftw:3.0="
-RDEPEND="${DEPEND}
+DEPEND="${CDEPEND}
+	virtual/pkgconfig"
+RDEPEND="${CDEPEND}
 	x11-misc/xdg-utils"
 
 S="${WORKDIR}/${MY_P}"
@@ -34,4 +36,9 @@ src_prepare() {
 	sed -i -e "s:/doc/\$\$TARGET:/doc/${PF}:" \
 		-e "s:-lhamlib:-L/usr/$(get_libdir)/hamlib -lhamlib:g" \
 		qsstv/qsstv.pro || die
+
+	# fix hardcoded path to openjpeg headers
+	sed -i -e "s:openjpeg-2.1/::" qsstv/utils/color.cpp ||die
+	sed -i -e "s:/usr/include/openjpeg-2.1:$(pkg-config --cflags-only-I libopenjp2):" \
+		-e "s:-I/usr:/usr:" qsstv/qsstv.pro ||die
 }


             reply	other threads:[~2017-08-17  7:11 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17  7:11 Thomas Beierlein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-15 13:41 [gentoo-commits] repo/gentoo:master commit in: media-radio/qsstv/ Thomas Beierlein
2023-08-15  6:02 Thomas Beierlein
2023-06-18 14:41 Thomas Beierlein
2021-12-14 18:28 Thomas Beierlein
2021-11-08 16:00 Rick Farina
2021-10-05  6:48 Agostino Sarubbo
2021-10-04 11:00 Agostino Sarubbo
2021-08-06 14:24 Thomas Beierlein
2021-06-23 11:09 Thomas Beierlein
2021-06-23 11:09 Thomas Beierlein
2021-05-30  0:06 Sam James
2021-05-30  0:06 Sam James
2021-04-23 14:24 Rick Farina
2021-03-28 18:04 Thomas Beierlein
2020-07-08 16:04 Thomas Beierlein
2020-05-23 14:45 Thomas Beierlein
2019-12-30 12:29 Agostino Sarubbo
2019-12-27 16:43 Agostino Sarubbo
2019-11-10 17:04 Thomas Beierlein
2019-08-23 10:37 Agostino Sarubbo
2019-08-23 10:03 Agostino Sarubbo
2019-05-12 13:18 Thomas Beierlein
2018-07-27  2:30 Mikle Kolyada
2018-05-17 17:11 Thomas Beierlein
2018-01-17  9:23 Thomas Beierlein
2018-01-15 19:03 Tobias Klausmann
2018-01-08 22:50 Thomas Deutschmann
2017-12-03 11:21 Thomas Beierlein
2017-06-24 10:53 Thomas Beierlein
2017-06-08 10:16 Agostino Sarubbo
2017-03-06 18:53 Thomas Beierlein
2017-01-06  7:05 Thomas Beierlein
2016-11-12 23:37 David Seifert
2016-07-24 10:19 Thomas Beierlein
2016-07-11 14:59 Thomas Beierlein
2016-06-30 17:04 Thomas Beierlein
2016-05-28  9:45 Thomas Beierlein
2016-05-28  9:45 Thomas Beierlein
2015-09-19 15:06 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1502953830.31ed54004935b9d23c29fc9d7ea49fe17c6a7fe1.tomjbe@gentoo \
    --to=tomjbe@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox