diff options
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/Manifest.gz | bin | 23219 -> 23224 bytes | |||
-rw-r--r-- | media-video/handbrake/Manifest | 3 | ||||
-rw-r--r-- | media-video/handbrake/files/handbrake-1.9.0-arm64-c99.patch | 77 | ||||
-rw-r--r-- | media-video/handbrake/handbrake-1.9.0.ebuild | 1 | ||||
-rw-r--r-- | media-video/parole/Manifest | 2 | ||||
-rw-r--r-- | media-video/parole/parole-4.18.2.ebuild | 76 | ||||
-rw-r--r-- | media-video/qmplay2/Manifest | 2 | ||||
-rw-r--r-- | media-video/qmplay2/qmplay2-24.12.23.ebuild | 138 | ||||
-rw-r--r-- | media-video/sonic-snap/Manifest | 3 | ||||
-rw-r--r-- | media-video/sonic-snap/files/sonic-snap-1.7-fltk1.4.patch | 6 | ||||
-rw-r--r-- | media-video/sonic-snap/sonic-snap-1.7-r2.ebuild (renamed from media-video/sonic-snap/sonic-snap-1.7-r1.ebuild) | 8 |
11 files changed, 312 insertions, 4 deletions
diff --git a/media-video/Manifest.gz b/media-video/Manifest.gz Binary files differindex 160d54af18d6..138f7522a800 100644 --- a/media-video/Manifest.gz +++ b/media-video/Manifest.gz diff --git a/media-video/handbrake/Manifest b/media-video/handbrake/Manifest index a47cdfa63cf8..3408c9d0866a 100644 --- a/media-video/handbrake/Manifest +++ b/media-video/handbrake/Manifest @@ -1,5 +1,6 @@ AUX handbrake-1.3.3-x265-link.patch 205 BLAKE2B e65b844a3924f2a332112502b9fb627eb876165d24ee4610c10a9d32a6d6e4eb98046d524837e7c1ce603135d40c77fa461128c3900734ae06681cb4d5bebd47 SHA512 d094c5348356ee3fde1ca1a0181b5b9bb64e9d10f956e34aed5033c21abb81db262970efc9fc72ef75b931ddc240dcb275f18dcc118b73dc585c933f537678e7 AUX handbrake-1.6.1-missing-include.patch 550 BLAKE2B 874c646bd6ce430dd2b273fc80406bee3ab4b405be41f984a6f8600b69a9344996de31e007db3d62c4a423d4e5c75758e47d7d089a5c7b07ea7e866a7b222fd4 SHA512 7b09ad791823f34ca8d64312bbcf0583a087522502625eba043fb9c81db5a135c7585bdd8d8241ecb2a3dd045cee4192b0bab83a9457d419b82204cb1b48432d +AUX handbrake-1.9.0-arm64-c99.patch 3496 BLAKE2B c4e9893cd154b0e8ba4dfc4a2d81e332ca295ec816990de7a34e5e885fdd6c1d9790224bcfff4e6780da914ee9d4b4662f3259b1746609174983d054c97305e3 SHA512 0894cc994e980723f13e34f5bcf8b5def55fb054febb96fe77852d88651675ea0c2a36932216f0af4a273edb01b04294315329770215e237fcfa4fd8e8f1259d AUX handbrake-1.9.0-include-vpl-properly.patch 529 BLAKE2B 3b50d912631f0308f41a2ca3704c496a01b0e5a2c74f21c4e39d50d1013e8cb0a10f02e69f01843a1f8390804b512a39908ff07a11aa4c2081c6e4693d57c7dc SHA512 167335712a90894b09ea20731578fe54c59b539fe848a1e69e0908ff3962b11b734b48edec377e92631d3b6695076bb5a1e1cf4cfd3b7158ee2cad4947812416 AUX handbrake-1.9.0-link-libdovi-properly.patch 817 BLAKE2B c06d501b35dde3e7ff034130e179adff62a6ae518238860957ab562809e61a336fc73f1f2303d47e208bfbd47fb90e1b0f6f32bcb647a9a721f8b2b4a2e908a3 SHA512 01428d07d2add6ce9e7a7acb53fdb00310e3cfcbf5ae2f723dc4507523380dbbc15c4e3d8e1fd4c1ec7519034520905d9987659c2a5f1c277580aa7381c6b856 AUX handbrake-9999-dont-search-for-python.patch 626 BLAKE2B 25226e243d06fb1a4bf7d7a9a0b2d5f77b37e87fd413c17bad285f10c0cefd33bee9dc193cc3497cd0740a36d3c596579502d3c76eccb514fa09b5976a171e48 SHA512 fd7684b0e312772c4e9e206dad402f3672c600a570cc60da543dc7e984b2bb91c7a3843b1a86dfe11179b86e35396aafa1c7464d6d7d0e93472d740ab6bcc4d9 @@ -10,6 +11,6 @@ DIST handbrake-1.9.0.tar.bz2 9427823 BLAKE2B 5e7c4aa054957dc61582956b7e2b9916f67 DIST handbrake-ffmpeg-7.1.tar.bz2 13260188 BLAKE2B 32466fbefdeb30796a329869bf6fe547a0d3285ae8d9505758e5bff5103f5edf1bebd2dd8595822d0cd25e3754929ed47878ab42c420e248fb2d6ea51747145a SHA512 3f28af9a0c0779b4a7f4e5fbfd94616eb83265856ef060a8bb8afbb9f1b899885a218f15b7ac2c48f724d961dd2742ef6544b237118cb94563ecf49fbd740e3b DIST handbrake-x265_4.1.tar.gz 1722231 BLAKE2B 5950cc5361da88a8db5403b2837081347980cd31848ce77802e8a29cfb70f6b321d14ffa08c20270e80435076e36428c7de8293c3db9b6b2e8837aa512300126 SHA512 72798265423b605b0ca5f5541f3cc39f62dae7560a5a4023f8d38f6977ded80b1911ef8154c485fbe62ef97a051d938412934c9a00f3df010f11d83ffc650e7e EBUILD handbrake-1.6.1.ebuild 4304 BLAKE2B b958d31ef276ab178f00b0f64e6244c5290697cfdc31c872e5e35c914b35dff1eeaa79a438924d9785b943d90429792c10159b2bd11a0e4c7d1c005181dd1d56 SHA512 336fa7705b34ff1a1cb29b7279a836e285d6864ccfabfd58ed9f5d01c19417063328e3562b672834b417a0fccd0457442038afc75e81f7afa6a557d38e7e45bc -EBUILD handbrake-1.9.0.ebuild 5462 BLAKE2B 77bc5dd73c59612bb69142948250cbf8decf4efc515915707f74a8e196c528103d6e9c815381c5d4ac743abda0e8c7d1ae9d685e7e74c8126427287eb536196b SHA512 7bedfe3f68f7b52bc753379c17a0e3eebbc7ac26cdb6969e473f6834d370847548aa203f308561026209944f31a41e835ced7e8a7c1d11a6566479ebc5becf08 +EBUILD handbrake-1.9.0.ebuild 5509 BLAKE2B 713ffdb6815a43f064adfb4cd373e5166a0965b4931b4954e23cb72aa884f5d302b8538e8c79fffe3bfef589f40f38be8e011f21be3d590dc6fd70e27f4df0ae SHA512 efabd09d16ae4e25a075375f7e301e29472635c31bb9b0eb16a15b6f6c400ebbb462e4e7d00bd0b5736232ef16afd3a8c50eed11163df2ad9cb3460518db8da0 EBUILD handbrake-9999.ebuild 5462 BLAKE2B 77bc5dd73c59612bb69142948250cbf8decf4efc515915707f74a8e196c528103d6e9c815381c5d4ac743abda0e8c7d1ae9d685e7e74c8126427287eb536196b SHA512 7bedfe3f68f7b52bc753379c17a0e3eebbc7ac26cdb6969e473f6834d370847548aa203f308561026209944f31a41e835ced7e8a7c1d11a6566479ebc5becf08 MISC metadata.xml 977 BLAKE2B 5146109b2ca201d5b292e0be595eae56a945e0179137467a2b9aaee92446454e5b3bcd0e15499dc0f486aba9cf676c3debf34006193a6f84468c4be657eafacf SHA512 e8c3dfea5cda5e48370001fb72f7b6cb53e8ee8ec28a3f2e209e3c55195884d5a83ed3ecbc47e09b9ffc623494ae317811ca853646e61c263ab9a25833cdd5e1 diff --git a/media-video/handbrake/files/handbrake-1.9.0-arm64-c99.patch b/media-video/handbrake/files/handbrake-1.9.0-arm64-c99.patch new file mode 100644 index 000000000000..ba795cc607b2 --- /dev/null +++ b/media-video/handbrake/files/handbrake-1.9.0-arm64-c99.patch @@ -0,0 +1,77 @@ +https://bugs.gentoo.org/946885 +https://github.com/HandBrake/HandBrake/issues/6454 +https://github.com/HandBrake/HandBrake/pull/6463 + +From f8550e62e853348d36e0f0fc8e757a18fb3ac784 Mon Sep 17 00:00:00 2001 +From: Dash Santosh <dash.sathyanarayanan@multicorewareinc.com> +Date: Tue, 3 Dec 2024 06:43:59 -0800 +Subject: [PATCH] build: fix gcc14 aarch64 build failure + +--- + libhb/templates/comb_detect_template.c | 8 ++++---- + libhb/templates/decomb_template.c | 4 ++-- + 2 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/libhb/templates/comb_detect_template.c b/libhb/templates/comb_detect_template.c +index dfda498b2023..89bd0a468a28 100644 +--- a/libhb/templates/comb_detect_template.c ++++ b/libhb/templates/comb_detect_template.c +@@ -270,7 +270,7 @@ static void FUNC(detect_gamma_combed_segment)(hb_filter_private_t *pv, + mask_vec = vandq_u32(mask_vec, condition); + mask_vec = vandq_u32(mask_vec, v_one); + +- vst1q_u32(&mask32, mask_vec); ++ vst1q_u32(mask32, mask_vec); + + mask[0] = mask32[0]; + mask[1] = mask32[1]; +@@ -550,7 +550,7 @@ static void FUNC(detect_combed_segment)(hb_filter_private_t *pv, + mask_vec = vandq_u32(mask_vec, condition); + mask_vec = vandq_u32(mask_vec, v_one); + +- vst1q_u32(&mask32, mask_vec); ++ vst1q_u32(mask32, mask_vec); + + mask[0] = mask32[0]; + mask[1] = mask32[1]; +@@ -568,7 +568,7 @@ static void FUNC(detect_combed_segment)(hb_filter_private_t *pv, + mask_vec = vandq_u32(mask_vec, condition); + mask_vec = vandq_u32(mask_vec, v_one); + +- vst1q_u32(&mask32, mask_vec); ++ vst1q_u32(mask32, mask_vec); + + mask[0] = mask32[0]; + mask[1] = mask32[1]; +@@ -585,7 +585,7 @@ static void FUNC(detect_combed_segment)(hb_filter_private_t *pv, + mask_vec = vandq_u32(mask_vec, condition); + mask_vec = vandq_u32(mask_vec, v_one); + +- vst1q_u32(&mask32, mask_vec); ++ vst1q_u32(mask32, mask_vec); + + mask[0] = mask32[0]; + mask[1] = mask32[1]; +diff --git a/libhb/templates/decomb_template.c b/libhb/templates/decomb_template.c +index a46cae506f9a..b5b557186cc2 100644 +--- a/libhb/templates/decomb_template.c ++++ b/libhb/templates/decomb_template.c +@@ -181,7 +181,7 @@ static void FUNC(blend_filter_line)(const filter_param_t *filter, + result = vshrq_n_s32(result, 3); + + uint32x4_t result_u32 = vreinterpretq_u32_s32(vaddq_s32(result, offset)); +- vst1q_u32(&cr_table_vec, result_u32); ++ vst1q_u32(cr_table_vec, result_u32); + dst[x+0] = crop_table[cr_table_vec[0]]; + dst[x+1] = crop_table[cr_table_vec[1]]; + dst[x+2] = crop_table[cr_table_vec[2]]; +@@ -263,7 +263,7 @@ static void FUNC(blend_filter_line)(const filter_param_t *filter, + result = vshrq_n_s16(result, 3); + + uint16x8_t result_u16 = vreinterpretq_u16_s16(vaddq_s16(result, offset)); +- vst1q_u16(&cr_table_vec, result_u16); ++ vst1q_u16(cr_table_vec, result_u16); + dst[x+0] = crop_table[cr_table_vec[0]]; + dst[x+1] = crop_table[cr_table_vec[1]]; + dst[x+2] = crop_table[cr_table_vec[2]]; + diff --git a/media-video/handbrake/handbrake-1.9.0.ebuild b/media-video/handbrake/handbrake-1.9.0.ebuild index 87d75de6700c..565fcec3cad9 100644 --- a/media-video/handbrake/handbrake-1.9.0.ebuild +++ b/media-video/handbrake/handbrake-1.9.0.ebuild @@ -111,6 +111,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/handbrake-1.9.0-link-libdovi-properly.patch "${FILESDIR}"/handbrake-1.9.0-include-vpl-properly.patch + "${FILESDIR}"/handbrake-1.9.0-arm64-c99.patch ) src_unpack() { diff --git a/media-video/parole/Manifest b/media-video/parole/Manifest index 29bfe7d8ce1e..5d96095f4e62 100644 --- a/media-video/parole/Manifest +++ b/media-video/parole/Manifest @@ -1,3 +1,5 @@ DIST parole-4.18.1.tar.bz2 934059 BLAKE2B db5b6345bcf8eae47668bfd504106b8f44bb272a7d9e88fb53824a4141c88a45f4fdcb6df5a5513ebba82ffda9438be91ffe060d1cc19f0ab56887dc3ff606e1 SHA512 ec2b8036f2be594dc13c37aca76b7250ec1792c7166501e9a2775efb731e87cf6894196243e68026437e2bbd4a9edf1aa9cfa076886e333e2ecf4523f8f1d647 +DIST parole-4.18.2.tar.bz2 1183723 BLAKE2B b7222cbe0271408987869d924f83343c1b599e700952b6b094d7ac5566c3d6c1135ed84a06037a07a6d60c899f92e19f6e67ccc778f8525b859bffd28d0a7007 SHA512 856a8430882f3b4410cb719702eabdc9754b9511cc21cb61d86d033fb1b623442affb4e1ec569adecd414413eecb604553b5256525165c7eeda1b3d598330673 EBUILD parole-4.18.1.ebuild 1543 BLAKE2B f568237ced2baf59669ea6e40cd1649e5c5f775ec4525ea81bc5c72f74c30da575dba655cbcb31df9a2b310c73ed543b56bbb36c114f0cce793d8ed8e19c7850 SHA512 bc2a5eaf66134192e23f726827489cdf854680ebac2d8f6477d2bcc617d7f322197cccd4a3f750b94261ce2e2b211e6d5a22f892c4662ac0d42b05820845e51d +EBUILD parole-4.18.2.ebuild 1548 BLAKE2B ca8d224d51148598b5f7519ce7b4b31e01794a15c0e2d607ef4e8feb549dec4e69878ee1f68adbc0ae842fdc3ab5008582be64786b4b58c396e19e523f2b9317 SHA512 49288f4944624768a0bba2a0ea997b1c1884f69a20fbc65e8611762ad8991c06ef4edcb742c6ec98c511464c2d18049e60a2df0d3c8d60c9b0e3dd44ef131661 MISC metadata.xml 242 BLAKE2B e489d8bd8fc709502185e0439171cde4402146bc1ec7340bbe41550c06410a49faec8777cb7e79c3ba482feee774350beec5741ed8fe93a85ebed7b746f9200e SHA512 1bcfaf0482a1e7b5a7182d853dafaa2d47687bbc1c9d38b69ba35ce97cdeeff9bd2137a086c5af2a27b730a295e7cbd73d0b43fbe5af331bb7a3113d2117dff3 diff --git a/media-video/parole/parole-4.18.2.ebuild b/media-video/parole/parole-4.18.2.ebuild new file mode 100644 index 000000000000..336de025c4cb --- /dev/null +++ b/media-video/parole/parole-4.18.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit xdg-utils + +DESCRIPTION="A simple Xfce4 media player using GStreamer" +HOMEPAGE=" + https://docs.xfce.org/apps/parole/start + https://gitlab.xfce.org/apps/parole/ +" +SRC_URI="https://archive.xfce.org/src/apps/${PN}/${PV%.*}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~x86" +IUSE="libnotify taglib wayland X" +REQUIRED_USE="|| ( wayland X )" + +DEPEND=" + >=dev-libs/dbus-glib-0.100 + >=dev-libs/glib-2.38.0:2 + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + sys-apps/dbus + >=x11-libs/gtk+-3.22.0:3[wayland?,X?] + >=xfce-base/libxfce4ui-4.11.0:=[gtk3(+)] + >=xfce-base/libxfce4util-4.11.0:= + >=xfce-base/xfconf-4.10.0:= + libnotify? ( >=x11-libs/libnotify-0.7 ) + taglib? ( >=media-libs/taglib-1.6:0= ) + X? ( + >=x11-libs/libX11-1.6.7 + ) +" +RDEPEND=" + ${DEPEND} + media-plugins/gst-plugins-meta:1.0 +" +DEPEND+=" + x11-base/xorg-proto +" +BDEPEND=" + dev-util/glib-utils + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig +" + +src_configure() { + local myconf=( + # clutter backend does not work with new GTK+3 versions + --disable-clutter + $(use_enable taglib) + $(use_enable libnotify notify-plugin) + $(use_enable wayland) + $(use_enable X x11) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/media-video/qmplay2/Manifest b/media-video/qmplay2/Manifest index 27fafa0b1af6..49dcfd9b3e70 100644 --- a/media-video/qmplay2/Manifest +++ b/media-video/qmplay2/Manifest @@ -1,6 +1,8 @@ DIST QMPlay2-src-24.06.16.tar.xz 2042180 BLAKE2B ba076fc7cb6c77f16529d082690c4d994e53c62cdf994c1e35afdb5255b203d0ccc72db1195730be60471d5fff48deca47e1348b0b41f22e898818206f8c53bb SHA512 3a8a7b99c7861318cfe0a6e096a27bb86f64cfafacf4ec52bdc4e955dd320d6e0f369dcb466dfd9bb73f8d173a2fc768848e7356f03590e429ae30270daf176b DIST QMPlay2-src-24.12.06.tar.xz 2058012 BLAKE2B adc53f14c9614114b6c401a757278faa76d6e9ad467ab12c994e69d078aa181e4c956c07dac545a0aa91cf2258e82f16710b257ddf3f39b64655d44ef4649952 SHA512 fbfbd477ff44e9b74f1892788d0d13edd26df394fd91956a1db1d5355197c8f4662f844a3279a3efc07f38289c7394507e2cbc3c74c162eb7514badcba6ca331 +DIST QMPlay2-src-24.12.23.tar.xz 2065360 BLAKE2B d1f015246ad1a38645009bd7f41ec48236f0d7ed0a1cce3ef7960245af44b317890cba6a06018c018d2181c0a93e61155cf9a267cfe3750949a8c19c5fd9b959 SHA512 c7d563e3c35ea4fffa4878a5747b6e648601fb5281d129f57f3fc8784aba938025cd160763963ee1eeecda2e336a358738255bbe560b58cc609fb122b2531e81 EBUILD qmplay2-24.06.16.ebuild 3377 BLAKE2B 0a1decfcdf7c00665f4886f5b027649d071341a373b186328b094eba94411a40cabb60ed6a7027636a619486305b1c74a53fcae426a4944a690bcf2a34cc47dd SHA512 cf9a7cc2bc5d1aa92e12d31954ffec60dd70d5c76eb0bfadc8edd83149f90b437f9f5f863b616608239e5302fdb7032bea50b4f4c6d05ccdec9fca2f0d534e29 EBUILD qmplay2-24.12.06.ebuild 3378 BLAKE2B 6cc5773edb049423e62502ea823991428a07d737d46a90f1a470ab3214cf7d82212f3706eef61a9981c0c8fa9405b7fcf95101f44cd4019d9c285da38da855f6 SHA512 c6d941954a4887457264c06fec0721b4ae152731bc344923fc77443b35bc38b71c8dc0e5852e7031ad5894359b880762abec56c5c1ebeea4e0bc683827c95c5a +EBUILD qmplay2-24.12.23.ebuild 3378 BLAKE2B 6cc5773edb049423e62502ea823991428a07d737d46a90f1a470ab3214cf7d82212f3706eef61a9981c0c8fa9405b7fcf95101f44cd4019d9c285da38da855f6 SHA512 c6d941954a4887457264c06fec0721b4ae152731bc344923fc77443b35bc38b71c8dc0e5852e7031ad5894359b880762abec56c5c1ebeea4e0bc683827c95c5a EBUILD qmplay2-9999.ebuild 3378 BLAKE2B 6cc5773edb049423e62502ea823991428a07d737d46a90f1a470ab3214cf7d82212f3706eef61a9981c0c8fa9405b7fcf95101f44cd4019d9c285da38da855f6 SHA512 c6d941954a4887457264c06fec0721b4ae152731bc344923fc77443b35bc38b71c8dc0e5852e7031ad5894359b880762abec56c5c1ebeea4e0bc683827c95c5a MISC metadata.xml 1225 BLAKE2B 9fc74ea3d0319bc8822e0ff56968efcbe4ab40b758bfeca900883ed4dbbe80608a6954ffe95a1f61d0dd988ae88afd29d2c4485f3d62b2b839b9fea289fe3b72 SHA512 94f8b05578de759be210af0eb26f15d48e15112b07e586b6336737bd9cb3dd768c7dbefc3b667753239c10bdb1fa6ebdd39d5abe234742ead51f189bf63f8173 diff --git a/media-video/qmplay2/qmplay2-24.12.23.ebuild b/media-video/qmplay2/qmplay2-24.12.23.ebuild new file mode 100644 index 000000000000..1bb22871659a --- /dev/null +++ b/media-video/qmplay2/qmplay2-24.12.23.ebuild @@ -0,0 +1,138 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="A Qt-based video player, which can play most formats and codecs" +HOMEPAGE="https://github.com/zaps166/QMPlay2" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/zaps166/QMPlay2" +else + SRC_URI="https://github.com/zaps166/QMPlay2/releases/download/${PV}/QMPlay2-src-${PV}.tar.xz" + S="${WORKDIR}/QMPlay2-src-${PV}" + KEYWORDS="~amd64" +fi + +LICENSE="LGPL-3" +SLOT="0" + +IUSE="avdevice +audiofilters +alsa cdio cuvid extensions gme inputs libass + modplug notifications opengl pipewire portaudio pulseaudio qt6 sid + shaders +taglib vaapi videofilters visualizations vulkan xv" + +REQUIRED_USE=" + audiofilters? ( || ( alsa pipewire portaudio pulseaudio ) ) + shaders? ( vulkan ) +" + +RDEPEND=" + media-video/ffmpeg:=[vaapi?] + !qt6? ( + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5[X(-),vulkan?] + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + extensions? ( dev-qt/qtdeclarative:5 ) + videofilters? ( dev-qt/qtconcurrent:5 ) + ) + qt6? ( + dev-qt/qtbase:6[concurrent,dbus,gui,network,opengl?,ssl,vulkan?,widgets] + dev-qt/qt5compat:6 + dev-qt/qtsvg:6 + extensions? ( dev-qt/qtdeclarative:6 ) + ) + alsa? ( media-libs/alsa-lib ) + cdio? ( dev-libs/libcdio[cddb] ) + gme? ( media-libs/game-music-emu ) + libass? ( media-libs/libass ) + opengl? ( virtual/opengl ) + pipewire? ( media-video/pipewire ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-libs/libpulse ) + sid? ( media-libs/libsidplayfp ) + shaders? ( >=media-libs/shaderc-2020.1 ) + taglib? ( media-libs/taglib ) + vaapi? ( media-libs/libva[X] ) + vulkan? ( >=media-libs/vulkan-loader-1.2.133 ) + xv? ( x11-libs/libXv ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + !qt6? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) +" + +src_prepare() { + # disable compress man pages + sed -r \ + -e 's/if\(GZIP\)/if\(TRUE\)/' \ + -e 's/(install.+QMPlay2\.1)\.gz/\1/' \ + -i src/gui/CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DBUILD_WITH_QT6=$(usex qt6) + # core + -DUSE_UPDATES=OFF + -DUSE_ALSA=$(usex alsa) + -DUSE_AUDIOCD=$(usex cdio) + -DUSE_DBUS_PM=ON + -DUSE_FREEDESKTOP_NOTIFICATIONS=ON + -DUSE_LIBASS=$(usex libass) + -DUSE_NOTIFY=$(usex notifications) + -DUSE_OPENGL=$(usex opengl) + -DUSE_VULKAN=$(usex vulkan) + -DUSE_GLSLC=$(usex shaders) + -DUSE_XVIDEO=$(usex xv) + + # ffmpeg + -DUSE_FFMPEG_AVDEVICE=$(usex avdevice) + -DUSE_FFMPEG_VAAPI=$(usex vaapi) + + # chiptune + -DUSE_CHIPTUNE_GME=$(usex gme) + -DUSE_CHIPTUNE_SID=$(usex sid) + + # modules + -DUSE_AUDIOFILTERS=$(usex audiofilters) + -DUSE_CUVID=$(usex cuvid) + -DUSE_INPUTS=$(usex inputs) + -DUSE_MODPLUG=$(usex modplug) + -DUSE_PIPEWIRE=$(usex pipewire) + -DUSE_PORTAUDIO=$(usex portaudio) + -DUSE_PULSEAUDIO=$(usex pulseaudio) + -DUSE_TAGLIB=$(usex taglib) + -DUSE_VIDEOFILTERS=$(usex videofilters) + -DUSE_VISUALIZATIONS=$(usex visualizations) + + # extensions + -DUSE_EXTENSIONS=$(usex extensions) + ) + + if use extensions; then + # Move inside an if, to remove unused option warning + mycmakeargs+=( + -DUSE_LASTFM=ON + -DUSE_LYRICS=ON + -DUSE_MEDIABROWSER=ON + -DUSE_MPRIS2=ON + ) + fi + + if [[ ${PV} == *9999 ]]; then + mycmakeargs+=( -DUSE_GIT_VERSION=true ) + else + mycmakeargs+=( -DUSE_GIT_VERSION=false ) + fi + + cmake_src_configure +} diff --git a/media-video/sonic-snap/Manifest b/media-video/sonic-snap/Manifest index 3eabec3b09af..af8e0b169532 100644 --- a/media-video/sonic-snap/Manifest +++ b/media-video/sonic-snap/Manifest @@ -1,3 +1,4 @@ +AUX sonic-snap-1.7-fltk1.4.patch 177 BLAKE2B fd4db66d63312303ed626a9d6204b1b2c07ed96554b45898be21f5be6923adf8e0f97dec5daa988bef2c5b3b354923eb236b27b969d141d2c740e8b76b8eeaae SHA512 3a1e93caf055fec8c1046792311e7a4dd86f27df21c564a26e8a912fda0d9fa92207cd0c4f2a8e92aacf069a19daa8a4802d77e1fbf93e79fcb7975b12bdc00f DIST sonic-snap-1.7.tar.gz 16760 BLAKE2B d3bc2d55d12aa0e02949a815cb3c1b2402ad7980b7d52c240fef513b3aadd3399d113fc6b8ab7a727fc6cfd8cf6c158887fe0be64f5bdc9ed585f190d7ab39f9 SHA512 0c2fe5a7403ac003aad308d064a4d981a25f52e478943125090cb96d337aebe0a9fef160217b4f37cfd1991c0517f5f869f60f4c93a6abe9a127821f7906a664 -EBUILD sonic-snap-1.7-r1.ebuild 1644 BLAKE2B e9f1e76b1d8545363b6e8d41f849149378d749478860b4b8a8508cf3f0f3f0ebf5af842bb1d1e915434d24a23f45a9ba0cbbf97b8e3656cb5addbe95589d4293 SHA512 c9c2eac6d5acbf348cfe0152999430479acd065687b91871c0264e5e595a551b349a00851bed5be58dd656b07c00b097e617b6432dfc0d029aa737a25b4af720 +EBUILD sonic-snap-1.7-r2.ebuild 1692 BLAKE2B e7cfac2b65e6f782ed748b9f48fc9e308047c4f962a3ea33ed7e762c9afdaddda7ab4d9f731807aaa84c22a83ce12efbf33885c28126a521bff1d17d09716a4a SHA512 59d1401bf748a7ad89beed6c415656231177101df584dd13be2b82e76989c2f850030e9701e1c2ad732e9481f3967e4212dd6ed927e19c2e67e3da83fb0b4679 MISC metadata.xml 256 BLAKE2B ff2b5536809c94dc64867bca73d779a31bd343559cd65520c9b5684091734b3ccf7bf495335890df5533857480794cb3258566e5836e8dce7514b6833ba93f37 SHA512 b7f3d0564d06254ff552beec9594236b84ebc3ad87adab673f68963bcc4dfbf2e29b401e75486ba41b9b526de74b73f65e9d5e901221f810363497aa694c8567 diff --git a/media-video/sonic-snap/files/sonic-snap-1.7-fltk1.4.patch b/media-video/sonic-snap/files/sonic-snap-1.7-fltk1.4.patch new file mode 100644 index 000000000000..f081d51aa426 --- /dev/null +++ b/media-video/sonic-snap/files/sonic-snap-1.7-fltk1.4.patch @@ -0,0 +1,6 @@ +Deprecated compatibility symlinks are removed. +--- a/sonic-snap-gui.cxx ++++ b/sonic-snap-gui.cxx +@@ -22 +22 @@ +-#include <FL/fl_file_chooser.H> ++#include <FL/Fl_File_Chooser.H> diff --git a/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild b/media-video/sonic-snap/sonic-snap-1.7-r2.ebuild index 0d703945f44d..117786115bce 100644 --- a/media-video/sonic-snap/sonic-snap-1.7-r1.ebuild +++ b/media-video/sonic-snap/sonic-snap-1.7-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ IUSE="mpeg" DEPEND=" sys-libs/zlib - x11-libs/fltk:1 + x11-libs/fltk:1= x11-libs/libX11 x11-libs/libXau x11-libs/libXdmcp @@ -31,6 +31,10 @@ CONFIG_CHECK="~USB_SN9C102" ERROR_USB_SN9C102="Please make sure the SN9C1xx PC Camera Controller driver is \ enabled, under V4L USB devices, as a module in your kernel." +PATCHES=( + "${FILESDIR}"/${P}-fltk1.4.patch +) + src_prepare() { # fix bad assumptions sed -i \ |