diff options
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/Manifest.gz | bin | 68572 -> 68585 bytes | |||
-rw-r--r-- | media-libs/grilo/Manifest | 2 | ||||
-rw-r--r-- | media-libs/grilo/grilo-0.3.16.ebuild | 2 | ||||
-rw-r--r-- | media-libs/gsound/Manifest | 2 | ||||
-rw-r--r-- | media-libs/gsound/gsound-1.0.3.ebuild | 4 | ||||
-rw-r--r-- | media-libs/gupnp-dlna/Manifest | 2 | ||||
-rw-r--r-- | media-libs/gupnp-dlna/gupnp-dlna-0.12.0.ebuild | 4 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/Manifest | 1 | ||||
-rw-r--r-- | media-libs/ladspa-sdk/ladspa-sdk-1.17-r2.ebuild | 65 | ||||
-rw-r--r-- | media-libs/libmediaart/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libmediaart/libmediaart-1.9.6-r1.ebuild | 4 | ||||
-rw-r--r-- | media-libs/openh264/Manifest | 1 | ||||
-rw-r--r-- | media-libs/openh264/openh264-2.3.1-r2.ebuild | 134 | ||||
-rw-r--r-- | media-libs/sdl2-pango/Manifest | 2 | ||||
-rw-r--r-- | media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild | 2 |
15 files changed, 214 insertions, 13 deletions
diff --git a/media-libs/Manifest.gz b/media-libs/Manifest.gz Binary files differindex 0b2121f06cc9..4a34d6c0d08e 100644 --- a/media-libs/Manifest.gz +++ b/media-libs/Manifest.gz diff --git a/media-libs/grilo/Manifest b/media-libs/grilo/Manifest index 9823cd669286..6b59507390e9 100644 --- a/media-libs/grilo/Manifest +++ b/media-libs/grilo/Manifest @@ -1,5 +1,5 @@ DIST grilo-0.3.15.tar.xz 241428 BLAKE2B 6b8841924c1b555abfcb852eddcaddaf0ea85dfe2922420e0e06b8fe2ea4fd4d8d5da47b011fd4c2f9c4edbe4fc08b36a3dd3c3779a92a0bd44abef3c3bffd9e SHA512 98616c1600bb7d7f5c92bbdc9b85d57da1e416f9207e60ad9b6c305c989f6d4ff6b21963f8f8c69f0daca68bf9d91b3397addfd0cea62f0553977fc0e69b2c31 DIST grilo-0.3.16.tar.xz 241660 BLAKE2B ca04eceef12e103667690ed9f5493cf15c036ee105fb590191fb10b58f1c042f255053e528b52eab1d3ec2c455cc82bcab69d2215b7ac70415b700d21c811905 SHA512 ef04f8c3e5308893d60831580262724bf427e9e3cd2093dcc4917ac93c7e814c9524badaf5246e3ee3748ec2e70afae03df188bf0a1c3e405f4bd6264eedd313 EBUILD grilo-0.3.15.ebuild 2150 BLAKE2B 522219662d0ef98dbd24aad322973506f103d225e7f4eb5a288d17f999865d91e82065e1cf8f2b0f9679ca54dbc148067b765924b9f55d2fc7ed27a8881dea00 SHA512 89b7d4928c22662b2d2a736685e46cef7116880a14599faf4c3e1e1f0cc93639cf6bf3f6f03e8f7ec961d7b0fdc99fa49a56af82473d8ef3d1a85b328aa68cb3 -EBUILD grilo-0.3.16.ebuild 2144 BLAKE2B 9dc72025eafc7bd5d0e62215e5c0414634fdc42c83228caf84999d2b41a46f210462513c14d1acb52c4720faa5139db160a7659a0e42697cb7b3829bde732376 SHA512 75129d77ee079281c563f483640ef6ff7adee2f1932c7a9515437e73060fa45758079ccdb51c27d8c0b26acad947e66dc578d38f6f9e24c55c3e7e2dc83422e9 +EBUILD grilo-0.3.16.ebuild 2151 BLAKE2B a9840e04ccfb74da08af6f38349c3bdbfa6d7e7d767acc25a27cf25a7b9dbf4a63d2b49cecf2a8ede7dcc70d2df705bc84bc5525a30f6a6f129eac82451460e3 SHA512 afcd04f2a0d019bc20939439d2db16e488f6876109bf21a313e027cdad6f61a9f6533b160268a281b41229bf71661699570b1a0837e88c1ef2190c434ee51fba MISC metadata.xml 728 BLAKE2B bf26241647153b434cdf724108342a8415518d5d53487ef449ea382d2b3f3fe33bacf917ddeb65e90d11c7eeefabf3d58510c44b998cadbab3fc8b315bea6422 SHA512 9a871314e746f137125c7bb31f8b9a246fdbf2a9c92f017c1d134019b423d72639db1d5214bd8f06321f7ae4233085aff1d8a3cf7ad748b391ff81f92ff2255f diff --git a/media-libs/grilo/grilo-0.3.16.ebuild b/media-libs/grilo/grilo-0.3.16.ebuild index fe71a4dd54bc..60479088e35a 100644 --- a/media-libs/grilo/grilo-0.3.16.ebuild +++ b/media-libs/grilo/grilo-0.3.16.ebuild @@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Grilo" LICENSE="LGPL-2.1+" SLOT="0.3/0" # subslot is libgrilo-0.3 soname suffix -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="gtk gtk-doc +introspection +playlist test vala" REQUIRED_USE="vala? ( introspection )" diff --git a/media-libs/gsound/Manifest b/media-libs/gsound/Manifest index c53ad2964300..ac078fd5cefc 100644 --- a/media-libs/gsound/Manifest +++ b/media-libs/gsound/Manifest @@ -1,3 +1,3 @@ DIST gsound-1.0.3.tar.xz 22592 BLAKE2B 01c61e859aa6b726ba6f49a4791b22d769b495d589d6d8b1c15c92d217433e6dc9a1e17ee2741f451b3ef32b4252677b47d46e149635ad4a58a5b323639c4ecb SHA512 5d7c4f17154b840abb94b432c33ba950929ddc5aba8c2795b54834d6c6b0280d3d8846acebb1e4e02688045bfb44cfac7dbb96fef44af5a73a12a70f3ece84eb -EBUILD gsound-1.0.3.ebuild 942 BLAKE2B adbbfba0a8156f57e238f2530fd703637aa86b01758f5b1f61d91abcdba920e154ae1dc3bc8cfb1c4c2029bd62e77b4344b97cf3375142da396f44d68ba69554 SHA512 acd25e87e744de8cd3e0d6dcb85694655437b91f2cac1a30b9ec0298523e526e8d0a4cee089f9f8fa57155896d1fb81bb4da1f1a9a4f656d9f95f8fcb1c41c29 +EBUILD gsound-1.0.3.ebuild 949 BLAKE2B c7880f10feb807129b0ba910de8d573562ae35050a961438d62cbf6313f0c8776c3235a9723e45bd1c6f337d14bc9b4c9d74e05c70ef2ae0b1361701e99daaa4 SHA512 84a0b179f141744ff705020df541c0a920dd270c0948e952105eea0281a3878bdec62aea9e66b53b3692b1ca653d5e168015f5237384ccacbea3341da353d242 MISC metadata.xml 347 BLAKE2B c20afb602fd3c7094cf968e76b610406fc4a80f089bc569d43ac659bc1c89a5952ff23d254525ccb523822b30bcbb8fe3d7d13bc70e3ec6f9f49d7d3ae9731ae SHA512 5f8aff2593a0bfee00aee6385514db44d14c151601c14bae4f5edbeda855fe26a860653cb05995acf1ec476ce2cd10bd42173fcd08bb49e4a6bad1c529e344d8 diff --git a/media-libs/gsound/gsound-1.0.3.ebuild b/media-libs/gsound/gsound-1.0.3.ebuild index 62a1dc5013cf..fdd5953d0216 100644 --- a/media-libs/gsound/gsound-1.0.3.ebuild +++ b/media-libs/gsound/gsound-1.0.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GSound" LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv x86" IUSE="gtk-doc +introspection +vala" REQUIRED_USE="vala? ( introspection )" diff --git a/media-libs/gupnp-dlna/Manifest b/media-libs/gupnp-dlna/Manifest index 766a8ce7b344..94fdbd8b7c75 100644 --- a/media-libs/gupnp-dlna/Manifest +++ b/media-libs/gupnp-dlna/Manifest @@ -1,3 +1,3 @@ DIST gupnp-dlna-0.12.0.tar.xz 89480 BLAKE2B 1e281fa2d8f80bcad146c37ab91c3036ced91b2eae8d7cf29bd34551e38b599f4551a7317f58851b8f3a85ad65313558608f15d42e6d6bccec580be7aa3b19a1 SHA512 a626fe77426b607325bb8cacb6af5c434d451c1aa550272f0cbe59f84103f7ec8d2be5ebc79a9ea4e56b755ad9cadabdcbd059c49b1c0df143ba15a52fcd0ce0 -EBUILD gupnp-dlna-0.12.0.ebuild 1097 BLAKE2B c282f5d9551722ccd59f203e7a2ba792de34411b36e383e2c0065246af81d9ee7d1c92d06d249caffe020b44c00474053b02ef76b297601eb9a4699142458c83 SHA512 20a80d97d745b44619ae0697901c685290030d047864faa5fb0075bd9a43b0543c3dce0712ebc3ee3e988de4b73a7a8077bf893ef23e4db4574ad38b0d611ed1 +EBUILD gupnp-dlna-0.12.0.ebuild 1104 BLAKE2B ac888bff71f3306cdc1b439729b203dd1fe6defd2e7f217e3a195fcb5926b02bb06e56c65171363c8dbfa5eb8dab893a307b0ff2a772b50551c4a9c4c2062027 SHA512 21e2fbd55499eedc2db3f074e11c1e35ca36051708c4b4bf0b2af3d53489518a7cf40143d7af519322b70eaa198844f3f75c5b5f6774bec1aab0f8aa10cb1c7b MISC metadata.xml 351 BLAKE2B f6863cdf1a995328344c249c2d9bf4fbf03dceb1b17a9edcedda2ae1b0fced4c82de6d7e05325fed718d86c3cd4d5c98481d11bf9fd6e965bae0df452cdc2005 SHA512 eeafa7d33aa51e9c1139e591cd54532bbd0464a15fdec883f809d486b9502e2eb0b5d3af5691ce66113ff2525612621ea31bae26413d0817ddc5603678c25371 diff --git a/media-libs/gupnp-dlna/gupnp-dlna-0.12.0.ebuild b/media-libs/gupnp-dlna/gupnp-dlna-0.12.0.ebuild index ad288a0f8a53..0813dc9d81b7 100644 --- a/media-libs/gupnp-dlna/gupnp-dlna-0.12.0.ebuild +++ b/media-libs/gupnp-dlna/gupnp-dlna-0.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/g LICENSE="LGPL-2" SLOT="2.0/4" # subslot: soname version -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="gtk-doc +introspection" RDEPEND=" diff --git a/media-libs/ladspa-sdk/Manifest b/media-libs/ladspa-sdk/Manifest index fa1727024364..c2a90b6a312a 100644 --- a/media-libs/ladspa-sdk/Manifest +++ b/media-libs/ladspa-sdk/Manifest @@ -1,4 +1,5 @@ AUX ladspa-sdk-1.17-properbuild.patch 3984 BLAKE2B 12a65c1118a070a4f408cf4ec9ffaf8331fd7beb9625503a5bbcad2ab937508333e64b8ba0418fd8db0bcbfe03bf29befbbbd290ad9af2b890f5ee1ee9c20061 SHA512 05c40e4a60716a0f3a2ce98fe268179cdb37dbeac59bc85314155484bacc469691fb7db397e40ba0f078ec38be7ec9f1c4d36ebe561869491c8b7710c74e6ed1 DIST ladspa_sdk_1.17.tgz 71052 BLAKE2B cfb80e8ced314d5cc62fcb7f0b82e58f572503f2a732b2bb8a58343e8f69e417c0b0a2919bbb40629567fb331bf60a7f0c6f186db47e5b2651725b039526cdbb SHA512 37f94aa52b5a2f8709528989dea289eb01342f3bcb9e85d0f4829ddd9d90b2934a113db11100f09375a50f6612122b78156fec916f2c78a22406253d5cb394c7 EBUILD ladspa-sdk-1.17-r1.ebuild 1240 BLAKE2B 39487805ebc1fca7981e6a4c2258313c537e03585a677cfab8c445fbf7504071075f532353a88bba4424d346fff2f17b9ce3d11e73df83a50c2b50d19cdb3f9d SHA512 637a39f5d5199ad2746cca7962c94910e20072caaac58a51ed6314fa1d9c034acd23253042f7ffaf74467eac0ab34effcad17a3b4b506abbe562afea51c9dd7a +EBUILD ladspa-sdk-1.17-r2.ebuild 1312 BLAKE2B 626826c308aee56be883ee63868bc071f4c335b7018fdfffb7209939f8b028acde46a3c45666ca0a04f2070f539f6957b277b4f03f0d0b0395fb980f0f5eb2b9 SHA512 462832cf575113812bfd3be72d70543f285af7f5253e3732a1363fc005297345f44720929b706591e21387a861525f7b2fbe1751d2961c77c1dcbd7e72af1b35 MISC metadata.xml 256 BLAKE2B 211ca90d8f704be5ca8a1994f0e8f1adbe1fd4937a10a301ced0b9be171dfdabb223661d168535cd7f5edfe0c8edca4620945e13dc3c43b5832ac183913188f0 SHA512 fde3b658512fa6742886d7dd84efc906331b43f5b0f8fdca353fe2280653381716d7143473c9237b9fe58b9df5889b38b008da34f6ce4b64336f38642d78e3dd diff --git a/media-libs/ladspa-sdk/ladspa-sdk-1.17-r2.ebuild b/media-libs/ladspa-sdk/ladspa-sdk-1.17-r2.ebuild new file mode 100644 index 000000000000..d7af263402c3 --- /dev/null +++ b/media-libs/ladspa-sdk/ladspa-sdk-1.17-r2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs portability multilib-minimal + +MY_PN=${PN/-/_} +MY_P=${MY_PN}_${PV} + +DESCRIPTION="The Linux Audio Developer's Simple Plugin API" +HOMEPAGE="https://www.ladspa.org/" +SRC_URI="https://www.ladspa.org/download/${MY_P}.tgz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND="media-libs/libsndfile[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${P}-properbuild.patch" +) + +HTML_DOCS="doc/*.html" + +src_prepare() { + default + + multilib_copy_sources +} + +multilib_src_configure() { + # bug #911262 + append-lfs-flags +} + +multilib_src_compile() { + emake -C src CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ + DYNAMIC_LD_LIBS="$(dlopen_lib)" \ + CC="$(tc-getCC)" CXX="$(tc-getCXX)" \ + targets +} + +multilib_src_test() { + emake -C src test +} + +multilib_src_install() { + emake -C src INSTALL_PLUGINS_DIR="/usr/$(get_libdir)/ladspa" \ + DESTDIR="${ED}" \ + MKDIR_P="mkdir -p" \ + install +} + +multilib_src_install_all() { + einstalldocs + + # Needed for apps like rezound + dodir /etc/env.d + echo "LADSPA_PATH=${EPREFIX}/usr/$(get_libdir)/ladspa" > "${ED}/etc/env.d/60ladspa" +} diff --git a/media-libs/libmediaart/Manifest b/media-libs/libmediaart/Manifest index 7811eef83ab2..c86e2a0572f7 100644 --- a/media-libs/libmediaart/Manifest +++ b/media-libs/libmediaart/Manifest @@ -1,3 +1,3 @@ DIST libmediaart-1.9.6.tar.xz 5551220 BLAKE2B 15f17592075461d6199c9a4e0de1a99493b88147410c25e360e71dcb3e9f2d5e733977cf66c8bf900c654e4e9930d551d30832f2d64dcb8b2b5306b6ce085f80 SHA512 93af1a06aa7b12d8fc7573201f51abc41838bd9405bc8cf56d4fcfb5cfa9f7427d8d8ddc2ee36501e938bc8e123d91f590cff2cdb4689e1e6ed2358f7264e887 -EBUILD libmediaart-1.9.6-r1.ebuild 1153 BLAKE2B bda5e93d2cc18784901d763f2bc3f42e31cb86cf09dd50f51ba4cab6f94bf1d4ee3869cc2f44c692741dc2b0322c2d487c589cae8d39c2572a09b65537ddd6f8 SHA512 634db0adcef1ad056dc78f7b42e4127d5be4227d119fb05cf9fe554368c402607925fe8030578234218bd3f89e309bf2807430b5dd4bb2066ddc6a7cfecd53be +EBUILD libmediaart-1.9.6-r1.ebuild 1160 BLAKE2B d6380c693c514027c9b22e4fa31e47c2b0041bdc1d09061ad3ff770812c260835ea5bfac017ff55060b7759ffb45ba5e7f24bb64b18326b3a07e26ad145064c9 SHA512 4281f70232c4924de0df77d1052b28317578045a74b6bb2168082dd87511e4c107df51929d897755dd84cbdb1c5f7d66bf0e8b751ef15edb36acb50bad311331 MISC metadata.xml 352 BLAKE2B 1f96cdaa9b25cfcf90e3ad2633f9b65000d44f55eb35cd8fd58d7dc0059abd69da9897d48d97fdbc2f52c182f7c2d0655cfd5c6e235205e373f54541d1ae8aa6 SHA512 c9c4a96be0eb18cd1e76c4a5161577295851734116bee06b624e937bf3c04871ae032ddf816c4082061d0f2d77ee6598f028a886e8cc83686e9f13471c6c9e1d diff --git a/media-libs/libmediaart/libmediaart-1.9.6-r1.ebuild b/media-libs/libmediaart/libmediaart-1.9.6-r1.ebuild index 4dce060e2ecc..cca8a3d1145c 100644 --- a/media-libs/libmediaart/libmediaart-1.9.6-r1.ebuild +++ b/media-libs/libmediaart/libmediaart-1.9.6-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,7 +10,7 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/libmediaart" LICENSE="LGPL-2.1+" SLOT="2.0" -KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc x86" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc x86" IUSE="gtk gtk-doc +introspection qt5 test vala" RESTRICT="!test? ( test )" REQUIRED_USE=" diff --git a/media-libs/openh264/Manifest b/media-libs/openh264/Manifest index f2e5c3635a76..ebdef7f152b5 100644 --- a/media-libs/openh264/Manifest +++ b/media-libs/openh264/Manifest @@ -3,4 +3,5 @@ AUX openh264-2.3.1-pr3630.patch 5566 BLAKE2B 06e6ff75ccbcb287413752283d3b192ccd9 DIST gmp-api-Firefox39-3a01c086d1b0394238ff1b5ad22e76022830625a.tar.gz 10464 BLAKE2B db6990a55b4128c267ee5ffa4e38edd2551c862e549776b4092d5683818001366665830c6304642cdd9c2c0afe06035edebafde769693082ae7a5236cdc463e8 SHA512 a6383834391d98754177b54df31d006144b5cad952df60115fd12fb6f0c87e571a10f9ce7276b817e4137efd97ffa7bca5092e289b0eb7cde2a3ad923319e874 DIST openh264-2.3.1.tar.gz 60290897 BLAKE2B b4480150cfe7c44b89c7b294698db06f93d96f5f9f3ef4345108c4e360e99bc6133407cead54e720e6e74aa17ab9f2e4342287a42f19463a54eb44c9d3141c80 SHA512 fd59c767794cdfb934d692d5929e4500d78606cbf1e403bc7c7dce048cc07e40daa0794357adb856d29479427a53460c76338e156b6bbeaa36139afcd603c8e1 EBUILD openh264-2.3.1-r1.ebuild 3925 BLAKE2B 3d0b73c310f1582ec7f010fd9104c44d3f4581ea8b806e2fe16d495ec29517f997e1f85b981bf0db3015bd939b3c57c34e8de97864b0faaa1ca40f4657fbc215 SHA512 118d32d0d888bdf614dbfd2ee42e27e2ec196653bcc4ef79c8bf673e87f8ce08c657a326b41f940ffc9b8e923380520ae84bf656706fe4e48ee13a26071a3d03 +EBUILD openh264-2.3.1-r2.ebuild 3952 BLAKE2B a23325be69269489c8fb404b098d9ba32addde9cc1e740dd0b6cc805dc66c19d9dec110d8eaac0d850cf0f29acb487cb188d358494db0979048317108ee10550 SHA512 a2487b8f55445d73e8ff2b78314178a66f7b897017c05db3992c6aa7e76a5967c281a27c33c1a3f6f111aa95c7c69f4c39ec2dea24ddff4917e7f5d4d38df705 MISC metadata.xml 569 BLAKE2B 14a021fba978f0156bab46178d05a6b9f8f67fdeba784d587759207fe60ea1d74a383eec3fc40662c39d33fcecb71d8cafe7eb6354383c253e0a3f7f1e94feae SHA512 ceb77117c6a50f16640b329368c86db26127b8e501475dbaca4c53ba41315b0fc7161f6d9268cb86d1f6dbf2cf867e2bb0e6b5f45240ab3227b99b734c344efd diff --git a/media-libs/openh264/openh264-2.3.1-r2.ebuild b/media-libs/openh264/openh264-2.3.1-r2.ebuild new file mode 100644 index 000000000000..6f169205a2b2 --- /dev/null +++ b/media-libs/openh264/openh264-2.3.1-r2.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs multilib-minimal + +MOZVER=39 +MY_GMP_COMMIT="3a01c086d1b0394238ff1b5ad22e76022830625a" + +DESCRIPTION="Cisco OpenH264 library and Gecko Media Plugin for Mozilla packages" +HOMEPAGE="https://www.openh264.org/ https://github.com/cisco/openh264" +SRC_URI="https://github.com/cisco/openh264/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/mozilla/gmp-api/archive/${MY_GMP_COMMIT}.tar.gz -> gmp-api-Firefox${MOZVER}-${MY_GMP_COMMIT}.tar.gz" +LICENSE="BSD" + +# openh264 soname version. +# (2.2.0 needed a minor bump due to undocumented but breaking ABI changes, just to be sure. +# https://github.com/cisco/openh264/issues/3459 ) +SLOT="0/7" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="cpu_flags_arm_neon cpu_flags_x86_avx2 +plugin test utils" + +RESTRICT="bindist !test? ( test )" + +BDEPEND=" + abi_x86_32? ( dev-lang/nasm ) + abi_x86_64? ( dev-lang/nasm ) + test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] )" + +DOCS=( LICENSE CONTRIBUTORS README.md ) + +PATCHES=( + "${FILESDIR}"/openh264-2.3.0-pkgconfig-pathfix.patch + "${FILESDIR}"/${PN}-2.3.1-pr3630.patch +) + +src_prepare() { + default + + ln -svf "/dev/null" "build/gtest-targets.mk" || die + sed -i -e 's/$(LIBPREFIX)gtest.$(LIBSUFFIX)//g' Makefile || die + + sed -i -e 's/ | generate-version//g' Makefile || die + sed -e 's|$FULL_VERSION|""|g' codec/common/inc/version_gen.h.template > \ + codec/common/inc/version_gen.h + + multilib_copy_sources +} + +multilib_src_configure() { + ln -s "${WORKDIR}"/gmp-api-${MY_GMP_COMMIT} gmp-api || die +} + +emakecmd() { + CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" AR="$(tc-getAR)" \ + emake V=Yes CFLAGS_M32="" CFLAGS_M64="" CFLAGS_OPT="" \ + PREFIX="${EPREFIX}/usr" \ + LIBDIR_NAME="$(get_libdir)" \ + SHAREDLIB_DIR="${EPREFIX}/usr/$(get_libdir)" \ + INCLUDES_DIR="${EPREFIX}/usr/include/${PN}" \ + HAVE_AVX2=$(usex cpu_flags_x86_avx2 Yes No) \ + HAVE_GTEST=$(usex test Yes No) \ + ARCH="$(tc-arch)" \ + ENABLEPIC="Yes" \ + $@ +} + +multilib_src_compile() { + local myopts="ENABLE64BIT=No" + case "${ABI}" in + s390x|alpha|*64) myopts="ENABLE64BIT=Yes";; + esac + + if use arm; then + myopts+=" USE_ASM=$(usex cpu_flags_arm_neon Yes No)" + fi + + emakecmd ${myopts} + use plugin && emakecmd ${myopts} plugin +} + +multilib_src_test() { + emakecmd test +} + +multilib_src_install() { + emakecmd DESTDIR="${D}" install-shared + + if use utils; then + newbin h264enc openh264enc + newbin h264dec openh264dec + fi + + if use plugin; then + local plugpath="${ROOT}/usr/$(get_libdir)/nsbrowser/plugins/gmp-gmp${PN}/system-installed" + insinto "${plugpath}" + doins libgmpopenh264.so* gmpopenh264.info + echo "MOZ_GMP_PATH=\"${plugpath}\"" >"${T}"/98-moz-gmp-${PN} + doenvd "${T}"/98-moz-gmp-${PN} + + cat <<PREFEOF >"${T}"/${P}.js +pref("media.gmp-gmp${PN}.autoupdate", false); +pref("media.gmp-gmp${PN}.version", "system-installed"); +PREFEOF + + insinto /usr/$(get_libdir)/firefox/defaults/pref + newins "${T}"/${P}.js ${PN}-${PV/_p*/}.js + + insinto /usr/$(get_libdir)/seamonkey/defaults/pref + newins "${T}"/${P}.js ${PN}-${PV/_p*/}.js + fi +} + +pkg_postinst() { + if use plugin; then + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "Please restart your login session, in order for the session's environment" + elog "to include the new MOZ_GMP_PATH variable." + elog "" + fi + elog "This package attempts to override the Mozilla GMPInstaller auto-update process," + elog "however even if it is not successful in doing so the profile-installed plugin" + elog "will not be used unless this package is removed. This package will take precedence" + elog "over any gmp-gmpopenh264 that may be installed in a user's profile." + elog "" + fi + + if use utils; then + elog "Utilities h264enc and h264dec are installed as openh264enc and openh264dec" + elog "to avoid file collisions with media-video/h264enc" + elog "" + fi +} diff --git a/media-libs/sdl2-pango/Manifest b/media-libs/sdl2-pango/Manifest index f0341dcd000c..899ce55140c3 100644 --- a/media-libs/sdl2-pango/Manifest +++ b/media-libs/sdl2-pango/Manifest @@ -1,3 +1,3 @@ DIST sdl2-pango-2.1.5.tar.gz 643659 BLAKE2B 6ab082e4a7a8df20c2533c8513b0c222a75bc53e4565714322fedd5594276b441df55f7c5a933c326fa029e533723e36b8e4bd065a4013bf7337d1e93b9dbc61 SHA512 381fce666949211f2c25b73e8ccc97e2b96aab725dc5f74135c7e62ffb6fb93053b0323c79f1c32ceab03a4ef335cf407979d82f1ab0778610e7dcbfc42b6e9c -EBUILD sdl2-pango-2.1.5.ebuild 722 BLAKE2B a05f9bedce0195261d0b019262d4f39676e291c6299aec6df63168b79e388c315def6a9497a69c18308cd4d20357a7d3a8882a050f0f596bf4dfb70a8fa5ab98 SHA512 6e7b39d0e13d62b130e890390165b619c487a58e329722c0d061dea5810365e422f82f12c53ddddc02a89fe67c833506269f99500eb588f0a93f35ed73c70c82 +EBUILD sdl2-pango-2.1.5.ebuild 727 BLAKE2B e8b7c8d64d8cb73fd22f8d2e0ce189a4b7a57a2ec605351d7e71ce6b691287feb6dd5c2227db86451ac63f125a8d3a862c797e25afb2acbce18fa7abd9d8cd6a SHA512 baf43aedebaa8b700f9706bdb2ed1b5478c11dbba36031f43b55b71d45f331c3f5362839bc22f2dcd216720ae00af79512baa72273b9b730c0e1547a49968be0 MISC metadata.xml 1011 BLAKE2B 59a8e37b2e709d6c610f0d4b4ac83efe6a5aef54c019186d7468d447f5189eb8f3c3571b1656120225de2e14b828379007761a92fe8fa7e178d2d7f5b4a37483 SHA512 60f59b30ebc912f70c5310b4a0c4afe65096c1b7cf25fe11b77155d848442604d02b0d64318424b9acc1496533aeb1bb41612d3a8c88b27292874415bc003302 diff --git a/media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild b/media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild index 5f493ccc3765..23eede70024c 100644 --- a/media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild +++ b/media-libs/sdl2-pango/sdl2-pango-2.1.5.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/markuskimius/SDL2_Pango/archive/v${PV}.tar.gz -> ${P LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~x86" RDEPEND="dev-libs/glib:2 media-libs/freetype |