public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/mixxx/
Date: Thu, 10 May 2018 22:08:36 +0000 (UTC)	[thread overview]
Message-ID: <1525990106.d4c8bfa924b8b2f70914eaf9eb34b90107275d6c.polynomial-c@gentoo> (raw)

commit:     d4c8bfa924b8b2f70914eaf9eb34b90107275d6c
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu May 10 22:08:04 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu May 10 22:08:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c8bfa9

media-sound/mixxx: Added live ebuild.

Closes: https://bugs.gentoo.org/631988
Package-Manager: Portage-2.3.36, Repoman-2.3.9

 media-sound/mixxx/mixxx-9999.ebuild | 131 ++++++++++++++++++++++++++++++++++++
 1 file changed, 131 insertions(+)

diff --git a/media-sound/mixxx/mixxx-9999.ebuild b/media-sound/mixxx/mixxx-9999.ebuild
new file mode 100644
index 00000000000..6ab9fb77f7c
--- /dev/null
+++ b/media-sound/mixxx/mixxx-9999.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit flag-o-matic scons-utils toolchain-funcs
+
+DESCRIPTION="Advanced Digital DJ tool based on Qt"
+HOMEPAGE="https://www.mixxx.org/"
+if [[ "${PV}" == 9999 ]] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/mixxxdj/${PN}.git"
+else
+	#SRC_URI="https://downloads.mixxx.org/${P}/${P}-src.tar.gz"
+	SRC_URI="https://github.com/mixxxdj/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-release-${PV}"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="aac doc ffmpeg hid mp3 mp4 opus shout wavpack"
+
+# fails to compile system-fidlib. Add ">media-libs/fidlib-0.9.10-r1" once this
+# got fixed
+RDEPEND="
+	dev-db/sqlite
+	dev-libs/glib:2
+	dev-libs/protobuf:0=
+	dev-qt/qtconcurrent:5
+	dev-qt/qtcore:5
+	dev-qt/qtgui:5
+	dev-qt/qtnetwork:5
+	dev-qt/qtopengl:5
+	dev-qt/qtscript:5[scripttools]
+	dev-qt/qtsql:5
+	dev-qt/qtsvg:5
+	dev-qt/qtwidgets:5
+	dev-qt/qtxml:5
+	media-libs/chromaprint
+	media-libs/flac
+	media-libs/libid3tag
+	media-libs/libogg
+	media-libs/libsndfile
+	>=media-libs/libsoundtouch-1.5
+	media-libs/libvorbis
+	>=media-libs/portaudio-19_pre
+	media-libs/portmidi
+	media-libs/rubberband
+	media-libs/taglib
+	media-libs/vamp-plugin-sdk
+	sci-libs/fftw:3.0=
+	virtual/libusb:1
+	virtual/opengl
+	x11-libs/libX11
+	aac? (
+		media-libs/faad2
+		media-libs/libmp4v2:0
+	)
+	hid? ( dev-libs/hidapi )
+	mp3? ( media-libs/libmad )
+	mp4? ( media-libs/libmp4v2:= )
+	opus? (	media-libs/opusfile )
+	shout? ( media-libs/libshout )
+	wavpack? ( media-sound/wavpack )
+	ffmpeg? ( media-video/ffmpeg:0= )
+"
+# media-libs/rubberband RDEPENDs on sci-libs/fftw:3.0
+DEPEND="
+	${RDEPEND}
+	virtual/pkgconfig
+	dev-qt/qttest:5
+	dev-qt/qtxmlpatterns:5
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.0.0-docs.patch
+)
+
+src_prepare() {
+	# use multilib compatible directory for plugins
+	sed -i -e "/unix_lib_path =/s/'lib'/'$(get_libdir)'/" src/SConscript || die
+
+	default
+}
+
+src_configure() {
+	local myoptimize=0
+
+	# Required for >=qt-5.7.0 (bug #590690)
+	append-cxxflags -std=c++11
+
+	# Try to get cpu type based on CFLAGS.
+	# Bug #591968
+	for i in $(get-flag mcpu) $(get-flag march) ; do
+		if [[ ${i} = native ]] ; then
+			myoptimize="native"
+			break
+		fi
+	done
+
+	myesconsargs=(
+		prefix="${EPREFIX}/usr"
+		qtdir="${EPREFIX}/usr/$(get_libdir)/qt5"
+		faad="$(usex aac 1 0)"
+		ffmpeg="$(usex ffmpeg 1 0)"
+		hid="$(usex hid 1 0)"
+		hifieq=1
+		m4a="$(usex mp4 1 0)"
+		mad="$(usex mp3 1 0)"
+		optimize="${myoptimize}"
+		opus="$(usex opus 1 0)"
+		qt5=1
+		shoutcast="$(usex shout 1 0)"
+		vinylcontrol=1
+		wv="$(usex wavpack 1 0)"
+	)
+}
+
+src_compile() {
+	CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
+	LIBDIR="${EPREFIX}/usr/$(get_libdir)" escons ${myesconsargs[@]}
+}
+
+src_install() {
+	CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
+	LIBDIR="${EPREFIX}/usr/$(get_libdir)" escons ${myesconsargs[@]} \
+		install_root="${ED}"/usr install
+
+	dodoc README Mixxx-Manual.pdf
+}


             reply	other threads:[~2018-05-10 22:08 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-10 22:08 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-23 13:35 [gentoo-commits] repo/gentoo:master commit in: media-sound/mixxx/ Sam James
2025-09-06 14:34 Sam James
2025-09-06 14:34 Sam James
2025-06-22  9:47 Sam James
2025-05-21 10:56 Arthur Zamarin
2025-05-21 10:56 Arthur Zamarin
2025-05-13  0:53 Sam James
2025-04-28  4:28 Sam James
2025-04-28  4:28 Sam James
2025-03-10 11:09 Arthur Zamarin
2025-03-09 22:11 Sam James
2025-01-30 22:39 Andreas Sturmlechner
2025-01-30 22:39 Andreas Sturmlechner
2023-10-25  7:45 Miroslav Šulc
2023-10-25  6:25 Arthur Zamarin
2023-10-25  6:25 Arthur Zamarin
2023-08-16 13:42 Miroslav Šulc
2023-07-10  5:39 Miroslav Šulc
2023-07-09 18:48 Arthur Zamarin
2023-06-03  2:23 Sam James
2023-06-02 23:26 Sam James
2023-05-31 12:42 Arthur Zamarin
2023-05-30 19:39 Andreas Sturmlechner
2023-05-11  5:24 Miroslav Šulc
2023-03-04  7:38 Miroslav Šulc
2023-01-23  4:34 Sam James
2023-01-23  4:28 Sam James
2023-01-23  4:28 Sam James
2022-07-27  4:51 Miroslav Šulc
2022-07-26 15:24 Agostino Sarubbo
2022-07-26  7:04 Sam James
2022-06-25 13:00 Miroslav Šulc
2022-06-25  8:46 Miroslav Šulc
2022-06-16 16:30 Sam James
2022-05-10 13:48 Agostino Sarubbo
2022-05-02  2:02 Sam James
2022-02-22 19:25 Sam James
2022-02-17 14:56 Lars Wendler
2022-01-20 16:41 Lars Wendler
2022-01-19  7:56 Lars Wendler
2022-01-18 13:30 Lars Wendler
2022-01-18 11:47 Lars Wendler
2022-01-18 11:43 Lars Wendler
2021-10-14  9:13 Sam James
2021-08-16 21:28 Sam James
2021-06-12 14:20 Lars Wendler
2021-01-28 12:12 Miroslav Šulc
2020-09-19 11:28 Michał Górny
2020-09-02 12:20 Miroslav Šulc
2020-09-02  7:45 Miroslav Šulc
2020-09-02  2:43 Sam James
2020-08-30 19:10 Thomas Deutschmann
2020-08-28 10:51 Miroslav Šulc
2020-02-26 22:57 Andreas Sturmlechner
2020-02-24  7:41 Agostino Sarubbo
2020-02-16 21:14 Thomas Deutschmann
2020-02-13 23:20 Andreas Sturmlechner
2020-02-13 23:20 Andreas Sturmlechner
2020-02-13 23:20 Andreas Sturmlechner
2020-01-24 22:48 Andreas Sturmlechner
2019-12-12 17:00 Lars Wendler
2019-12-12 17:00 Lars Wendler
2019-08-19 11:01 Lars Wendler
2019-08-19 11:01 Lars Wendler
2019-05-20 11:31 Lars Wendler
2019-05-20 11:16 Mikle Kolyada
2019-05-19 15:48 Thomas Deutschmann
2019-04-27 16:06 Lars Wendler
2019-04-27 16:06 Lars Wendler
2019-04-20 23:58 Lars Wendler
2019-04-20 23:58 Lars Wendler
2019-03-24 12:56 Lars Wendler
2019-03-11 13:43 Lars Wendler
2018-12-28 16:18 Lars Wendler
2018-12-28 16:12 Lars Wendler
2018-12-27 18:48 Lars Wendler
2018-12-26  0:04 Lars Wendler
2018-11-02 16:18 Lars Wendler
2018-11-02 16:18 Lars Wendler
2018-09-10 12:37 Lars Wendler
2018-09-01 22:42 Mikle Kolyada
2018-08-29  1:07 Thomas Deutschmann
2018-08-25 12:30 Andreas Sturmlechner
2018-08-25 12:30 Andreas Sturmlechner
2018-08-23 23:05 Lars Wendler
2018-06-19  9:53 Lars Wendler
2018-06-19  9:49 Lars Wendler
2018-05-10 22:08 Lars Wendler
2018-05-10 22:08 Lars Wendler
2017-08-31 13:21 Tim Harder
2017-07-01 10:05 Michael Palimaka
2017-06-30 11:10 Agostino Sarubbo
2017-06-25 16:32 Agostino Sarubbo
2016-12-09  8:58 Lars Wendler
2016-10-23  9:40 David Seifert
2016-10-23  9:40 David Seifert
2016-10-21 14:15 Ettore Di Giacinto
2016-10-21 14:15 Ettore Di Giacinto
2016-10-19 14:39 Lars Wendler
2016-09-05  8:00 Lars Wendler
2016-09-02 13:48 Lars Wendler
2016-08-06 16:51 Michał Górny
2016-08-03  8:18 Lars Wendler

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=1525990106.d4c8bfa924b8b2f70914eaf9eb34b90107275d6c.polynomial-c@gentoo \
    --to=polynomial-c@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