[gentoo-commits] repo/gentoo:master commit in: app-backup/bareos/
commit: c14642b81bded5a297690d7e33059199f26c5917 Author: Petr Vaněk atlas cz> AuthorDate: Sun Dec 11 15:24:22 2022 + Commit: Sam James gentoo org> CommitDate: Wed Dec 14 09:18:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c14642b8 app-backup/bareos: reference other packages with pkg tag Signed-off-by: Petr Vaněk atlas.cz> Closes: https://github.com/gentoo/gentoo/pull/28641 Signed-off-by: Sam James gentoo.org> app-backup/bareos/metadata.xml | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app-backup/bareos/metadata.xml b/app-backup/bareos/metadata.xml index 74fcd0331c3a..212e403a0114 100644 --- a/app-backup/bareos/metadata.xml +++ b/app-backup/bareos/metadata.xml @@ -6,13 +6,13 @@ Marc Schiffbauer -Enable ceph support +Enable sys-cluster/ceph support Only install file-daemon (client) Install director -Enable glusterfs storage backend -JSON API support using JANSSON for director -enable build of LMDB support for faster accurate backup -Install support files for logwatch +Enable sys-cluster/glusterfs storage backend +JSON API support using dev-libs/jansson for director +enable build of dev-db/lmdb support for faster accurate backup +Install support files for sys-apps/logwatch Enable support for NDMP (Network Data Management Protocol) Enable low level SCSI crypto support Install storage daemon (bareos-sd)
[gentoo-commits] repo/gentoo:master commit in: dev-db/mariadb/
commit: 3c82691365c4a173027dc057686b72869045c6ce Author: Sam James gentoo org> AuthorDate: Wed Dec 14 09:10:52 2022 + Commit: Sam James gentoo org> CommitDate: Wed Dec 14 09:11:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c826913 dev-db/mariadb: depend on < openssl 3 for 10.3, 10.4, 10.5 MariaDB 10.6+ supports OpenSSL 3. Bug: https://bugs.gentoo.org/849593 Signed-off-by: Sam James gentoo.org> dev-db/mariadb/mariadb-10.3.37.ebuild | 2 +- dev-db/mariadb/mariadb-10.4.27.ebuild | 2 +- dev-db/mariadb/mariadb-10.5.18.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-db/mariadb/mariadb-10.3.37.ebuild b/dev-db/mariadb/mariadb-10.3.37.ebuild index f05fc2d0945f..f83d760a0376 100644 --- a/dev-db/mariadb/mariadb-10.3.37.ebuild +++ b/dev-db/mariadb/mariadb-10.3.37.ebuild @@ -53,7 +53,7 @@ COMMON_DEPEND=" kerberos? ( virtual/krb5 ) yassl? ( net-libs/gnutls:0= ) !yassl? ( - >=dev-libs/openssl-1.0.0:0= + =dev-libs/openssl-1.0.0:0= +
[gentoo-commits] repo/gentoo:master commit in: sys-firmware/edk2-ovmf-bin/
commit: f171d54b255e3434b040af42aaca725cfbaa0788 Author: Ionen Wolkens gentoo org> AuthorDate: Wed Dec 14 09:06:12 2022 + Commit: Ionen Wolkens gentoo org> CommitDate: Wed Dec 14 09:07:13 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f171d54b sys-firmware/edk2-ovmf-bin: fix unpack with TAPE set Was done for seabios-bin, doing here too to match (imagine this will likely migrate to gpkg.tar and unpacker.eclass in the future). Bug: https://bugs.gentoo.org/885719 Signed-off-by: Ionen Wolkens gentoo.org> sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild b/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild index aa5a8d70f834..de6d9fb8ae2d 100644 --- a/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild +++ b/sys-firmware/edk2-ovmf-bin/edk2-ovmf-bin-202202.ebuild @@ -51,7 +51,7 @@ In order to use the firmware you can run qemu the following way ..." src_unpack() { - tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.xpak") || die "unpacking binpkg failed" + tar -xf - < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.xpak") || die "unpacking binpkg failed" } src_install() {
[gentoo-commits] repo/gentoo:master commit in: media-gfx/gmic/
commit: f117b4b5e79ef275a989a7ef124d62eb5880ef88 Author: Sam James gentoo org> AuthorDate: Wed Dec 14 08:50:13 2022 + Commit: Sam James gentoo org> CommitDate: Wed Dec 14 08:50:13 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f117b4b5 media-gfx/gmic: Stabilize 3.1.6 amd64, #885819 Signed-off-by: Sam James gentoo.org> media-gfx/gmic/gmic-3.1.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-gfx/gmic/gmic-3.1.6.ebuild b/media-gfx/gmic/gmic-3.1.6.ebuild index d180943f6127..714a20683732 100644 --- a/media-gfx/gmic/gmic-3.1.6.ebuild +++ b/media-gfx/gmic/gmic-3.1.6.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "" ]]; then inherit git-r3 else SRC_URI="https://gmic.eu/files/source/${PN}_${PV}.tar.gz"; - KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv x86" + KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" fi DESCRIPTION="GREYC's Magic Image Converter"
[gentoo-commits] repo/gentoo:master commit in: sys-firmware/seabios-bin/
commit: 02c3f6f9add5655d01f33b7cd94c8aa6e598df0c Author: Sam James gentoo org> AuthorDate: Wed Dec 14 08:49:32 2022 + Commit: Sam James gentoo org> CommitDate: Wed Dec 14 08:49:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02c3f6f9 sys-firmware/seabios-bin: fix unpack with TAPE set Thanks to Ionen for spotting. Bug: https://bugs.gentoo.org/885719 Signed-off-by: Sam James gentoo.org> sys-firmware/seabios-bin/seabios-bin-1.16.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-firmware/seabios-bin/seabios-bin-1.16.0.ebuild b/sys-firmware/seabios-bin/seabios-bin-1.16.0.ebuild index 486aee1c9ee6..e2421960919d 100644 --- a/sys-firmware/seabios-bin/seabios-bin-1.16.0.ebuild +++ b/sys-firmware/seabios-bin/seabios-bin-1.16.0.ebuild @@ -17,7 +17,7 @@ KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ppc64 ~ris RDEPEND="!sys-firmware/seabios" src_unpack() { - tar -x < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.xpak") || die "unpacking binpkg failed" + tar -xf - < <(xz -c -d --single-stream "${DISTDIR}/${BINPKG}.xpak") || die "unpacking binpkg failed" } src_install() {
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytoolconfig/
commit: ef7fe1d1dc4f1ac32b72be739234920fc965277d Author: Michał Górny gentoo org> AuthorDate: Wed Dec 14 08:46:54 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Dec 14 08:46:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7fe1d1 dev-python/pytoolconfig: Fix dependencies Closes: https://bugs.gentoo.org/885837 Signed-off-by: Michał Górny gentoo.org> .../{pytoolconfig-1.2.4.ebuild => pytoolconfig-1.2.4-r1.ebuild} | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pytoolconfig/pytoolconfig-1.2.4.ebuild b/dev-python/pytoolconfig/pytoolconfig-1.2.4-r1.ebuild similarity index 94% rename from dev-python/pytoolconfig/pytoolconfig-1.2.4.ebuild rename to dev-python/pytoolconfig/pytoolconfig-1.2.4-r1.ebuild index 3ab109b4e2a9..b1aba7a2845c 100644 --- a/dev-python/pytoolconfig/pytoolconfig-1.2.4.ebuild +++ b/dev-python/pytoolconfig/pytoolconfig-1.2.4-r1.ebuild @@ -21,6 +21,7 @@ KEYWORDS="~amd64 ~arm64 ~x86" RDEPEND=" dev-python/packaging[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] $(python_gen_cond_dep ' dev-python/tomli[${PYTHON_USEDEP}] ' 3.{8..10} )
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyproj/
commit: 486ffe2afc5561245b7e55736242fda31abf5189 Author: Michał Górny gentoo org> AuthorDate: Wed Dec 14 08:44:49 2022 + Commit: Michał Górny gentoo org> CommitDate: Wed Dec 14 08:45:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486ffe2a dev-python/pyproj: Remove broken USE=doc Needs unpackaged dep ("sphinxarg"). Closes: https://bugs.gentoo.org/796551 Signed-off-by: Michał Górny gentoo.org> dev-python/pyproj/pyproj-3.4.1.ebuild | 2 -- 1 file changed, 2 deletions(-) diff --git a/dev-python/pyproj/pyproj-3.4.1.ebuild b/dev-python/pyproj/pyproj-3.4.1.ebuild index cb8b8b5d58fa..58af934ab0de 100644 --- a/dev-python/pyproj/pyproj-3.4.1.ebuild +++ b/dev-python/pyproj/pyproj-3.4.1.ebuild @@ -39,8 +39,6 @@ BDEPEND=" ) " -distutils_enable_sphinx docs \ - dev-python/furo distutils_enable_tests pytest src_configure() {
[gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/
commit: 268993841b3919124331916ebd125c6015d9f962 Author: Sam James gentoo org> AuthorDate: Wed Dec 14 08:35:49 2022 + Commit: Sam James gentoo org> CommitDate: Wed Dec 14 08:35:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26899384 media-video/pipewire: backport upstream fixes Signed-off-by: Sam James gentoo.org> .../files/pipewire-0.3.62-distorted-avx2.patch | 41 ++ .../files/pipewire-0.3.62-use-after-free.patch | 185 + media-video/pipewire/pipewire-0.3.62-r1.ebuild | 442 + 3 files changed, 668 insertions(+) diff --git a/media-video/pipewire/files/pipewire-0.3.62-distorted-avx2.patch b/media-video/pipewire/files/pipewire-0.3.62-distorted-avx2.patch new file mode 100644 index ..5b2f0817d048 --- /dev/null +++ b/media-video/pipewire/files/pipewire-0.3.62-distorted-avx2.patch @@ -0,0 +1,41 @@ +https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/b927063b89b791c5fc5485ce4d9eac2cd17a4ad6 + +From b927063b89b791c5fc5485ce4d9eac2cd17a4ad6 Mon Sep 17 00:00:00 2001 +From: Sefa Eyeoglu +Date: Sun, 11 Dec 2022 20:14:09 +0100 +Subject: [PATCH] audioconvert: fix distorted audio on AVX2 + +Closes pipewire/pipewire#2885 + +Signed-off-by: Sefa Eyeoglu +--- a/spa/plugins/audioconvert/fmt-ops-avx2.c b/spa/plugins/audioconvert/fmt-ops-avx2.c +@@ -339,7 +339,7 @@ conv_s32_to_f32d_4s_avx2(void *data, void * SPA_RESTRICT dst[], const void * SPA + __m256i in[4]; + __m256 out[4], factor = _mm256_set1_ps(1.0f / S24_SCALE); + __m256i mask1 = _mm256_setr_epi32(0*n_channels, 1*n_channels, 2*n_channels, 3*n_channels, +-3*n_channels, 5*n_channels, 6*n_channels, 7*n_channels); ++4*n_channels, 5*n_channels, 6*n_channels, 7*n_channels); + + if (SPA_IS_ALIGNED(d0, 32) && + SPA_IS_ALIGNED(d1, 32) && +@@ -405,7 +405,7 @@ conv_s32_to_f32d_2s_avx2(void *data, void * SPA_RESTRICT dst[], const void * SPA + __m256i in[4]; + __m256 out[4], factor = _mm256_set1_ps(1.0f / S24_SCALE); + __m256i mask1 = _mm256_setr_epi32(0*n_channels, 1*n_channels, 2*n_channels, 3*n_channels, +-3*n_channels, 5*n_channels, 6*n_channels, 7*n_channels); ++4*n_channels, 5*n_channels, 6*n_channels, 7*n_channels); + + if (SPA_IS_ALIGNED(d0, 32) && + SPA_IS_ALIGNED(d1, 32)) +@@ -453,7 +453,7 @@ conv_s32_to_f32d_1s_avx2(void *data, void * SPA_RESTRICT dst[], const void * SPA + __m256i in[2]; + __m256 out[2], factor = _mm256_set1_ps(1.0f / S24_SCALE); + __m256i mask1 = _mm256_setr_epi32(0*n_channels, 1*n_channels, 2*n_channels, 3*n_channels, +-3*n_channels, 5*n_channels, 6*n_channels, 7*n_channels); ++4*n_channels, 5*n_channels, 6*n_channels, 7*n_channels); + + if (SPA_IS_ALIGNED(d0, 32)) + unrolled = n_samples & ~15; +-- +GitLab diff --git a/media-video/pipewire/files/pipewire-0.3.62-use-after-free.patch b/media-video/pipewire/files/pipewire-0.3.62-use-after-free.patch new file mode 100644 index ..66d21caf3195 --- /dev/null +++ b/media-video/pipewire/files/pipewire-0.3.62-use-after-free.patch @@ -0,0 +1,185 @@ +https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/3bdd2e01c56ec13179340ecdce0b766f72e4339e +https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/8c892443eb5989ea3e660dedc6a506a9bfb42eac + +From 3bdd2e01c56ec13179340ecdce0b766f72e4339e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= +Date: Sat, 10 Dec 2022 00:40:21 +0100 +Subject: [PATCH] pipewire: store SPA handles in a global list by age + +Operating on the assumption that every SPA handle +can reference any other older SPA handle, the only +safe destruction order is from youngest to oldest. + +To achieve this, store all handles across all plugins +sorted by age (youngest first), and use that as the +order of destruction in `pw_deinit()`. + +This line of thinking does not account for what happens +when a handle that is referenced by others is unloaded, +but it does not make that case worse either. + +See #2881 +--- a/src/pipewire/pipewire.c b/src/pipewire/pipewire.c +@@ -64,7 +64,6 @@ struct plugin { + char *filename; + void *hnd; + spa_handle_factory_enum_func_t enum_func; +- struct spa_list handles; + int ref; + }; + +@@ -78,6 +77,7 @@ struct handle { + + struct registry { + struct spa_list plugins; ++ struct spa_list handles; /* all handles across all plugins by age (youngest first) */ + }; + + struct support { +@@ -149,7 +149,6 @@ open_plugin(struct registry *registry, + plugin->filename = strdup(filename); + plugin->hnd = hnd; + plugin->enum_func = enum_func; +- spa_list_init(&plugin->handles); + + spa_lis
[gentoo-commits] repo/gentoo:master commit in: media-video/wireplumber/
commit: cc4aad45cf28da7c8bd1ec52e1006e3d4dd6600b Author: Sam James gentoo org> AuthorDate: Wed Dec 14 08:45:37 2022 + Commit: Sam James gentoo org> CommitDate: Wed Dec 14 08:45:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc4aad45 media-video/wireplumber: add 0.4.13 Signed-off-by: Sam James gentoo.org> media-video/wireplumber/Manifest | 1 + .../{wireplumber-.ebuild => wireplumber-0.4.13.ebuild}| 8 media-video/wireplumber/wireplumber-.ebuild | 4 3 files changed, 13 insertions(+) diff --git a/media-video/wireplumber/Manifest b/media-video/wireplumber/Manifest index f04df271892e..09789995b806 100644 --- a/media-video/wireplumber/Manifest +++ b/media-video/wireplumber/Manifest @@ -1 +1,2 @@ DIST wireplumber-0.4.12.tar.bz2 317524 BLAKE2B 5f020759fab459fb3311f8a5cef2bf7dc62304b6e95f5d983b86b0e6ddef7bc16c4f2ef6a36264d7ed94e48dbb4c66ff3389bfd7ca58841b4fd6cdfb21bc SHA512 79827ea9f61bacf8df80f9cd0ca4c80192cf85a1b181a51256b3c845d1d04a690ea5c1270d6d5d05d56f799f16980a593e61d003ef78ad7dc8d5e9ea332aa5d4 +DIST wireplumber-0.4.13.tar.bz2 320378 BLAKE2B c245c7e716ba64e28aef6278b1f9d8fdc89881a35c99c645cacf3b356fe90dbdc93a99b0c09792649faadcb685f47a65faeacbeff4ecf3e728f34c1fb4611120 SHA512 b8a43a0ec56037b51a1ddc8ae7f369e0494eab9baf3acded965e2923c5cf8263860d5f1973c83d25a33388243db3ac6e1321ed3b42a01e8cac813d9b47554dbf diff --git a/media-video/wireplumber/wireplumber-.ebuild b/media-video/wireplumber/wireplumber-0.4.13.ebuild similarity index 94% copy from media-video/wireplumber/wireplumber-.ebuild copy to media-video/wireplumber/wireplumber-0.4.13.ebuild index 270ba536de33..22a84702628e 100644 --- a/media-video/wireplumber/wireplumber-.ebuild +++ b/media-video/wireplumber/wireplumber-0.4.13.ebuild @@ -68,8 +68,15 @@ RDEPEND="${DEPEND} DOCS=( {NEWS,README}.rst ) +PATCHES=( + "${FILESDIR}"/${PN}-0.4.10-config-disable-sound-server-parts.patch # defer enabling sound server parts to media-video/pipewire +) + src_configure() { local emesonargs=( + -Ddaemon=true + -Dtools=true + -Dmodules=true -Ddoc=disabled # Ebuild not wired up yet (Sphinx, Doxygen?) -Dintrospection=disabled # Only used for Sphinx doc generation -Dsystem-lua=true # We always unbundle everything we can @@ -81,6 +88,7 @@ src_configure() { -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir) -Dsystemd-user-unit-dir=$(systemd_get_userunitdir) $(meson_use test tests) + $(meson_use test dbus-tests) ) meson_src_configure diff --git a/media-video/wireplumber/wireplumber-.ebuild b/media-video/wireplumber/wireplumber-.ebuild index 270ba536de33..0d585bc9a339 100644 --- a/media-video/wireplumber/wireplumber-.ebuild +++ b/media-video/wireplumber/wireplumber-.ebuild @@ -70,6 +70,9 @@ DOCS=( {NEWS,README}.rst ) src_configure() { local emesonargs=( + -Ddaemon=true + -Dtools=true + -Dmodules=true -Ddoc=disabled # Ebuild not wired up yet (Sphinx, Doxygen?) -Dintrospection=disabled # Only used for Sphinx doc generation -Dsystem-lua=true # We always unbundle everything we can @@ -81,6 +84,7 @@ src_configure() { -Dsystemd-system-unit-dir=$(systemd_get_systemunitdir) -Dsystemd-user-unit-dir=$(systemd_get_userunitdir) $(meson_use test tests) + $(meson_use test dbus-tests) ) meson_src_configure
[gentoo-commits] repo/gentoo:master commit in: media-sound/ardour/
commit: b065771b7791fc95e213bc0ad10c6dc209cfa09e Author: Miroslav Šulc gentoo org> AuthorDate: Wed Dec 14 08:09:41 2022 + Commit: Miroslav Šulc gentoo org> CommitDate: Wed Dec 14 08:09:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b065771b media-sound/ardour: bump to 7.2 Signed-off-by: Miroslav Šulc gentoo.org> media-sound/ardour/Manifest | 1 + media-sound/ardour/ardour-7.2.ebuild | 185 +++ 2 files changed, 186 insertions(+) diff --git a/media-sound/ardour/Manifest b/media-sound/ardour/Manifest index 6156fb6b574d..818f8d5db6aa 100644 --- a/media-sound/ardour/Manifest +++ b/media-sound/ardour/Manifest @@ -1,2 +1,3 @@ DIST Ardour-6.9.0.tar.bz2 12297369 BLAKE2B 62037130b9f2d15a7f527b549c552a281105298dc85e3019d0f7ac09cb791f2b5460c4a7bd2f2098ccade6b87c70a16e6414691d90ec4baafeb6065f26d10a66 SHA512 ace45f5bfe6d0c9e4bb1712ae53ebaee2f15f883045650cae3ddcae251d4fd2f645ba745effb739b47c73a0568ae9e8ae443b711dd610584e04575fd9046b234 DIST Ardour-7.1.0.tar.bz2 12731494 BLAKE2B 1473d89089b378db9d7cb665d0d3fb9980abe5344e3e35114352141116547490fba1446d61c1ff4ee1262ac114e78baec994a4671e8362a1c146ff7f6020332d SHA512 e5fb26a03059eb96df3000977544f622e30aae0772f9265f5acb7da8f88460624dfed500423786975d69a6629821340dd74a03343f2c7ff70f959434e795c0fd +DIST Ardour-7.2.0.tar.bz2 12882609 BLAKE2B fe4912e4e6be318605f41cbd58ea51711d6ae6537c673c5534ff48a74455e54d92bcb6aa14b18b0014d8ebf4463d630e817696013b5b56255529183471a51566 SHA512 a8e1337324eed503e864f8fe3da34410b2a21e61a2b243a27ac68ac4d41b59ac3417e7713497f38f310a57b8d9885e758b99b00fec992b77756076a86f5ef7b3 diff --git a/media-sound/ardour/ardour-7.2.ebuild b/media-sound/ardour/ardour-7.2.ebuild new file mode 100644 index ..463082c09921 --- /dev/null +++ b/media-sound/ardour/ardour-7.2.ebuild @@ -0,0 +1,185 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE='threads(+)' +PLOCALES="cs de el en_GB es eu fr it ja nn pl pt pt_PT ru sv zh" +inherit toolchain-funcs flag-o-matic plocale python-any-r1 waf-utils desktop xdg + +DESCRIPTION="Digital Audio Workstation" +HOMEPAGE="https://ardour.org/"; + +if [[ ${PV} == ** ]]; then + EGIT_REPO_URI="https://git.ardour.org/ardour/ardour.git"; + inherit git-r3 +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://dev.gentoo.org/~fordfrog/distfiles/Ardour-${PV}.0.tar.bz2"; + S="${WORKDIR}/Ardour-${PV}.0" +fi + +LICENSE="GPL-2" +SLOT="7" +IUSE="doc jack nls phonehome pulseaudio cpu_flags_ppc_altivec cpu_flags_x86_sse cpu_flags_x86_mmx cpu_flags_x86_3dnow" + +RDEPEND=" + dev-cpp/glibmm:2 + dev-cpp/gtkmm:2.4 + dev-libs/boost:= + dev-libs/glib:2 + dev-libs/libsigc++:2 + dev-libs/libxml2:2 + dev-libs/libxslt + >=gnome-base/libgnomecanvas-2 + media-libs/alsa-lib + media-libs/aubio + media-libs/flac:= + media-libs/freetype:2 + media-libs/libart_lgpl + media-libs/liblo + media-libs/liblrdf + media-libs/libsamplerate + media-libs/libsndfile + media-libs/libsoundtouch + media-libs/raptor:2 + media-libs/rubberband + media-libs/taglib + media-libs/vamp-plugin-sdk + net-misc/curl + sys-libs/readline:0= + sci-libs/fftw:3.0[threads] + virtual/libusb:1 + x11-libs/cairo + x11-libs/gtk+:2 + x11-libs/pango + jack? ( virtual/jack ) + pulseaudio? ( media-sound/pulseaudio ) + media-libs/lilv + media-libs/sratom + dev-libs/sord + media-libs/suil[gtk2] + media-libs/lv2" +# !bundled-libs? ( media-sound/fluidsynth ) at least libltc is missing to be able to unbundle... + +DEPEND="${RDEPEND} + ${PYTHON_DEPS} + dev-util/itstool + sys-devel/gettext + virtual/pkgconfig + doc? ( app-doc/doxygen[dot] ) + jack? ( virtual/jack )" + +PATCHES=( + "${FILESDIR}/${PN}-6.8-metadata.patch" +) + +pkg_pretend() { + [[ $(tc-getLD) == *gold* ]] && (has_version sci-libs/fftw[openmp] || has_version sci-libs/fftw[threads]) && \ + ewarn "Linking with gold linker might produce broken executable, see bug #733972" +} + +pkg_setup() { + if has_version \>=dev-libs/libsigc++-2.6 ; then + append-cxxflags -std=c++11 + fi + python-any-r1_pkg_setup +} + +src_prepare() { + xdg_src_prepare + + sed 's/'full-optimization\'\ :\ \\[.*'/'full-optimization\'\ :\ \'\','/' -i "${S}"/wscript || die + MARCH=$(get-flag march) + OPTFLAGS="" + if use cpu_flags_x86_sse; then + if [[ ${MARCH} == "i686" ]] || [[ ${MARCH} == "i486" ]]; then + elog "You enabled sse but use an march that does not support sse!" + elog "We add -msse to the flags now, but please c