diff --git a/app-text/lizard/Manifest b/app-text/lizard/Manifest index 006d572a75..2b35df84eb 100644 --- a/app-text/lizard/Manifest +++ b/app-text/lizard/Manifest @@ -1,2 +1,3 @@ DIST lizard-1.17.13.tar.gz 1233745 BLAKE2B e41e7bb461f64459f9327fa5719e57cc713dcebb89dfb6b01e27f38a9c6014bbe77b1a50cab094a8b68b630385ca9ff3c35b1a9a65545e9c23942f038b560d33 SHA512 2a81c7033bdda8a4698ae010a5a2c5394a5290008dbc80812063ade1088ac616debb7dd24b4498712979845ed6dee91b728b6ace8c7451f0716707d2caa48c18 DIST lizard-1.17.14.tar.gz 1238085 BLAKE2B 5261ff0ae39c7d5640ba6aa7074fa8b6315f3650b916c9ca4eb5e5da5cd7e1acba201a949095b6ed049e221af4ac610eb632427c7e39732b8ab0eb0b8737a44b SHA512 db508eb1b0593f4662dd38669939f895f97e385212f0c69547263a6e840ba6bd43c261df15408d7fde15c9b24b139e61a1a53821206144e0ab4dc8bfcb238133 +DIST lizard-1.17.17.tar.gz 1246156 BLAKE2B 68967687b849557da680f05ad62047870bd79b80e52169c2a128732bbb563d9015285528d1b95df2e24a26789d6badfe90c63fbaf4f56bb80292698bf734dce7 SHA512 343b8e515ae24fbfdfc3875e471458fb46694164785c951d87182b7199c63fba637303564f2b119b6d82eaea6ae98f4a0f30e34bef370a7ce85ceeeb30594730 diff --git a/app-text/lizard/lizard-1.17.17.ebuild b/app-text/lizard/lizard-1.17.17.ebuild new file mode 100644 index 0000000000..18a4ff1b58 --- /dev/null +++ b/app-text/lizard/lizard-1.17.17.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11,12} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="A simple code complexity analyser, supports most of the popular languages." +HOMEPAGE="http://www.lizard.ws/" +SRC_URI="https://github.com/terryyin/lizard/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-python/pygments[${PYTHON_USEDEP}] + test? ( + dev-python/jinja2[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest diff --git a/dev-python/dateparser/Manifest b/dev-python/dateparser/Manifest index 44c8fffea2..1f05fece6f 100644 --- a/dev-python/dateparser/Manifest +++ b/dev-python/dateparser/Manifest @@ -1 +1 @@ -DIST dateparser-1.2.0.tar.gz 307260 BLAKE2B b4611dfc4fccaf5f129e4d9aa3debe4a6d4242a44896305b909e6c34728ba153be92659b2f0c3a5da028d3863789d9c3a4236676087346b5f3f4aeb1f57b7a1e SHA512 74d5975f515dee096d83d10b72e5dc66ab197d50f24c129560ffb87eef4abd1422d8236555496d1ab1c0bfb832729e9c0d3ea2ca2c9c49da19963f0f2c1c1eb4 +DIST dateparser-1.2.1.tar.gz 309924 BLAKE2B 09b7cf4148edea37bb80d1734b2f5a3ddac7965e6d46bc1775f2f0807d3421c80bd3927dd62135a80adc99451a85a2961b61335784d191cfdd1fdc51b3d81298 SHA512 85e1c5cabb8acebd63ec60c0913ac89b362b64edfbe5af06bcd5968ed7be6383d4035ec9f45afadc0d10fc95a3f538702285d75365c4f8e4522ac9643f4ed4da diff --git a/dev-python/dateparser/dateparser-1.2.0.ebuild b/dev-python/dateparser/dateparser-1.2.1.ebuild similarity index 69% rename from dev-python/dateparser/dateparser-1.2.0.ebuild rename to dev-python/dateparser/dateparser-1.2.1.ebuild index 8697814c4f..7866770eaa 100644 --- a/dev-python/dateparser/dateparser-1.2.0.ebuild +++ b/dev-python/dateparser/dateparser-1.2.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -31,23 +31,29 @@ BDEPEND="test? ( dev-python/parameterized[${PYTHON_USEDEP}] )" -PATCHES=( "${FILESDIR}/${P}-migrate-hijridate.patch" ) - -EPYTEST_IGNORE=( - # tests that require network - tests/test_dateparser_data_integrity.py -) - -EPYTEST_DESELECT=( - # tests that require network - tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1} -) - distutils_enable_tests pytest distutils_enable_sphinx docs \ dev-python/sphinx-rtd-theme +python_test() { + # Need to set TZ when testing with gentoo docker images. + # Their /etc/{timezone,localtime} are inconsistent, which causes + # to tests to fail. + local -x TZ=UTC + + local EPYTEST_IGNORE=( + # tests that require network + tests/test_dateparser_data_integrity.py + ) + local EPYTEST_DESELECT=( + # tests that require network + tests/test_language_detect.py::CustomLangDetectParserTest::test_custom_language_detect_fast_text_{0,1} + ) + + epytest +} + pkg_postinst() { optfeature "calendars support" "dev-python/hijridate dev-python/convertdate" optfeature "fasttext support" "dev-libs/fastText[python]" diff --git a/dev-python/dateparser/files/dateparser-1.2.0-migrate-hijridate.patch b/dev-python/dateparser/files/dateparser-1.2.0-migrate-hijridate.patch deleted file mode 100644 index 3d488ca53b..0000000000 --- a/dev-python/dateparser/files/dateparser-1.2.0-migrate-hijridate.patch +++ /dev/null @@ -1,71 +0,0 @@ -https://github.com/scrapinghub/dateparser/pull/1211 -From: pastalian -Date: Thu, 25 Jan 2024 21:14:28 +0900 -Subject: [PATCH] Migrate from hijri-converter to hijridate - ---- a/dateparser/calendars/hijri_parser.py -+++ b/dateparser/calendars/hijri_parser.py -@@ -1,4 +1,4 @@ --from hijri_converter import convert -+from hijridate import Gregorian, Hijri - - from dateparser.calendars import non_gregorian_parser - -@@ -6,19 +6,17 @@ - class hijri: - @classmethod - def to_gregorian(cls, year=None, month=None, day=None): -- g = convert.Hijri( -- year=year, month=month, day=day, validate=False -- ).to_gregorian() -+ g = Hijri(year=year, month=month, day=day, validate=False).to_gregorian() - return g.datetuple() - - @classmethod - def from_gregorian(cls, year=None, month=None, day=None): -- h = convert.Gregorian(year, month, day).to_hijri() -+ h = Gregorian(year, month, day).to_hijri() - return h.datetuple() - - @classmethod - def month_length(cls, year, month): -- h = convert.Hijri(year=year, month=month, day=1) -+ h = Hijri(year=year, month=month, day=1) - return h.month_length() - - ---- a/docs/introduction.rst -+++ b/docs/introduction.rst -@@ -223,13 +223,13 @@ Dependencies - - * dateutil_'s module ``relativedelta`` for its freshness parser. - * convertdate_ to convert *Jalali* dates to *Gregorian*. -- * hijri-converter_ to convert *Hijri* dates to *Gregorian*. -+ * hijridate_ to convert *Hijri* dates to *Gregorian*. - * tzlocal_ to reliably get local timezone. - * ruamel.yaml_ (optional) for operations on language files. - - .. _dateutil: https://pypi.python.org/pypi/python-dateutil - .. _convertdate: https://pypi.python.org/pypi/convertdate --.. _hijri-converter: https://pypi.python.org/pypi/hijri-converter -+.. _hijridate: https://pypi.python.org/pypi/hijridate - .. _tzlocal: https://pypi.python.org/pypi/tzlocal - .. _ruamel.yaml: https://pypi.python.org/pypi/ruamel.yaml - -@@ -261,4 +261,4 @@ To be able to use them you need to install the `calendar` extra by typing: - >>> HijriCalendar('17-01-1437 هـ 08:30 مساءً').get_date() - DateData(date_obj=datetime.datetime(2015, 10, 30, 20, 30), period='day', locale=None) - --.. note:: `HijriCalendar` only works with Python ≥ 3.6. -+.. note:: `HijriCalendar` only works with Python ≥ 3.7. ---- a/setup.py -+++ b/setup.py -@@ -41,7 +41,7 @@ - "console_scripts": ["dateparser-download = dateparser_cli.cli:entrance"], - }, - extras_require={ -- "calendars": ["hijri-converter", "convertdate"], -+ "calendars": ["hijridate", "convertdate"], - "fasttext": ["fasttext"], - "langdetect": ["langdetect"], - }, diff --git a/gui-apps/nwg-drawer/Manifest b/gui-apps/nwg-drawer/Manifest index 34650d5174..a073e9c3e7 100644 --- a/gui-apps/nwg-drawer/Manifest +++ b/gui-apps/nwg-drawer/Manifest @@ -52,5 +52,5 @@ DIST gopkg.in%2Fcheck.v1%2F@v%2Fv0.0.0-20161208181325-20d25e280405.mod 25 BLAKE2 DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.0-20200313102051-9f266ea9e77c.mod 95 BLAKE2B fbb87f0644ec9da5d4386358d23cdb15b0d23e8212e712f16f338455a3a0ad19fbfd63e92c955c359237ddfa8bb76d6d08280eead24d321668431891eca1e8ab SHA512 307ca9123efc577ca04828996ee9d8edbb51794ccb4b8d9f169ba689e7276aa5f6ae106a04b22b7fab853ffacfebcbf74468b64eaefd57445864c1fbc77fad9d DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.1.mod 95 BLAKE2B fbb87f0644ec9da5d4386358d23cdb15b0d23e8212e712f16f338455a3a0ad19fbfd63e92c955c359237ddfa8bb76d6d08280eead24d321668431891eca1e8ab SHA512 307ca9123efc577ca04828996ee9d8edbb51794ccb4b8d9f169ba689e7276aa5f6ae106a04b22b7fab853ffacfebcbf74468b64eaefd57445864c1fbc77fad9d DIST gopkg.in%2Fyaml.v3%2F@v%2Fv3.0.1.zip 104623 BLAKE2B 51d69616c21728779614f4455d23d2302a8f986b44344257b4bc2b5db011c7266432ee93d31d43344231b52527d1027eba3ef37a3365f9afe69f3ecc8613bccb SHA512 d57b0d42c71ad6503415e42979b51b0dc7f6344072c728ab2e3d4bab88da7b7d775e7f261868909f990f6b44aed6c533966c97bbe333a0acd65fc8bac9d1d4ff -DIST nwg-drawer-0.6.0.tar.gz 54227 BLAKE2B 0c938eaa3e768c1dc4362f657875131514709ea4160911d65041a695118975410ee7b315776a83d71178975c0d6b9e2fc70d5b797f01ad8e786232630316ba56 SHA512 395c28c21af85cd789d919a1300ea41cd8b92f6ac47678aadb3356f5886766f4b4b7e4eae98dd39dc17ff1bb611b1a07d1a9657b51c43c84a11497af9791524e DIST nwg-drawer-0.6.2.tar.gz 54826 BLAKE2B fd77ea8e642367ac76ecf90c0c2367e158317b3ff8e1d1d1b3fa05768a1d94eb91f886d9c4c4a12a646a7dd9e3ed4ed6e9e60fca0e18661c6a837459af4e5ed7 SHA512 179d27e2830d091793b21b5dcba451e7118909cf2131638760079376a5a2202c6a32bb623d5ec91a32d0f6d11f45c2dc7b8d68b399c1e457bc86f7e82899823a +DIST nwg-drawer-0.6.3.tar.gz 54818 BLAKE2B 693eada3bc49ef8d3c07ae746a9c158c78823702e201c1cc27abcae267f486b52744b96a1dc92b6f95eaa4b4b13d21bcc79cb569d7914eb66c22eb14d8b16db8 SHA512 6bc52f7139c9fcecbb975d5c820bdcb0a2292f13532b74c6fa5b6edb81c8eba0419f5e31e74e5706a75ee67c3ec658ad9a6a8952052a80dbb398d568cd85c6c9 diff --git a/gui-apps/nwg-drawer/nwg-drawer-0.6.0.ebuild b/gui-apps/nwg-drawer/nwg-drawer-0.6.3.ebuild similarity index 92% rename from gui-apps/nwg-drawer/nwg-drawer-0.6.0.ebuild rename to gui-apps/nwg-drawer/nwg-drawer-0.6.3.ebuild index 005196d2ae..26ff141229 100644 --- a/gui-apps/nwg-drawer/nwg-drawer-0.6.0.ebuild +++ b/gui-apps/nwg-drawer/nwg-drawer-0.6.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -47,11 +47,15 @@ EGO_SUM=( "golang.org/x/sync v0.8.0/go.mod" "golang.org/x/sync v0.9.0" "golang.org/x/sync v0.9.0/go.mod" + "golang.org/x/sync v0.10.0" + "golang.org/x/sync v0.10.0/go.mod" "golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod" "golang.org/x/sys v0.26.0" "golang.org/x/sys v0.26.0/go.mod" "golang.org/x/sys v0.27.0" "golang.org/x/sys v0.27.0/go.mod" + "golang.org/x/sys v0.29.0" + "golang.org/x/sys v0.29.0/go.mod" "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" "gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod" "gopkg.in/yaml.v3 v3.0.1" @@ -61,7 +65,7 @@ go-module_set_globals DESCRIPTION="Application drawer for wlroots-based Wayland compositors" HOMEPAGE="https://github.com/nwg-piotr/nwg-drawer" -SRC_URI="https://github.com/nwg-piotr/nwg-drawer/archive/${PV}.tar.gz -> ${P}.tar.gz +SRC_URI="https://github.com/nwg-piotr/nwg-drawer/archive/v${PV}.tar.gz -> ${P}.tar.gz ${EGO_SUM_SRC_URI}" LICENSE="MIT" diff --git a/gui-apps/nwg-shell-config/Manifest b/gui-apps/nwg-shell-config/Manifest index 8a9fe4780a..fc76f32843 100644 --- a/gui-apps/nwg-shell-config/Manifest +++ b/gui-apps/nwg-shell-config/Manifest @@ -1,2 +1,2 @@ -DIST nwg-shell-config-0.5.54.tar.gz 130862 BLAKE2B c6e860533b88d47e4006c9faf9052360735791e8d8efce16c6f92ba8e49976b116f1c09f9f178dc05e80c3db1b7c5b30260e819c5d8407e55a598958487ded28 SHA512 09856f061bb24b45cc367883dbc290fa0b251f4517c533c59e1f36f62280c210d907d571ee7b90426af36dbdfcaeb5f94a7fabecd71402dcb2588931011dbe4b DIST nwg-shell-config-0.5.55.tar.gz 130883 BLAKE2B 868043bc05e65d7221c17d51a0b2b40208f8f57f58663b5a19f20bbd2cbb89ae89218eca497cc94158c5330e1af8d8409eeaf9eb538fc96ef54709bf9d02a8b1 SHA512 32aa391648f3e18162c1040ecf914093a720f256536abe8bce3844c7affcc8b3c52a4eb944d2245ab5aaa0283038321858c047d35d15ba168df6b9430d47da1c +DIST nwg-shell-config-0.5.56.tar.gz 131034 BLAKE2B 3e969b51ba76fb1f49e43d0f200b65e87cde362c7c959feb7371e6b34c380ab51ffce25ce533b4f4cba1db1fb20d0201b6941bfe4e8fbfc6d614666ba399d188 SHA512 d4d5b15a41fbdca95d21392b5c63a912ae61e72eebc11ce0d08767723be8fd773287b5bc89f67770fbd64a8fa09aba211db3415600055571341c28dfc0f2690c diff --git a/gui-apps/nwg-shell-config/nwg-shell-config-0.5.54.ebuild b/gui-apps/nwg-shell-config/nwg-shell-config-0.5.56.ebuild similarity index 96% rename from gui-apps/nwg-shell-config/nwg-shell-config-0.5.54.ebuild rename to gui-apps/nwg-shell-config/nwg-shell-config-0.5.56.ebuild index 18bb5419f7..24a350e4d5 100644 --- a/gui-apps/nwg-shell-config/nwg-shell-config-0.5.54.ebuild +++ b/gui-apps/nwg-shell-config/nwg-shell-config-0.5.56.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest index 89ec4c86a8..6db6245628 100644 --- a/net-misc/megasync/Manifest +++ b/net-misc/megasync/Manifest @@ -1,4 +1,2 @@ -DIST megasync-5.7.0.0.tar.gz 23204780 BLAKE2B 5d17808e366e2d3f538168d0580b2a68d077e95d45346f377eb5172d10d06db948fa021e3d1dc39b0d4967cba5b540a843028a571457adea53adcf9770e4e190 SHA512 b7db94bd372d9fd94fa987dc8a370129f23bcb2ff885862544e1a154de71af12459e8af7cbc25fecde5f3c074c81eac079d53dcdcef90e3f0ae8638bced7c868 -DIST megasync-5.7.1.0.tar.gz 23206352 BLAKE2B 9a15e169657461df07a801ec2ace7370213c2ca17bd67bbad0003ed3cfdf0fbf12ac2535e07324a4ca3d6a44d3a8bab1ca1f98b707cdf9288fab14145770c2d8 SHA512 99e5c9dd412d8adc5232ace6385f1377cf7fd8f166164a0bb54981412a3a1f06c30269679ea92fd932ceb7393764e7265bb61aa49e4bc952f0e3cc300a404fb0 -DIST megasync-sdk-5.7.0.0.tar.gz 4042090 BLAKE2B 326688d633dfd08a160a799a426d29c84515d5971a7b6644ee7624b9ffd092e21f2f0e3f31a55bdfb766623bea60a9867c3c412a4ccd08b629391abdd0056dba SHA512 9c0562f072c00d42b9e53e66f123990dac76ec0dccef6b32985468da75d79105e9e6ed2aad084f8110bc1d89efed21488bf71303872bbd876cd5260fac7caf7e -DIST megasync-sdk-5.7.1.0.tar.gz 4042434 BLAKE2B bb0ba4e0e44f335ca9089ee7521bd856f6bb3485abdd7c5bf905c2581fd409099e784bdeb90c4fcbe82048231376118ebd791f9b8a5846dabc3ad37a346021e3 SHA512 9dce611c1f1e1edfa20684f88d5206a2c3810acedb42d2cb92c5d287c0feda6dfee5a450e222d6f59b97081f76a2cb56aa62859b32929101f7f61056973a3c95 +DIST megasync-5.8.0.2.tar.gz 23480049 BLAKE2B e1324a5cafb8056d5f2feac1de789afce35e86638c9985fd2f785c174d7594478f4861f120a0655cece5a84a45826863d3758b2d4e1cc5e4454550281a73dfb7 SHA512 0a6c6a1feb5908fce1969410ece944d9d663dae1ed37a22b69830d7c1825861f7b9d59d3c18802202306cf7e898b500d7b2fbc481263be5f2363b3cf2d63818e +DIST megasync-sdk-5.8.0.2.tar.gz 4064275 BLAKE2B 831823ba513202a972f90ba183958fe8db4012514239b908da4ce49558b194f31ba01e0ffe378fe8ce3ba8e857daa2347a4d4ae1fd0793dc8f4b1f769a49108a SHA512 92a0b5a30b3839f657531dad6298d88c5e08204be28a23086ab3dd5a3f3b3ff83cd42a72df38a803afcddce855a1d2ecaeee82e7d5becae9510f25fc88e9c536 diff --git a/net-misc/megasync/files/megasync-5.3.0.0-fix-install-dir.patch b/net-misc/megasync/files/megasync-5.3.0.0-fix-install-dir.patch deleted file mode 100644 index a5f86e3e78..0000000000 --- a/net-misc/megasync/files/megasync-5.3.0.0-fix-install-dir.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/contrib/cmake/modules/desktopapp_configuration.cmake -+++ b/contrib/cmake/modules/desktopapp_configuration.cmake -@@ -29,8 +29,6 @@ if(UNIX AND NOT APPLE) - # Note: using cmake --install --prefix /some/prefix will keep the RPATH as configured above. - # Used for building packages: in which install dir is a path construction folder that will not be there in packages - -- set(CMAKE_INSTALL_LIBDIR "opt/megasync/lib") # override default "lib" from GNUInstallDirs -- set(CMAKE_INSTALL_BINDIR "usr/bin") # override default "bin" from GNUInstallDirs - - # Override CMAKE_INSTALL_PREFIX - if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) # In consecutive runs it will always be undef/false ---- a/src/MEGASync/CMakeLists.txt -+++ b/src/MEGASync/CMakeLists.txt -@@ -142,13 +142,6 @@ if (UNIX AND NOT APPLE) - - set(vcpkg_lib_folder "${VCPKG_INSTALLED_DIR}/${VCPKG_TARGET_TRIPLET}/$<$:debug/>lib/") - -- install(DIRECTORY "${vcpkg_lib_folder}" -- TYPE LIB # In CMAKE_INSTALL_LIBDIR directory -- FILES_MATCHING -- PATTERN "*.so*" -- PATTERN "manual-link" EXCLUDE -- PATTERN "pkgconfig" EXCLUDE -- ) - - if(DEPLOY_QT_LIBRARIES) - include(desktopapp_deploy_qt) diff --git a/net-misc/megasync/files/megasync-5.3.0.0-link-zlib.patch b/net-misc/megasync/files/megasync-5.3.0.0-link-zlib.patch deleted file mode 100644 index 49db675fdf..0000000000 --- a/net-misc/megasync/files/megasync-5.3.0.0-link-zlib.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/src/MEGASync/control/control.cmake -+++ b/src/MEGASync/control/control.cmake -@@ -71,6 +71,9 @@ set(DESKTOP_APP_CONTROL_SOURCES - control/StatsEventHandler.cpp - ) - -+find_package(ZLIB REQUIRED) -+target_link_libraries(MEGAsync PRIVATE ZLIB::ZLIB) -+ - target_sources(MEGAsync - PRIVATE - ${DESKTOP_APP_CONTROL_HEADERS} diff --git a/net-misc/megasync/files/megasync-5.3.0.0-rename-libcryptopp.patch b/net-misc/megasync/files/megasync-5.3.0.0-rename-libcryptopp.patch deleted file mode 100644 index 0688c44754..0000000000 --- a/net-misc/megasync/files/megasync-5.3.0.0-rename-libcryptopp.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/MEGASync/mega/contrib/cmake/modules/sdklib_libraries.cmake -+++ b/src/MEGASync/mega/contrib/cmake/modules/sdklib_libraries.cmake -@@ -95,7 +95,7 @@ macro(load_sdklib_libraries) - - find_package(PkgConfig REQUIRED) # For libraries loaded using pkg-config - -- pkg_check_modules(cryptopp REQUIRED IMPORTED_TARGET libcrypto++) -+ pkg_check_modules(cryptopp REQUIRED IMPORTED_TARGET libcryptopp) - target_link_libraries(SDKlib PUBLIC PkgConfig::cryptopp) # TODO: Private for SDK core - - pkg_check_modules(sodium REQUIRED IMPORTED_TARGET libsodium) diff --git a/net-misc/megasync/megasync-5.7.0.0.ebuild b/net-misc/megasync/megasync-5.7.0.0.ebuild deleted file mode 100644 index f9664b2b8b..0000000000 --- a/net-misc/megasync/megasync-5.7.0.0.ebuild +++ /dev/null @@ -1,147 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic qmake-utils xdg - -DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC" -HOMEPAGE=" - https://mega.io - https://github.com/meganz/MEGAsync -" - -MEGA_SDK_REV="81f2d1cde975859ff264c66b808cfa855f79ae82" # commit of src/MEGASync/mega submodule -MEGA_TAG_SUFFIX="Win" -SRC_URI=" - https://github.com/meganz/MEGAsync/archive/v${PV}_${MEGA_TAG_SUFFIX}.tar.gz -> ${P}.tar.gz - https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz -" -S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX} - -LICENSE="MEGA" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="mediainfo nautilus nemo thumbnail thunar" - -DEPEND=" - dev-db/sqlite:3 - dev-libs/crypto++:= - dev-libs/icu:= - dev-libs/libsodium:= - dev-libs/libuv:= - dev-libs/openssl:0= - dev-qt/qtconcurrent:5 - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtdeclarative:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtimageformats:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtx11extras:5 - net-dns/c-ares:= - net-misc/curl[ssl] - sys-libs/zlib - x11-libs/libxcb:= - mediainfo? ( - media-libs/libmediainfo - media-libs/libzen - ) - nautilus? ( - dev-libs/glib:2 - >=gnome-base/nautilus-43 - ) - nemo? ( - dev-libs/glib:2 - gnome-extra/nemo - ) - thumbnail? ( - media-libs/freeimage - media-video/ffmpeg:= - ) - thunar? ( - dev-libs/glib:2 - xfce-base/thunar:= - ) -" -RDEPEND=" - ${DEPEND} - dev-qt/qtquickcontrols:5 - dev-qt/qtquickcontrols2:5 -" -BDEPEND=" - dev-qt/linguist-tools:5 - virtual/pkgconfig -" - -PATCHES=( - "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch" - "${FILESDIR}/${PN}-5.6.0.0-remove-clang-format.patch" - "${FILESDIR}/${P}-disable-forced-options.patch" - "${FILESDIR}/${P}-fix-install-dir.patch" - "${FILESDIR}/${P}-link-zlib.patch" - "${FILESDIR}/${P}-rename-libcryptopp.patch" -) - -nemo_run() { - if use nemo; then - cd "${S}/src/MEGAShellExtNemo" || die - "$@" - fi -} - -thunar_run() { - if use thunar; then - cd "${S}/src/MEGAShellExtThunar" || die - "$@" - fi -} - -src_prepare() { - rmdir src/MEGASync/mega || die - mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die - - cmake_src_prepare -} - -src_configure() { - # https://github.com/meganz/sdk/issues/2679 - append-cppflags -DNDEBUG - - local mycmakeargs=( - # build internal libs as static - -DBUILD_SHARED_LIBS=OFF - -DCMAKE_MODULE_PATH="${S}/src/MEGASync/mega/cmake/modules/packages" - -DENABLE_DESKTOP_APP_WERROR=OFF - -DENABLE_DESKTOP_UPDATE_GEN=OFF - -DENABLE_DESIGN_TOKENS_IMPORTER=OFF - -DENABLE_ISOLATED_GFX=$(usex thumbnail) - -DENABLE_LINUX_EXT=$(usex nautilus) - -DUSE_FFMPEG=$(usex thumbnail) - -DUSE_FREEIMAGE=$(usex thumbnail) - -DUSE_MEDIAINFO=$(usex mediainfo) - -DUSE_PDFIUM=OFF - -DUSE_READLINE=OFF - ) - cmake_src_configure - - unset mycmakeargs - nemo_run eqmake5 DEFINES=no_desktop - thunar_run eqmake5 -} - -src_compile() { - cmake_src_compile - - nemo_run emake - thunar_run emake -} - -src_install() { - cmake_src_install - - nemo_run emake INSTALL_ROOT="${D}" install - thunar_run emake INSTALL_ROOT="${D}" install -} diff --git a/net-misc/megasync/megasync-5.7.1.0.ebuild b/net-misc/megasync/megasync-5.8.0.2.ebuild similarity index 97% rename from net-misc/megasync/megasync-5.7.1.0.ebuild rename to net-misc/megasync/megasync-5.8.0.2.ebuild index f9a3d09817..a501f051e1 100644 --- a/net-misc/megasync/megasync-5.7.1.0.ebuild +++ b/net-misc/megasync/megasync-5.8.0.2.ebuild @@ -11,8 +11,8 @@ HOMEPAGE=" https://github.com/meganz/MEGAsync " -MEGA_SDK_REV="d6a5d2078d1e51394dab205a48bff58d2b130d6b" # commit of src/MEGASync/mega submodule -MEGA_TAG_SUFFIX="Win" +MEGA_SDK_REV="ddaaf5e587055897f3054a52d4a6dc74d52bb732" # commit of src/MEGASync/mega submodule +MEGA_TAG_SUFFIX="Linux" SRC_URI=" https://github.com/meganz/MEGAsync/archive/v${PV}_${MEGA_TAG_SUFFIX}.tar.gz -> ${P}.tar.gz https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz diff --git a/net-p2p/yggdrasil-go/Manifest b/net-p2p/yggdrasil-go/Manifest index 6d89a20249..bff4b1c380 100644 --- a/net-p2p/yggdrasil-go/Manifest +++ b/net-p2p/yggdrasil-go/Manifest @@ -1,3 +1 @@ DIST yggdrasil-0.5.12-vendored.tar.gz 2848276 BLAKE2B cc85fffc9bed3da62f23ccedb3e8f821a53deec3d1017bd9e3a1c2a1e1bee7970919b76534807d6d1a31b2e1db5648ae1b47ed9287f0eac4341dda61dfcd6cce SHA512 01ba5af5b950e2e0c377839775a7b4fc127b3f9509214283a2b751069d0198f0686e43a565d2eed2378d24c1468747b9a80317b61da3b26cf4cedc09fc28b87b -DIST yggdrasil-go-0.5.10-vendor.tar.xz 1389288 BLAKE2B 69006e8e7440abbd84e5e5ebf9469f6dfce96474420f6975eb085771da5b2096044adcdc87726dbae301890a7a50a363057022b17b2d9881cba592d6b0a12a80 SHA512 720e22338d9b47fbcd36e0bc3a79ab6fb4d869404b52e93b40c49440ccd30b20ae66135df3715f7a9c06a491752244eaac95cd5944452e0d27caad89a9d310bf -DIST yggdrasil-go-0.5.10.tar.gz 110477 BLAKE2B 267579ec0f97dd2bce99590e006dc95ff8e2f542dcc7df06bd6854501fb2f58880b2f7af26e8747ead577ee9146c0c5b895d7cdd23ab0b68c3b0d6e874e3f39f SHA512 402704bf61414cf13248941ee0a5d38db9a86838d8dfd19d5032ab0408862f484d999d69c2cab124c1e5da4ba352dadd2958e6a4ad70a88167421cfca7a179f4 diff --git a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.10.ebuild b/net-p2p/yggdrasil-go/yggdrasil-go-0.5.10.ebuild deleted file mode 100644 index 285b8c0483..0000000000 --- a/net-p2p/yggdrasil-go/yggdrasil-go-0.5.10.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module linux-info systemd - -DESCRIPTION="An experiment in scalable routing as an encrypted IPv6 overlay network" -HOMEPAGE="https://yggdrasil-network.github.io/" - -if [[ ${PV} == 9999 ]]; then - EGIT_REPO_URI="https://github.com/yggdrasil-network/yggdrasil-go" - inherit git-r3 -else - SRC_URI=" - https://github.com/yggdrasil-network/yggdrasil-go/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://codeberg.org/BratishkaErik/distfiles/releases/download/yggdrasil-go-${PV}/yggdrasil-go-${PV}-vendor.tar.xz - " - KEYWORDS="~amd64 ~arm64" -fi - -LICENSE="LGPL-3 MIT Apache-2.0 BSD ZLIB" -SLOT="0" - -RESTRICT="mirror" - -BDEPEND=">=dev-lang/go-1.23" -DEPEND=" - acct-user/yggdrasil - acct-group/yggdrasil -" - -DOCS=( "README.md" "CHANGELOG.md" ) - -FILECAPS=( - cap_net_admin,cap_net_bind_service "usr/bin/yggdrasil" -) - -CONFIG_CHECK="~TUN" -ERROR_TUN="Your kernel lacks TUN support." - -src_unpack() { - if [[ ${PV} == 9999 ]]; then - git-r3_src_unpack - go-module_live_vendor - fi - go-module_src_unpack -} - -src_compile() { - GOFLAGS+=" -mod=vendor -trimpath" - - local src="github.com/yggdrasil-network/yggdrasil-go/src/version" - local name version - if [[ ${PV} == 9999 ]]; then - chmod +x ./contrib/semver/{name,version}.sh || die - name="$(./contrib/semver/name.sh || die)" - version="$(./contrib/semver/version.sh || die)" - else - name="yggdrasil" - version="v${PV}" - fi - local custom_name_version_flags="-X ${src}.buildName=${name} -X ${src}.buildVersion=${version}" - - local go_ldflags="-s -linkmode external -extldflags \"${LDFLAGS}\" ${custom_name_version_flags}" - - for cmd in yggdrasil{,ctl}; do - ego build ${GOFLAGS} -ldflags="${go_ldflags}" ./cmd/${cmd} - done -} - -src_install() { - dobin yggdrasil{,ctl} - einstalldocs - - systemd_dounit "contrib/systemd/yggdrasil.service" - systemd_dounit "contrib/systemd/yggdrasil-default-config.service" - doinitd "contrib/openrc/yggdrasil" -}