diff options
author | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2018-05-20 01:58:25 +0100 |
---|---|---|
committer | Samuel Bernardo <samuelbernardo.mail@gmail.com> | 2018-05-20 01:58:25 +0100 |
commit | 5238e5800749fdd352563fd2b7ab850ee32d59be (patch) | |
tree | dfaefd86cad57a6487d38f4631fd417b6458538b | |
parent | update megasync (diff) | |
download | ssnb-5238e5800749fdd352563fd2b7ab850ee32d59be.tar.gz ssnb-5238e5800749fdd352563fd2b7ab850ee32d59be.tar.bz2 ssnb-5238e5800749fdd352563fd2b7ab850ee32d59be.zip |
update megasync and add patch
-rw-r--r-- | net-misc/megasync/Manifest | 3 | ||||
-rw-r--r-- | net-misc/megasync/files/megasync-3.6.5-ffmeg.patch | 12 | ||||
-rw-r--r-- | net-misc/megasync/megasync-3.6.5.ebuild | 6 |
3 files changed, 19 insertions, 2 deletions
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest index b24a386..962d108 100644 --- a/net-misc/megasync/Manifest +++ b/net-misc/megasync/Manifest @@ -1,5 +1,6 @@ AUX MEGAsync-3.1.4.0_Linux.patch 1035 BLAKE2B f68751902e0ec9f0276f08d1d0ba4c88ce3fd7a16f75f36644b60becc0299f80d7abe0b998d0d0f18440be172ceb3637fce7ad3fde443c51fa4aa0c1a772b124 SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e AUX MEGAsync-3.5.3.0_Linux.patch 1035 BLAKE2B f68751902e0ec9f0276f08d1d0ba4c88ce3fd7a16f75f36644b60becc0299f80d7abe0b998d0d0f18440be172ceb3637fce7ad3fde443c51fa4aa0c1a772b124 SHA512 afd9b11a8dcdc3240d3c3850dfccafce64078c95ae4fa44ef0f3fbd71aabb4fa129f46bbde470d916719174a19674ba3f14cf9cde1166f7c5e09e56feb9f943e +AUX megasync-3.6.5-ffmeg.patch 566 BLAKE2B c1e8bd4b5c4c2c6fd6cc2316e7372443672ff1b25fbc3332ffc60f524396b7f784669da26506dbf683962a7f3da63809b57ec7696be8cef0d6c720fdb924999b SHA512 741df967aece39bdd3b17b105bcad390d6cf817c1e4db9bf13d460ccc972af8ff6696f72a0253f2adea76526d7346474e65df18bfd485194e7ff8a479274c655 AUX megasync-glibc2.26.patch 5958 BLAKE2B 990b5ddc9300979e9a059c285b05ef691566e2ec33ab40de76e9f5c251dc8c2f94ddc936eb13772c413c42b0d1122596f2e47805766fe6512ec09050f6b22111 SHA512 f8348b61028f34714dabe83fe88e5820686a35e1fa52206451152a97a286557168666142121936304d60aa18dae16d4474c3c3278274b62cc06d42587fc7016e DIST megasync-3.0.1.tar.gz 10859538 BLAKE2B 4ae480d36b746b70a7a155690aaa2dfb9cb70ded57228382df10db57bbdde5c0d93b98738fa6104c709cea2ce57078dd0494b122ea3ab84b9d348d3316e9e063 SHA512 0e3e0315f9a8f4694a59f7b50d6dd93c5e840d013d8c658288d7c0cafca9fbdc1faa2bbaec5c2d08e5f4c4d1790864a8595153808ea7b8c0a1c3550ae8398dbe DIST megasync-sdk-20170215.tar.gz 3475525 BLAKE2B 71e85a62c9429944a0bd3cbe4f914b9632fa02b2021e0ca5281c19ff98e4c11feb9de5575553eb0df4589b8929e5c22719abdb7ed1f3784827cf5532cf0ce1b5 SHA512 218f69e22110d31093d841a6f3e7aa1336f16db063ae2fe2219507c140a14c6879d2ff9a7be11d0c31662b2439117e384737be916663af1d49fdf6dbd2d83706 @@ -7,6 +8,6 @@ EBUILD megasync-3.0.1.ebuild 3631 BLAKE2B 6747ed137f2174d13cdefd2347e0b39772f52b EBUILD megasync-3.1.4.ebuild 3165 BLAKE2B 4f50da930addad128e9cbd6be4b7e2b44bff6e8ddd0d7609076297385bd11fed43e3c0fdd0f03ce2e29bf21b3aa707a928af8d3f3063e0a7cedcc33928a65711 SHA512 964fbd703748194c5c2b109d89e03bdb7d99c2b793fb187875e7d7304e69ea0f7efce9a19d607ce1b87de5e229fbf9d2fbda86df02aa6c42ffeab908c8152dc1 EBUILD megasync-3.5.3.ebuild 3277 BLAKE2B a59fddfa224bcdb23b033950d8cbe0587f145717710824c2470f8e5c76d01853a0b65101b0841c01024f3ad85eb5e86a993be4d31d57f5245829b9eda92ac334 SHA512 3d063386c052ec6c673d31c37ac2d7a8e78ee47d627bc5961d0e8ea9f1b7fde76f58078de0cc7cd5e1aa968b1941e7f51d22e9632ffe6c0b8dda05d919b40f13 EBUILD megasync-3.6.0-r1.ebuild 3275 BLAKE2B 5d38e6a51ada5d8e20d193e811cb7053f362fd9d936b2ad216116ec68a8d382f8467d69005f1399087905ac1876f32dc1d1fc62c28ae655c7da23debb99ebf7c SHA512 2c3ce9067753c26b6339f64ea2cd23a0f7fd395556f3d535a404227017601b992f66a494db999ff42f927d02573b8f2a3d49c7b8c50e499025c261fe89fec5e2 -EBUILD megasync-3.6.5.ebuild 3277 BLAKE2B 16486c24e8443039c7793a0d23e44d55d9594af91257b2edd78cda9ba5f22968aa8564fa52bba5baf368c5907725c5c2e83764a422424639b62638e7ca66364f SHA512 cdf8578835f4560087deb3e248b6c70303718fee558a11f2a5d4fe0a415934aaab5ffb6f55a799ed9159dd7d22b35f067f77fac69c304d48f73c03d840066b79 +EBUILD megasync-3.6.5.ebuild 3336 BLAKE2B 2cf009c94d874548b066cfa5fc3ed01b12dc531c04249d61bfd9d2cf82e00b838ebfb1caead8fa0ea051f6d06c039940fa0e6c298150ce68c9c3523b59cb7856 SHA512 e2a09e28f41fb9a3f28bbd177f50c256161d44ab02e2fa2a1b7743b6b390a337e1dd404a651923a0c1c54e8662ae70c3943629883f402a1f8e6b89257f9d7362 EBUILD megasync-9999.ebuild 3637 BLAKE2B 3333948364efa4ae9ce897da38659e669fbb509de374686832d4546caccc4f9333693749540c989f1bb074b9eb929b308978ed089f4b6be714dbf76c530e608b SHA512 020ca96d8972f66cc79673bc31083af2fffacbb02dfeb12677d5d62f08605e1a4f9b29d55d5509231a416c39e7b1cd2e6b20d16c4af00a415cbaf4c133fa6c6d MISC metadata.xml 318 BLAKE2B ffc32715f0597b63ba78c242a5adfad13c921b43da17b5e07b4cca5e5ef69dbb3c89a7d110165dcea06ed317f873a5210db21be0ac5941dfb433185fdcb7a6e7 SHA512 e4930a21d6f75f5395e2e96436b42c792771fd7167abceeff0db7a9036616c6feeb6beee890afa6ff5e4584f5bb6938084316e60df57997aa1c20ba0a025514c diff --git a/net-misc/megasync/files/megasync-3.6.5-ffmeg.patch b/net-misc/megasync/files/megasync-3.6.5-ffmeg.patch new file mode 100644 index 0000000..7306a15 --- /dev/null +++ b/net-misc/megasync/files/megasync-3.6.5-ffmeg.patch @@ -0,0 +1,12 @@ +diff -Naur a/src/MEGASync/MEGASync.pro b/src/MEGASync/MEGASync.pro +--- a/src/MEGASync/MEGASync.pro 2018-05-19 18:48:04.753947715 +0100 ++++ b/src/MEGASync/MEGASync.pro 2018-05-19 19:48:13.055865813 +0100 +@@ -57,7 +57,7 @@ + CONFIG += USE_MEDIAINFO + + unix:!macx { +- exists(/usr/include/ffmpeg-mega)|exists(mega/bindings/qt/3rdparty/include/ffmpeg)|packagesExist(ffmpeg) { ++ exists(/usr/include/ffmpeg-mega)|exists(mega/bindings/qt/3rdparty/include/ffmpeg)|packagesExist(ffmpeg)|packagesExist(libavcodec) { + CONFIG += USE_FFMPEG + } + } diff --git a/net-misc/megasync/megasync-3.6.5.ebuild b/net-misc/megasync/megasync-3.6.5.ebuild index 7557f31..bf06f51 100644 --- a/net-misc/megasync/megasync-3.6.5.ebuild +++ b/net-misc/megasync/megasync-3.6.5.ebuild @@ -64,15 +64,19 @@ RDEPEND="${DEPEND} readline? ( sys-libs/readline:0 ) " -#PATCHES=( "${FILESDIR}/megasync-glibc2.26.patch" ) +PATCHES=( "${FILESDIR}/${P}-ffmeg.patch" ) if [[ ${PV} != *9999* ]];then src_prepare(){ + #default # Not needed, since using git submodules #cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega if [ -e "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" ]; then EPATCH_OPTS="-p0" epatch "${FILESDIR}/MEGAsync-${PV}.0_Linux.patch" fi + if [ ! -z ${PATCHES} ]; then + epatch ${PATCHES} + fi eapply_user cd src/MEGASync/mega eautoreconf |