* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2020-11-07 10:44 Samuel Bernardo
0 siblings, 0 replies; 46+ messages in thread
From: Samuel Bernardo @ 2020-11-07 10:44 UTC (permalink / raw
To: gentoo-commits
commit: 3bedd6fe12c78b02faa3041c5aab6f72e725c625
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat Nov 7 10:42:16 2020 +0000
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat Nov 7 10:42:16 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3bedd6fe
net-misc/megasync: add version 4.3.3
Correct previous push and add repoman verified megasync ebuild.
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>
net-misc/megasync/megasync-4.3.3.ebuild | 78 +++++++++++++--------------------
net-misc/megasync/metadata.xml | 7 +++
2 files changed, 38 insertions(+), 47 deletions(-)
diff --git a/net-misc/megasync/megasync-4.3.3.ebuild b/net-misc/megasync/megasync-4.3.3.ebuild
index 91734a74..aa7d2f2d 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -22,51 +22,41 @@ fi
LICENSE="MEGA"
SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads qt5 java php python gnome"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
DEPEND="
dev-lang/swig
app-doc/doxygen
media-libs/libmediainfo
media-libs/libraw
- !qt5? (
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- dev-qt/qtdbus:4
- dev-libs/sni-qt
- dev-qt/qtimageformats:5
- dev-qt/qtsvg:5
- )
- qt5? (
- dev-qt/qtcore:5
- dev-qt/linguist-tools
- dev-qt/qtwidgets:5
- dev-qt/qtgui:5
- dev-qt/qtconcurrent:5
- dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
- dev-qt/qtimageformats:5
- dev-qt/qtsvg:5
- )"
+ dev-qt/qtcore:5
+ dev-qt/linguist-tools
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtdbus:5
+ dev-qt/qtimageformats:5
+ dev-qt/qtsvg:5"
RDEPEND="${DEPEND}
- x11-themes/hicolor-icon-theme
- dev-libs/openssl
- dev-libs/libgcrypt
- media-libs/libpng
- net-dns/c-ares
- cryptopp? ( dev-libs/crypto++ )
- app-arch/xz-utils
- dev-libs/libuv
- sqlite? ( dev-db/sqlite:3 )
- dev-libs/libsodium
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
- freeimage? ( media-libs/freeimage )
- readline? ( sys-libs/readline:0 )
- dolphin? ( kde-apps/dolphin )
- nautilus? ( >=gnome-base/nautilus-3 )
- thunar? ( xfce-base/thunar )
- "
+ x11-themes/hicolor-icon-theme
+ dev-libs/openssl
+ dev-libs/libgcrypt
+ media-libs/libpng
+ net-dns/c-ares
+ cryptopp? ( dev-libs/crypto++ )
+ app-arch/xz-utils
+ dev-libs/libuv
+ sqlite? ( dev-db/sqlite:3 )
+ dev-libs/libsodium
+ zlib? ( sys-libs/zlib )
+ curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+ freeimage? ( media-libs/freeimage )
+ readline? ( sys-libs/readline:0 )
+ dolphin? ( kde-apps/dolphin )
+ nautilus? ( >=gnome-base/nautilus-3 )
+ thunar? ( xfce-base/thunar )
+ "
PATCHES=( )
@@ -116,15 +106,9 @@ src_configure(){
MEGA.pro
CONFIG+="release"
)
- if use qt5; then
- eqmake5 ${myeqmakeargs[@]}
- use dolphin && cmake-utils_src_configure
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
- else
- eqmake4 ${myeqmakeargs[@]}
- use dolphin && cmake-utils_src_configure
- $(qt4_get_bindir)/lrelease MEGASync/MEGASync.pro
- fi
+ eqmake5 ${myeqmakeargs[@]}
+ use dolphin && cmake-utils_src_configure
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
}
src_compile(){
diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index a9aac563..dbb25160 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,4 +6,11 @@
<name>Samuel Bernardo</name>
<description>megasync client from mega.nz</description>
</maintainer>
+ <use>
+ <flag name='dolphin'>Upload your files to your Mega account from Dolphin file manager.</flag>
+ <flag name='nautilus'>Upload your files to your Mega account from nautilus.</flag>
+ <flag name='thunar'>Upload your files to your Mega account from Thunar.</flag>
+ <flag name='cryptopp'>Compile with Crypto++ Library.</flag>
+ <flag name='freeimage'>Use freeimage to manage graphic images format.</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2020-11-07 11:09 Samuel Bernardo
0 siblings, 0 replies; 46+ messages in thread
From: Samuel Bernardo @ 2020-11-07 11:09 UTC (permalink / raw
To: gentoo-commits
commit: a5a96c375906ca3ab4cdfee37fc3190baf91248b
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Sat Nov 7 11:09:31 2020 +0000
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Sat Nov 7 11:09:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5a96c37
net-misc/megasync: update to 4.3.5
Update to latest version
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>
net-misc/megasync/megasync-4.3.5.ebuild | 134 ++++++++++++++++++++++++++++++++
1 file changed, 134 insertions(+)
diff --git a/net-misc/megasync/megasync-4.3.5.ebuild b/net-misc/megasync/megasync-4.3.5.ebuild
new file mode 100644
index 00000000..aa7d2f2d
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+HOMEPAGE="http://mega.co.nz"
+RTAG="_Linux"
+if [[ ${PV} == *9999* ]];then
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ KEYWORDS=""
+ EGIT_SUBMODULES=( '*' )
+else
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ EGIT_COMMIT="v${PV}.0${RTAG}"
+ EGIT_SUBMODULES=( '*' )
+ KEYWORDS="~x86 ~amd64"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
+
+DEPEND="
+ dev-lang/swig
+ app-doc/doxygen
+ media-libs/libmediainfo
+ media-libs/libraw
+ dev-qt/qtcore:5
+ dev-qt/linguist-tools
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtdbus:5
+ dev-qt/qtimageformats:5
+ dev-qt/qtsvg:5"
+RDEPEND="${DEPEND}
+ x11-themes/hicolor-icon-theme
+ dev-libs/openssl
+ dev-libs/libgcrypt
+ media-libs/libpng
+ net-dns/c-ares
+ cryptopp? ( dev-libs/crypto++ )
+ app-arch/xz-utils
+ dev-libs/libuv
+ sqlite? ( dev-db/sqlite:3 )
+ dev-libs/libsodium
+ zlib? ( sys-libs/zlib )
+ curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+ freeimage? ( media-libs/freeimage )
+ readline? ( sys-libs/readline:0 )
+ dolphin? ( kde-apps/dolphin )
+ nautilus? ( >=gnome-base/nautilus-3 )
+ thunar? ( xfce-base/thunar )
+ "
+
+PATCHES=( )
+
+if [[ ${PV} != *9999* ]];then
+ src_prepare(){
+ 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
+ if use gnome; then
+ if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+ epatch "${FILESDIR}/${P}-gnome.patch"
+ fi
+ fi
+ eapply_user
+ cd src/MEGASync/mega
+ eautoreconf
+ }
+fi
+
+src_configure(){
+ cd "${S}"/src/MEGASync/mega
+ econf \
+ "--disable-silent-rules" \
+ "--disable-curl-checks" \
+ "--disable-megaapi" \
+ $(use_with zlib) \
+ $(use_with sqlite) \
+ $(use_with cryptopp) \
+ "--with-cares" \
+ $(use_with curl) \
+ "--without-termcap" \
+ $(use_enable threads posix-threads) \
+ "--with-sodium" \
+ $(use_with freeimage) \
+ $(use_with readline) \
+ $(use_enable examples) \
+ $(use_enable java) \
+ $(use_enable php) \
+ $(use_enable python) \
+ "--enable-chat" \
+ "--enable-gcc-hardening"
+ cd ../..
+ local myeqmakeargs=(
+ MEGA.pro
+ CONFIG+="release"
+ )
+ eqmake5 ${myeqmakeargs[@]}
+ use dolphin && cmake-utils_src_configure
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+ emake -C src INSTALL_ROOT="${D}" || die
+ use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+ use dolphin && cmake-utils_src_install
+ local DOCS=( CREDITS.md README.md )
+ einstalldocs
+ insinto usr/share/licenses/${PN}
+ doins LICENCE.md installer/terms.txt
+ cd src/MEGASync
+ dobin ${PN}
+ cd platform/linux/data
+ insinto usr/share/applications
+ doins ${PN}.desktop
+ cd icons/hicolor
+ for size in 16x16 32x32 48x48 128x128 256x256;do
+ doicon -s $size $size/apps/mega.png
+ done
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
2020-11-08 11:13 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-11-08 11:06 ` Andrew Ammerlaan
0 siblings, 0 replies; 46+ messages in thread
From: Andrew Ammerlaan @ 2020-11-08 11:06 UTC (permalink / raw
To: gentoo-commits
commit: 826bb8eb94f71e696643400af1e04b66ed6c9828
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Nov 8 11:06:32 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Nov 8 11:06:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=826bb8eb
net-misc/megasync: make repoman happy
- removed symlink
- sorted keywords
- shortend description
- defined DOCS global
- use domenu
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
net-misc/megasync/megasync-4.3.3.ebuild | 31 +++++++++++++++++--------------
net-misc/megasync/megasync-4.3.5.ebuild | 31 +++++++++++++++++--------------
2 files changed, 34 insertions(+), 28 deletions(-)
diff --git a/net-misc/megasync/megasync-4.3.3.ebuild b/net-misc/megasync/megasync-4.3.3.ebuild
index aa7d2f2d..a1edfca1 100644
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ b/net-misc/megasync/megasync-4.3.3.ebuild
@@ -1,12 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
EAPI=7
inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
HOMEPAGE="http://mega.co.nz"
RTAG="_Linux"
if [[ ${PV} == *9999* ]];then
@@ -17,28 +16,33 @@ else
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
EGIT_COMMIT="v${PV}.0${RTAG}"
EGIT_SUBMODULES=( '*' )
- KEYWORDS="~x86 ~amd64"
+ KEYWORDS="~amd64 ~x86"
fi
LICENSE="MEGA"
SLOT="0"
IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
-DEPEND="
- dev-lang/swig
- app-doc/doxygen
+CDEPEND="
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
- dev-qt/linguist-tools
dev-qt/qtwidgets:5
dev-qt/qtgui:5
dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
dev-qt/qtdbus:5
dev-qt/qtimageformats:5
- dev-qt/qtsvg:5"
-RDEPEND="${DEPEND}
+ dev-qt/qtsvg:5
+"
+
+BDEPEND="${CDEPEND}
+ dev-lang/swig
+ app-doc/doxygen
+ dev-qt/linguist-tools
+"
+
+RDEPEND="${CDEPEND}
x11-themes/hicolor-icon-theme
dev-libs/openssl
dev-libs/libgcrypt
@@ -56,8 +60,9 @@ RDEPEND="${DEPEND}
dolphin? ( kde-apps/dolphin )
nautilus? ( >=gnome-base/nautilus-3 )
thunar? ( xfce-base/thunar )
- "
+"
+DOCS=( CREDITS.md README.md )
PATCHES=( )
if [[ ${PV} != *9999* ]];then
@@ -100,7 +105,7 @@ src_configure(){
$(use_enable php) \
$(use_enable python) \
"--enable-chat" \
- "--enable-gcc-hardening"
+ "--enable-gcc-hardening"
cd ../..
local myeqmakeargs=(
MEGA.pro
@@ -118,15 +123,13 @@ src_compile(){
src_install(){
use dolphin && cmake-utils_src_install
- local DOCS=( CREDITS.md README.md )
einstalldocs
insinto usr/share/licenses/${PN}
doins LICENCE.md installer/terms.txt
cd src/MEGASync
dobin ${PN}
cd platform/linux/data
- insinto usr/share/applications
- doins ${PN}.desktop
+ domenu ${PN}.desktop
cd icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png
diff --git a/net-misc/megasync/megasync-4.3.5.ebuild b/net-misc/megasync/megasync-4.3.5.ebuild
index aa7d2f2d..a1edfca1 100644
--- a/net-misc/megasync/megasync-4.3.5.ebuild
+++ b/net-misc/megasync/megasync-4.3.5.ebuild
@@ -1,12 +1,11 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-# $Header: $
EAPI=7
inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
-DESCRIPTION="A Qt-based program for syncing your MEGA account in your PC. This is the official app."
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
HOMEPAGE="http://mega.co.nz"
RTAG="_Linux"
if [[ ${PV} == *9999* ]];then
@@ -17,28 +16,33 @@ else
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
EGIT_COMMIT="v${PV}.0${RTAG}"
EGIT_SUBMODULES=( '*' )
- KEYWORDS="~x86 ~amd64"
+ KEYWORDS="~amd64 ~x86"
fi
LICENSE="MEGA"
SLOT="0"
IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
-DEPEND="
- dev-lang/swig
- app-doc/doxygen
+CDEPEND="
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
- dev-qt/linguist-tools
dev-qt/qtwidgets:5
dev-qt/qtgui:5
dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
dev-qt/qtdbus:5
dev-qt/qtimageformats:5
- dev-qt/qtsvg:5"
-RDEPEND="${DEPEND}
+ dev-qt/qtsvg:5
+"
+
+BDEPEND="${CDEPEND}
+ dev-lang/swig
+ app-doc/doxygen
+ dev-qt/linguist-tools
+"
+
+RDEPEND="${CDEPEND}
x11-themes/hicolor-icon-theme
dev-libs/openssl
dev-libs/libgcrypt
@@ -56,8 +60,9 @@ RDEPEND="${DEPEND}
dolphin? ( kde-apps/dolphin )
nautilus? ( >=gnome-base/nautilus-3 )
thunar? ( xfce-base/thunar )
- "
+"
+DOCS=( CREDITS.md README.md )
PATCHES=( )
if [[ ${PV} != *9999* ]];then
@@ -100,7 +105,7 @@ src_configure(){
$(use_enable php) \
$(use_enable python) \
"--enable-chat" \
- "--enable-gcc-hardening"
+ "--enable-gcc-hardening"
cd ../..
local myeqmakeargs=(
MEGA.pro
@@ -118,15 +123,13 @@ src_compile(){
src_install(){
use dolphin && cmake-utils_src_install
- local DOCS=( CREDITS.md README.md )
einstalldocs
insinto usr/share/licenses/${PN}
doins LICENCE.md installer/terms.txt
cd src/MEGASync
dobin ${PN}
cd platform/linux/data
- insinto usr/share/applications
- doins ${PN}.desktop
+ domenu ${PN}.desktop
cd icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
2020-11-08 12:34 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2020-11-08 12:34 ` Andrew Ammerlaan
0 siblings, 0 replies; 46+ messages in thread
From: Andrew Ammerlaan @ 2020-11-08 12:34 UTC (permalink / raw
To: gentoo-commits
commit: 32e43c1af0b224bda58a31eba36e29cca2d192fc
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Nov 8 12:33:50 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Nov 8 12:33:50 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=32e43c1a
net-misc/megasync: remove symlink
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
net-misc/megasync/megasync-9999.ebuild | 138 ++++++++++++++++++++++++++++++++-
1 file changed, 137 insertions(+), 1 deletion(-)
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
deleted file mode 120000
index 464f33c3..00000000
--- a/net-misc/megasync/megasync-9999.ebuild
+++ /dev/null
@@ -1 +0,0 @@
-megasync-4.3.3.ebuild
\ No newline at end of file
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
new file mode 100644
index 00000000..a1edfca1
--- /dev/null
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
+HOMEPAGE="http://mega.co.nz"
+RTAG="_Linux"
+if [[ ${PV} == *9999* ]];then
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ KEYWORDS=""
+ EGIT_SUBMODULES=( '*' )
+else
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ EGIT_COMMIT="v${PV}.0${RTAG}"
+ EGIT_SUBMODULES=( '*' )
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
+
+CDEPEND="
+ media-libs/libmediainfo
+ media-libs/libraw
+ dev-qt/qtcore:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtdbus:5
+ dev-qt/qtimageformats:5
+ dev-qt/qtsvg:5
+"
+
+BDEPEND="${CDEPEND}
+ dev-lang/swig
+ app-doc/doxygen
+ dev-qt/linguist-tools
+"
+
+RDEPEND="${CDEPEND}
+ x11-themes/hicolor-icon-theme
+ dev-libs/openssl
+ dev-libs/libgcrypt
+ media-libs/libpng
+ net-dns/c-ares
+ cryptopp? ( dev-libs/crypto++ )
+ app-arch/xz-utils
+ dev-libs/libuv
+ sqlite? ( dev-db/sqlite:3 )
+ dev-libs/libsodium
+ zlib? ( sys-libs/zlib )
+ curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+ freeimage? ( media-libs/freeimage )
+ readline? ( sys-libs/readline:0 )
+ dolphin? ( kde-apps/dolphin )
+ nautilus? ( >=gnome-base/nautilus-3 )
+ thunar? ( xfce-base/thunar )
+"
+
+DOCS=( CREDITS.md README.md )
+PATCHES=( )
+
+if [[ ${PV} != *9999* ]];then
+ src_prepare(){
+ 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
+ if use gnome; then
+ if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
+ epatch "${FILESDIR}/${P}-gnome.patch"
+ fi
+ fi
+ eapply_user
+ cd src/MEGASync/mega
+ eautoreconf
+ }
+fi
+
+src_configure(){
+ cd "${S}"/src/MEGASync/mega
+ econf \
+ "--disable-silent-rules" \
+ "--disable-curl-checks" \
+ "--disable-megaapi" \
+ $(use_with zlib) \
+ $(use_with sqlite) \
+ $(use_with cryptopp) \
+ "--with-cares" \
+ $(use_with curl) \
+ "--without-termcap" \
+ $(use_enable threads posix-threads) \
+ "--with-sodium" \
+ $(use_with freeimage) \
+ $(use_with readline) \
+ $(use_enable examples) \
+ $(use_enable java) \
+ $(use_enable php) \
+ $(use_enable python) \
+ "--enable-chat" \
+ "--enable-gcc-hardening"
+ cd ../..
+ local myeqmakeargs=(
+ MEGA.pro
+ CONFIG+="release"
+ )
+ eqmake5 ${myeqmakeargs[@]}
+ use dolphin && cmake-utils_src_configure
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile(){
+ emake -C src INSTALL_ROOT="${D}" || die
+ use dolphin && cmake-utils_src_compile
+}
+
+src_install(){
+ use dolphin && cmake-utils_src_install
+ einstalldocs
+ insinto usr/share/licenses/${PN}
+ doins LICENCE.md installer/terms.txt
+ cd src/MEGASync
+ dobin ${PN}
+ cd platform/linux/data
+ domenu ${PN}.desktop
+ cd icons/hicolor
+ for size in 16x16 32x32 48x48 128x128 256x256;do
+ doicon -s $size $size/apps/mega.png
+ done
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2020-12-10 22:05 Theo Anderson
0 siblings, 0 replies; 46+ messages in thread
From: Theo Anderson @ 2020-12-10 22:05 UTC (permalink / raw
To: gentoo-commits
commit: 4f8fa2320d6fb0b8b66c28f70d9080f258179f82
Author: Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Thu Dec 10 21:47:24 2020 +0000
Commit: Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Thu Dec 10 21:59:58 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4f8fa232
net-misc/megasync: bump to 4.3.7; update live ebuild
- uses tag archives instead of the git repo
- removed multilib (was it even used?)
- libressl support
- general ebuild cleanup
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>
net-misc/megasync/Manifest | 2 +
...{megasync-9999.ebuild => megasync-4.3.7.ebuild} | 122 ++++++++++-----------
net-misc/megasync/megasync-9999.ebuild | 122 ++++++++++-----------
3 files changed, 118 insertions(+), 128 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
new file mode 100644
index 00000000..2e3f9444
--- /dev/null
+++ b/net-misc/megasync/Manifest
@@ -0,0 +1,2 @@
+DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5 SHA512 6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3 SHA512 45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-4.3.7.ebuild
similarity index 60%
copy from net-misc/megasync/megasync-9999.ebuild
copy to net-misc/megasync/megasync-4.3.7.ebuild
index a1edfca1..390ce338 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,27 +3,54 @@
EAPI=7
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools cmake desktop qmake-utils
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of src/MEGASync/mega submodule
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
HOMEPAGE="http://mega.co.nz"
-RTAG="_Linux"
-if [[ ${PV} == *9999* ]];then
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- KEYWORDS=""
- EGIT_SUBMODULES=( '*' )
else
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_COMMIT="v${PV}.0${RTAG}"
- EGIT_SUBMODULES=( '*' )
+ SRC_URI="
+ https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
+ https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
+ "
KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}"/MEGAsync-${PV}.0_Linux
fi
LICENSE="MEGA"
SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl nautilus php python readline threads thunar"
-CDEPEND="
+RDEPEND="
+ app-arch/xz-utils
+ dev-libs/libgcrypt
+ dev-libs/libsodium
+ dev-libs/libuv
+ media-libs/libpng
+ net-dns/c-ares
+ x11-themes/hicolor-icon-theme
+ cryptopp? ( dev-libs/crypto++ )
+ curl? (
+ !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+ libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+ )
+ dolphin? ( kde-apps/dolphin )
+ freeimage? ( media-libs/freeimage )
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ nautilus? ( >=gnome-base/nautilus-3 )
+ readline? ( sys-libs/readline:0 )
+ sqlite? ( dev-db/sqlite:3 )
+ thunar? ( xfce-base/thunar )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="
+ ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
"
-
-BDEPEND="${CDEPEND}
- dev-lang/swig
+BDEPEND="
app-doc/doxygen
+ dev-lang/swig
dev-qt/linguist-tools
"
-RDEPEND="${CDEPEND}
- x11-themes/hicolor-icon-theme
- dev-libs/openssl
- dev-libs/libgcrypt
- media-libs/libpng
- net-dns/c-ares
- cryptopp? ( dev-libs/crypto++ )
- app-arch/xz-utils
- dev-libs/libuv
- sqlite? ( dev-db/sqlite:3 )
- dev-libs/libsodium
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
- freeimage? ( media-libs/freeimage )
- readline? ( sys-libs/readline:0 )
- dolphin? ( kde-apps/dolphin )
- nautilus? ( >=gnome-base/nautilus-3 )
- thunar? ( xfce-base/thunar )
-"
-
DOCS=( CREDITS.md README.md )
-PATCHES=( )
-if [[ ${PV} != *9999* ]];then
- src_prepare(){
- 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
- if use gnome; then
- if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
- epatch "${FILESDIR}/${P}-gnome.patch"
- fi
- fi
- eapply_user
- cd src/MEGASync/mega
- eautoreconf
- }
-fi
+src_prepare() {
+ rmdir src/MEGASync/mega
+ mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+ default
+ cd src/MEGASync/mega
+ eautoreconf
+}
-src_configure(){
- cd "${S}"/src/MEGASync/mega
+src_configure() {
+ cd src/MEGASync/mega
econf \
"--disable-silent-rules" \
"--disable-curl-checks" \
@@ -107,30 +101,30 @@ src_configure(){
"--enable-chat" \
"--enable-gcc-hardening"
cd ../..
+
local myeqmakeargs=(
MEGA.pro
CONFIG+="release"
)
+
eqmake5 ${myeqmakeargs[@]}
- use dolphin && cmake-utils_src_configure
+ use dolphin && cmake_src_configure
$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
}
-src_compile(){
+src_compile() {
emake -C src INSTALL_ROOT="${D}" || die
- use dolphin && cmake-utils_src_compile
+ use dolphin && cmake_src_compile
}
-src_install(){
- use dolphin && cmake-utils_src_install
+src_install() {
+ use dolphin && cmake_src_install
einstalldocs
+ dobin src/MEGASync/${PN}
insinto usr/share/licenses/${PN}
doins LICENCE.md installer/terms.txt
- cd src/MEGASync
- dobin ${PN}
- cd platform/linux/data
- domenu ${PN}.desktop
- cd icons/hicolor
+ domenu src/MEGASync/platform/linux/data/${PN}.desktop
+ cd src/MEGASync/platform/linux/data/icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png
done
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index a1edfca1..5a8311e0 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -3,27 +3,54 @@
EAPI=7
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
+inherit autotools desktop qmake-utils xdg cmake
+
+MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of src/MEGASync/mega submodule
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
HOMEPAGE="http://mega.co.nz"
-RTAG="_Linux"
-if [[ ${PV} == *9999* ]];then
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- KEYWORDS=""
- EGIT_SUBMODULES=( '*' )
else
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_COMMIT="v${PV}.0${RTAG}"
- EGIT_SUBMODULES=( '*' )
+ SRC_URI="
+ https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
+ https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
+ "
KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}"/MEGAsync-${PV}.0_Linux
fi
LICENSE="MEGA"
SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl nautilus php python readline threads thunar"
-CDEPEND="
+RDEPEND="
+ app-arch/xz-utils
+ dev-libs/libgcrypt
+ dev-libs/libsodium
+ dev-libs/libuv
+ media-libs/libpng
+ net-dns/c-ares
+ x11-themes/hicolor-icon-theme
+ cryptopp? ( dev-libs/crypto++ )
+ curl? (
+ !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+ libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+ )
+ dolphin? ( kde-apps/dolphin )
+ freeimage? ( media-libs/freeimage )
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ nautilus? ( >=gnome-base/nautilus-3 )
+ readline? ( sys-libs/readline:0 )
+ sqlite? ( dev-db/sqlite:3 )
+ thunar? ( xfce-base/thunar )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="
+ ${RDEPEND}
media-libs/libmediainfo
media-libs/libraw
dev-qt/qtcore:5
@@ -35,57 +62,24 @@ CDEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
"
-
-BDEPEND="${CDEPEND}
- dev-lang/swig
+BDEPEND="
app-doc/doxygen
+ dev-lang/swig
dev-qt/linguist-tools
"
-RDEPEND="${CDEPEND}
- x11-themes/hicolor-icon-theme
- dev-libs/openssl
- dev-libs/libgcrypt
- media-libs/libpng
- net-dns/c-ares
- cryptopp? ( dev-libs/crypto++ )
- app-arch/xz-utils
- dev-libs/libuv
- sqlite? ( dev-db/sqlite:3 )
- dev-libs/libsodium
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
- freeimage? ( media-libs/freeimage )
- readline? ( sys-libs/readline:0 )
- dolphin? ( kde-apps/dolphin )
- nautilus? ( >=gnome-base/nautilus-3 )
- thunar? ( xfce-base/thunar )
-"
-
DOCS=( CREDITS.md README.md )
-PATCHES=( )
-if [[ ${PV} != *9999* ]];then
- src_prepare(){
- 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
- if use gnome; then
- if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
- epatch "${FILESDIR}/${P}-gnome.patch"
- fi
- fi
- eapply_user
- cd src/MEGASync/mega
- eautoreconf
- }
-fi
+src_prepare() {
+ rmdir src/MEGASync/mega
+ mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+ default
+ cd src/MEGASync/mega
+ eautoreconf
+}
-src_configure(){
- cd "${S}"/src/MEGASync/mega
+src_configure() {
+ cd src/MEGASync/mega
econf \
"--disable-silent-rules" \
"--disable-curl-checks" \
@@ -107,30 +101,30 @@ src_configure(){
"--enable-chat" \
"--enable-gcc-hardening"
cd ../..
+
local myeqmakeargs=(
MEGA.pro
CONFIG+="release"
)
+
eqmake5 ${myeqmakeargs[@]}
- use dolphin && cmake-utils_src_configure
+ use dolphin && cmake_src_configure
$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
}
-src_compile(){
+src_compile() {
emake -C src INSTALL_ROOT="${D}" || die
- use dolphin && cmake-utils_src_compile
+ use dolphin && cmake_src_compile
}
-src_install(){
- use dolphin && cmake-utils_src_install
+src_install() {
+ use dolphin && cmake_src_install
einstalldocs
+ dobin src/MEGASync/${PN}
insinto usr/share/licenses/${PN}
doins LICENCE.md installer/terms.txt
- cd src/MEGASync
- dobin ${PN}
- cd platform/linux/data
- domenu ${PN}.desktop
- cd icons/hicolor
+ domenu src/MEGASync/platform/linux/data/${PN}.desktop
+ cd src/MEGASync/platform/linux/data/icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png
done
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2020-12-10 23:03 Theo Anderson
0 siblings, 0 replies; 46+ messages in thread
From: Theo Anderson @ 2020-12-10 23:03 UTC (permalink / raw
To: gentoo-commits
commit: 17b1a1064a770fde8b4f8a8b9a9e9d57312268d1
Author: Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Thu Dec 10 23:03:23 2020 +0000
Commit: Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Thu Dec 10 23:03:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=17b1a106
net-misc/megasync: fix 9999
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>
net-misc/megasync/megasync-4.3.7.ebuild | 11 ++++++-----
net-misc/megasync/megasync-9999.ebuild | 9 +++++----
2 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/net-misc/megasync/megasync-4.3.7.ebuild b/net-misc/megasync/megasync-4.3.7.ebuild
index 390ce338..61ef362c 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -3,9 +3,7 @@
EAPI=7
-inherit autotools cmake desktop qmake-utils
-
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of src/MEGASync/mega submodule
+inherit autotools desktop qmake-utils xdg cmake
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
HOMEPAGE="http://mega.co.nz"
@@ -14,6 +12,7 @@ if [[ ${PV} == 9999 ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
else
+ MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
DOCS=( CREDITS.md README.md )
src_prepare() {
- rmdir src/MEGASync/mega
- mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega
+ mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+ fi
default
cd src/MEGASync/mega
eautoreconf
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 5a8311e0..61ef362c 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -5,8 +5,6 @@ EAPI=7
inherit autotools desktop qmake-utils xdg cmake
-MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of src/MEGASync/mega submodule
-
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
HOMEPAGE="http://mega.co.nz"
@@ -14,6 +12,7 @@ if [[ ${PV} == 9999 ]];then
inherit git-r3
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
else
+ MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of src/MEGASync/mega submodule
SRC_URI="
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
@@ -71,8 +70,10 @@ BDEPEND="
DOCS=( CREDITS.md README.md )
src_prepare() {
- rmdir src/MEGASync/mega
- mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega
+ mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+ fi
default
cd src/MEGASync/mega
eautoreconf
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2020-12-31 8:31 Theo Anderson
0 siblings, 0 replies; 46+ messages in thread
From: Theo Anderson @ 2020-12-31 8:31 UTC (permalink / raw
To: gentoo-commits
commit: db62cbf2ce66e8c66cceb6a5b5eba8dda16dfd46
Author: Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Thu Dec 31 08:31:13 2020 +0000
Commit: Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Thu Dec 31 08:31:13 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db62cbf2
net-misc/megasync: bump to 4.3.8.0
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Theo Anderson <telans <AT> posteo.de>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-4.3.8.0.ebuild | 133 ++++++++++++++++++++++++++++++
2 files changed, 135 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 2e3f9444..996b96d0 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5 SHA512 6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
+DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558 SHA512 597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3 SHA512 45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
+DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b SHA512 e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e22221f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild
new file mode 100644
index 00000000..eb91b2e5
--- /dev/null
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
+HOMEPAGE="http://mega.co.nz"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+else
+ MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of src/MEGASync/mega submodule
+ SRC_URI="
+ https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> ${P}.tar.gz
+ https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
+ "
+ KEYWORDS="~amd64 ~x86"
+ # 4.3.8.0 has no dedicated linux tag
+ S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl nautilus php python readline threads thunar"
+
+RDEPEND="
+ app-arch/xz-utils
+ dev-libs/libgcrypt
+ dev-libs/libsodium
+ dev-libs/libuv
+ media-libs/libpng
+ net-dns/c-ares
+ x11-themes/hicolor-icon-theme
+ cryptopp? ( dev-libs/crypto++ )
+ curl? (
+ !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
+ libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+ )
+ dolphin? ( kde-apps/dolphin )
+ freeimage? ( media-libs/freeimage )
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ nautilus? ( >=gnome-base/nautilus-3 )
+ readline? ( sys-libs/readline:0 )
+ sqlite? ( dev-db/sqlite:3 )
+ thunar? ( xfce-base/thunar )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="
+ ${RDEPEND}
+ media-libs/libmediainfo
+ media-libs/libraw
+ dev-qt/qtcore:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtdbus:5
+ dev-qt/qtimageformats:5
+ dev-qt/qtsvg:5
+"
+BDEPEND="
+ app-doc/doxygen
+ dev-lang/swig
+ dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+src_prepare() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega
+ mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+ fi
+ default
+ cd src/MEGASync/mega
+ eautoreconf
+}
+
+src_configure() {
+ cd src/MEGASync/mega
+ econf \
+ "--disable-silent-rules" \
+ "--disable-curl-checks" \
+ "--disable-megaapi" \
+ $(use_with zlib) \
+ $(use_with sqlite) \
+ $(use_with cryptopp) \
+ "--with-cares" \
+ $(use_with curl) \
+ "--without-termcap" \
+ $(use_enable threads posix-threads) \
+ "--with-sodium" \
+ $(use_with freeimage) \
+ $(use_with readline) \
+ $(use_enable examples) \
+ $(use_enable java) \
+ $(use_enable php) \
+ $(use_enable python) \
+ "--enable-chat" \
+ "--enable-gcc-hardening"
+ cd ../..
+
+ local myeqmakeargs=(
+ MEGA.pro
+ CONFIG+="release"
+ )
+
+ eqmake5 ${myeqmakeargs[@]}
+ use dolphin && cmake_src_configure
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile() {
+ emake -C src INSTALL_ROOT="${D}" || die
+ use dolphin && cmake_src_compile
+}
+
+src_install() {
+ use dolphin && cmake_src_install
+ einstalldocs
+ dobin src/MEGASync/${PN}
+ insinto usr/share/licenses/${PN}
+ doins LICENCE.md installer/terms.txt
+ domenu src/MEGASync/platform/linux/data/${PN}.desktop
+ cd src/MEGASync/platform/linux/data/icons/hicolor
+ for size in 16x16 32x32 48x48 128x128 256x256;do
+ doicon -s $size $size/apps/mega.png
+ done
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
2021-01-02 16:57 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-01-02 16:49 ` Andrew Ammerlaan
0 siblings, 0 replies; 46+ messages in thread
From: Andrew Ammerlaan @ 2021-01-02 16:49 UTC (permalink / raw
To: gentoo-commits
commit: 145db129f3f1d1b828eca116b97377a939ec3078
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Jan 2 16:49:45 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Jan 2 16:49:45 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=145db129
net-misc/megasync: call cmake_src_prepare
closes: https://bugs.gentoo.org/763138
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
net-misc/megasync/megasync-4.3.7.ebuild | 8 ++++++--
net-misc/megasync/megasync-4.3.8.0.ebuild | 8 ++++++--
2 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/net-misc/megasync/megasync-4.3.7.ebuild b/net-misc/megasync/megasync-4.3.7.ebuild
index 61ef362c..ccc5b2c1 100644
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ b/net-misc/megasync/megasync-4.3.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -74,7 +74,11 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
- default
+ if use dolphin; then
+ cmake_src_prepare
+ else
+ default
+ fi
cd src/MEGASync/mega
eautoreconf
}
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild
index eb91b2e5..3edb24ae 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -75,7 +75,11 @@ src_prepare() {
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
- default
+ if use dolphin; then
+ cmake_src_prepare
+ else
+ default
+ fi
cd src/MEGASync/mega
eautoreconf
}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
2021-01-03 13:58 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-01-03 13:58 ` Andrew Ammerlaan
0 siblings, 0 replies; 46+ messages in thread
From: Andrew Ammerlaan @ 2021-01-03 13:58 UTC (permalink / raw
To: gentoo-commits
commit: 9785f55f12125d23055c0e31cdcf2c0f03b53fc4
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Jan 3 13:58:02 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Jan 3 13:58:02 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9785f55f
net-misc/megasync: fix unable to find cmakelists.txt
- also fix dep on doxygen
Closes: https://bugs.gentoo.org/763057
Bug: https://bugs.gentoo.org/763138
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
net-misc/megasync/megasync-4.3.8.0.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 3edb24ae..2a65f6c8 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -63,19 +63,22 @@ DEPEND="
dev-qt/qtsvg:5
"
BDEPEND="
- app-doc/doxygen
dev-lang/swig
dev-qt/linguist-tools
"
DOCS=( CREDITS.md README.md )
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
src_prepare() {
if [[ ${PV} != 9999 ]]; then
rmdir src/MEGASync/mega
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
fi
if use dolphin; then
+ # use the kde5 CMakeLists instead of the kde 4 version
+ mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt src/MEGAShellExtDolphin/CMakeLists.txt || die
cmake_src_prepare
else
default
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
2021-01-03 13:58 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-01-03 13:58 ` Andrew Ammerlaan
0 siblings, 0 replies; 46+ messages in thread
From: Andrew Ammerlaan @ 2021-01-03 13:58 UTC (permalink / raw
To: gentoo-commits
commit: a20aca1ed9d41927e922beb66e19b1c5b40bd240
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Jan 3 13:58:25 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Jan 3 13:58:25 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a20aca1e
net-misc/megasync: drop old
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-4.3.3.ebuild | 137 --------------------------------
net-misc/megasync/megasync-4.3.5.ebuild | 137 --------------------------------
net-misc/megasync/megasync-4.3.7.ebuild | 136 -------------------------------
4 files changed, 412 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 996b96d0..a97a7f70 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-4.3.7.tar.gz 16020207 BLAKE2B f38b40594c0cb1ed3e93715842f3c161e09ef66deb017d2e5fa03d9d0ac2863ba02b88d1fe779960c07664b19250fa29115a87d62d0934157370c1faa85345a5 SHA512 6852390e05da13effd059a5e0dc7fe400f3456668925fbed5e34bc5018b3664d72aebd78847dfdb4f6dda39fe615a79e5c0eb99e72a401fb833d4eba8216010c
DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558 SHA512 597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
-DIST megasync-sdk-4.3.7.tar.gz 3362032 BLAKE2B 36ab643252d27475f34c7a5ee0e71a6470f2c830ea5c8331a094b79da5cd751699390c36e107cb0da06e6f46932e10e5fefbfc8eec3e8645ba84c365835088f3 SHA512 45dcc285c194cc347d9d562638658d2f0dd8099371e7408995cad68811e720905ad6f9810b24079c1112d16bfb87f7986cf3180520dc7edd611e703c251b182a
DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b SHA512 e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e22221f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
diff --git a/net-misc/megasync/megasync-4.3.3.ebuild b/net-misc/megasync/megasync-4.3.3.ebuild
deleted file mode 100644
index a1edfca1..00000000
--- a/net-misc/megasync/megasync-4.3.3.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
-
-DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
-HOMEPAGE="http://mega.co.nz"
-RTAG="_Linux"
-if [[ ${PV} == *9999* ]];then
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- KEYWORDS=""
- EGIT_SUBMODULES=( '*' )
-else
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_COMMIT="v${PV}.0${RTAG}"
- EGIT_SUBMODULES=( '*' )
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
-
-CDEPEND="
- media-libs/libmediainfo
- media-libs/libraw
- dev-qt/qtcore:5
- dev-qt/qtwidgets:5
- dev-qt/qtgui:5
- dev-qt/qtconcurrent:5
- dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
- dev-qt/qtimageformats:5
- dev-qt/qtsvg:5
-"
-
-BDEPEND="${CDEPEND}
- dev-lang/swig
- app-doc/doxygen
- dev-qt/linguist-tools
-"
-
-RDEPEND="${CDEPEND}
- x11-themes/hicolor-icon-theme
- dev-libs/openssl
- dev-libs/libgcrypt
- media-libs/libpng
- net-dns/c-ares
- cryptopp? ( dev-libs/crypto++ )
- app-arch/xz-utils
- dev-libs/libuv
- sqlite? ( dev-db/sqlite:3 )
- dev-libs/libsodium
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
- freeimage? ( media-libs/freeimage )
- readline? ( sys-libs/readline:0 )
- dolphin? ( kde-apps/dolphin )
- nautilus? ( >=gnome-base/nautilus-3 )
- thunar? ( xfce-base/thunar )
-"
-
-DOCS=( CREDITS.md README.md )
-PATCHES=( )
-
-if [[ ${PV} != *9999* ]];then
- src_prepare(){
- 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
- if use gnome; then
- if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
- epatch "${FILESDIR}/${P}-gnome.patch"
- fi
- fi
- eapply_user
- cd src/MEGASync/mega
- eautoreconf
- }
-fi
-
-src_configure(){
- cd "${S}"/src/MEGASync/mega
- econf \
- "--disable-silent-rules" \
- "--disable-curl-checks" \
- "--disable-megaapi" \
- $(use_with zlib) \
- $(use_with sqlite) \
- $(use_with cryptopp) \
- "--with-cares" \
- $(use_with curl) \
- "--without-termcap" \
- $(use_enable threads posix-threads) \
- "--with-sodium" \
- $(use_with freeimage) \
- $(use_with readline) \
- $(use_enable examples) \
- $(use_enable java) \
- $(use_enable php) \
- $(use_enable python) \
- "--enable-chat" \
- "--enable-gcc-hardening"
- cd ../..
- local myeqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- )
- eqmake5 ${myeqmakeargs[@]}
- use dolphin && cmake-utils_src_configure
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-}
-
-src_compile(){
- emake -C src INSTALL_ROOT="${D}" || die
- use dolphin && cmake-utils_src_compile
-}
-
-src_install(){
- use dolphin && cmake-utils_src_install
- einstalldocs
- insinto usr/share/licenses/${PN}
- doins LICENCE.md installer/terms.txt
- cd src/MEGASync
- dobin ${PN}
- cd platform/linux/data
- domenu ${PN}.desktop
- cd icons/hicolor
- for size in 16x16 32x32 48x48 128x128 256x256;do
- doicon -s $size $size/apps/mega.png
- done
-}
diff --git a/net-misc/megasync/megasync-4.3.5.ebuild b/net-misc/megasync/megasync-4.3.5.ebuild
deleted file mode 100644
index a1edfca1..00000000
--- a/net-misc/megasync/megasync-4.3.5.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils multilib qmake-utils autotools git-r3 desktop cmake-multilib
-
-DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
-HOMEPAGE="http://mega.co.nz"
-RTAG="_Linux"
-if [[ ${PV} == *9999* ]];then
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- KEYWORDS=""
- EGIT_SUBMODULES=( '*' )
-else
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_COMMIT="v${PV}.0${RTAG}"
- EGIT_SUBMODULES=( '*' )
- KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin nautilus thunar +cryptopp +sqlite +zlib +curl freeimage readline examples threads java php python gnome"
-
-CDEPEND="
- media-libs/libmediainfo
- media-libs/libraw
- dev-qt/qtcore:5
- dev-qt/qtwidgets:5
- dev-qt/qtgui:5
- dev-qt/qtconcurrent:5
- dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
- dev-qt/qtimageformats:5
- dev-qt/qtsvg:5
-"
-
-BDEPEND="${CDEPEND}
- dev-lang/swig
- app-doc/doxygen
- dev-qt/linguist-tools
-"
-
-RDEPEND="${CDEPEND}
- x11-themes/hicolor-icon-theme
- dev-libs/openssl
- dev-libs/libgcrypt
- media-libs/libpng
- net-dns/c-ares
- cryptopp? ( dev-libs/crypto++ )
- app-arch/xz-utils
- dev-libs/libuv
- sqlite? ( dev-db/sqlite:3 )
- dev-libs/libsodium
- zlib? ( sys-libs/zlib )
- curl? ( net-misc/curl[ssl,curl_ssl_openssl] )
- freeimage? ( media-libs/freeimage )
- readline? ( sys-libs/readline:0 )
- dolphin? ( kde-apps/dolphin )
- nautilus? ( >=gnome-base/nautilus-3 )
- thunar? ( xfce-base/thunar )
-"
-
-DOCS=( CREDITS.md README.md )
-PATCHES=( )
-
-if [[ ${PV} != *9999* ]];then
- src_prepare(){
- 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
- if use gnome; then
- if [ -e "${FILESDIR}${P}-gnome.patch" ]; then
- epatch "${FILESDIR}/${P}-gnome.patch"
- fi
- fi
- eapply_user
- cd src/MEGASync/mega
- eautoreconf
- }
-fi
-
-src_configure(){
- cd "${S}"/src/MEGASync/mega
- econf \
- "--disable-silent-rules" \
- "--disable-curl-checks" \
- "--disable-megaapi" \
- $(use_with zlib) \
- $(use_with sqlite) \
- $(use_with cryptopp) \
- "--with-cares" \
- $(use_with curl) \
- "--without-termcap" \
- $(use_enable threads posix-threads) \
- "--with-sodium" \
- $(use_with freeimage) \
- $(use_with readline) \
- $(use_enable examples) \
- $(use_enable java) \
- $(use_enable php) \
- $(use_enable python) \
- "--enable-chat" \
- "--enable-gcc-hardening"
- cd ../..
- local myeqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- )
- eqmake5 ${myeqmakeargs[@]}
- use dolphin && cmake-utils_src_configure
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-}
-
-src_compile(){
- emake -C src INSTALL_ROOT="${D}" || die
- use dolphin && cmake-utils_src_compile
-}
-
-src_install(){
- use dolphin && cmake-utils_src_install
- einstalldocs
- insinto usr/share/licenses/${PN}
- doins LICENCE.md installer/terms.txt
- cd src/MEGASync
- dobin ${PN}
- cd platform/linux/data
- domenu ${PN}.desktop
- cd icons/hicolor
- for size in 16x16 32x32 48x48 128x128 256x256;do
- doicon -s $size $size/apps/mega.png
- done
-}
diff --git a/net-misc/megasync/megasync-4.3.7.ebuild b/net-misc/megasync/megasync-4.3.7.ebuild
deleted file mode 100644
index ccc5b2c1..00000000
--- a/net-misc/megasync/megasync-4.3.7.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools desktop qmake-utils xdg cmake
-
-DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
-HOMEPAGE="http://mega.co.nz"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-else
- MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of src/MEGASync/mega submodule
- SRC_URI="
- https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
- https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}.0_Linux
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl nautilus php python readline threads thunar"
-
-RDEPEND="
- app-arch/xz-utils
- dev-libs/libgcrypt
- dev-libs/libsodium
- dev-libs/libuv
- media-libs/libpng
- net-dns/c-ares
- x11-themes/hicolor-icon-theme
- cryptopp? ( dev-libs/crypto++ )
- curl? (
- !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
- libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
- )
- dolphin? ( kde-apps/dolphin )
- freeimage? ( media-libs/freeimage )
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- nautilus? ( >=gnome-base/nautilus-3 )
- readline? ( sys-libs/readline:0 )
- sqlite? ( dev-db/sqlite:3 )
- thunar? ( xfce-base/thunar )
- zlib? ( sys-libs/zlib )
-"
-DEPEND="
- ${RDEPEND}
- media-libs/libmediainfo
- media-libs/libraw
- dev-qt/qtcore:5
- dev-qt/qtwidgets:5
- dev-qt/qtgui:5
- dev-qt/qtconcurrent:5
- dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
- dev-qt/qtimageformats:5
- dev-qt/qtsvg:5
-"
-BDEPEND="
- app-doc/doxygen
- dev-lang/swig
- dev-qt/linguist-tools
-"
-
-DOCS=( CREDITS.md README.md )
-
-src_prepare() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega
- mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
- fi
- if use dolphin; then
- cmake_src_prepare
- else
- default
- fi
- cd src/MEGASync/mega
- eautoreconf
-}
-
-src_configure() {
- cd src/MEGASync/mega
- econf \
- "--disable-silent-rules" \
- "--disable-curl-checks" \
- "--disable-megaapi" \
- $(use_with zlib) \
- $(use_with sqlite) \
- $(use_with cryptopp) \
- "--with-cares" \
- $(use_with curl) \
- "--without-termcap" \
- $(use_enable threads posix-threads) \
- "--with-sodium" \
- $(use_with freeimage) \
- $(use_with readline) \
- $(use_enable examples) \
- $(use_enable java) \
- $(use_enable php) \
- $(use_enable python) \
- "--enable-chat" \
- "--enable-gcc-hardening"
- cd ../..
-
- local myeqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- )
-
- eqmake5 ${myeqmakeargs[@]}
- use dolphin && cmake_src_configure
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-}
-
-src_compile() {
- emake -C src INSTALL_ROOT="${D}" || die
- use dolphin && cmake_src_compile
-}
-
-src_install() {
- use dolphin && cmake_src_install
- einstalldocs
- dobin src/MEGASync/${PN}
- insinto usr/share/licenses/${PN}
- doins LICENCE.md installer/terms.txt
- domenu src/MEGASync/platform/linux/data/${PN}.desktop
- cd src/MEGASync/platform/linux/data/icons/hicolor
- for size in 16x16 32x32 48x48 128x128 256x256;do
- doicon -s $size $size/apps/mega.png
- done
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
2021-01-25 8:53 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-01-25 8:53 ` Andrew Ammerlaan
0 siblings, 0 replies; 46+ messages in thread
From: Andrew Ammerlaan @ 2021-01-25 8:53 UTC (permalink / raw
To: gentoo-commits
commit: 6b5c0e6328992b77cf1ab208353ed7ab1ebbb42e
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Jan 25 08:52:53 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Jan 25 08:52:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6b5c0e63
net-misc/megasync: add missing dep
Closes: https://bugs.gentoo.org/766953
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
net-misc/megasync/megasync-4.3.8.0.ebuild | 1 +
net-misc/megasync/megasync-9999.ebuild | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 2a65f6c8..ee012d19 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -61,6 +61,7 @@ DEPEND="
dev-qt/qtdbus:5
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
+ dev-qt/qtx11extras:5
"
BDEPEND="
dev-lang/swig
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 61ef362c..0a6a6939 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -60,6 +60,7 @@ DEPEND="
dev-qt/qtdbus:5
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
+ dev-qt/qtx11extras:5
"
BDEPEND="
app-doc/doxygen
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2021-03-28 10:52 Andrew Ammerlaan
0 siblings, 0 replies; 46+ messages in thread
From: Andrew Ammerlaan @ 2021-03-28 10:52 UTC (permalink / raw
To: gentoo-commits
commit: 85ea90895957eee4f16160a3c4bef9d29e697ccb
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Mar 28 10:34:54 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Mar 28 10:34:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85ea9089
net-misc/megasync: add MissingUseDepDefault
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
net-misc/megasync/megasync-4.3.8.0.ebuild | 4 ++--
net-misc/megasync/megasync-9999.ebuild | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild
index ee012d198..3882e8393 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -36,8 +36,8 @@ RDEPEND="
x11-themes/hicolor-icon-theme
cryptopp? ( dev-libs/crypto++ )
curl? (
- !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
- libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+ !libressl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+ libressl? ( net-misc/curl[ssl,curl_ssl_libressl(-)] )
)
dolphin? ( kde-apps/dolphin )
freeimage? ( media-libs/freeimage )
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 0a6a6939e..96fa9d46c 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -35,8 +35,8 @@ RDEPEND="
x11-themes/hicolor-icon-theme
cryptopp? ( dev-libs/crypto++ )
curl? (
- !libressl? ( net-misc/curl[ssl,curl_ssl_openssl] )
- libressl? ( net-misc/curl[ssl,curl_ssl_libressl] )
+ !libressl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+ libressl? ( net-misc/curl[ssl,curl_ssl_libressl(-)] )
)
dolphin? ( kde-apps/dolphin )
freeimage? ( media-libs/freeimage )
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
2021-05-03 10:11 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
@ 2021-05-03 9:36 ` Andrew Ammerlaan
0 siblings, 0 replies; 46+ messages in thread
From: Andrew Ammerlaan @ 2021-05-03 9:36 UTC (permalink / raw
To: gentoo-commits
commit: 7a99d8d777809b414d03d70ae5a267447c82c031
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon May 3 09:36:39 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon May 3 09:36:39 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a99d8d7
net-misc/megasync: drop libressl
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
net-misc/megasync/megasync-4.3.8.0.ebuild | 10 +++-------
net-misc/megasync/megasync-9999.ebuild | 10 +++-------
2 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 3882e8393..8d9107581 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -24,25 +24,21 @@ fi
LICENSE="MEGA"
SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl nautilus php python readline threads thunar"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus php python readline threads thunar"
RDEPEND="
app-arch/xz-utils
dev-libs/libgcrypt
dev-libs/libsodium
dev-libs/libuv
+ dev-libs/openssl:0=
media-libs/libpng
net-dns/c-ares
x11-themes/hicolor-icon-theme
cryptopp? ( dev-libs/crypto++ )
- curl? (
- !libressl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
- libressl? ( net-misc/curl[ssl,curl_ssl_libressl(-)] )
- )
+ curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
dolphin? ( kde-apps/dolphin )
freeimage? ( media-libs/freeimage )
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
nautilus? ( >=gnome-base/nautilus-3 )
readline? ( sys-libs/readline:0 )
sqlite? ( dev-db/sqlite:3 )
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 96fa9d46c..64ae5753b 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -23,25 +23,21 @@ fi
LICENSE="MEGA"
SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java libressl nautilus php python readline threads thunar"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus php python readline threads thunar"
RDEPEND="
app-arch/xz-utils
dev-libs/libgcrypt
dev-libs/libsodium
dev-libs/libuv
+ dev-libs/openssl:0=
media-libs/libpng
net-dns/c-ares
x11-themes/hicolor-icon-theme
cryptopp? ( dev-libs/crypto++ )
- curl? (
- !libressl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
- libressl? ( net-misc/curl[ssl,curl_ssl_libressl(-)] )
- )
+ curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
dolphin? ( kde-apps/dolphin )
freeimage? ( media-libs/freeimage )
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
nautilus? ( >=gnome-base/nautilus-3 )
readline? ( sys-libs/readline:0 )
sqlite? ( dev-db/sqlite:3 )
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2021-05-06 0:22 Alessandro Barbieri
0 siblings, 0 replies; 46+ messages in thread
From: Alessandro Barbieri @ 2021-05-06 0:22 UTC (permalink / raw
To: gentoo-commits
commit: 4247d662afe536d192d00a7ad6fb4a0ae3f6e2a7
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu May 6 00:18:58 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu May 6 00:22:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4247d662
net-misc/megasync: fix usptream
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
net-misc/megasync/megasync-4.3.8.0.ebuild | 5 ++++-
net-misc/megasync/megasync-9999.ebuild | 5 ++++-
net-misc/megasync/metadata.xml | 3 +++
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild
index 8d9107581..604202807 100644
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ b/net-misc/megasync/megasync-4.3.8.0.ebuild
@@ -6,7 +6,10 @@ EAPI=7
inherit autotools desktop qmake-utils xdg cmake
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
-HOMEPAGE="http://mega.co.nz"
+HOMEPAGE="
+ https://mega.io
+ https://github.com/meganz/MEGAsync
+"
if [[ ${PV} == 9999 ]];then
inherit git-r3
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 64ae5753b..5447073f4 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -6,7 +6,10 @@ EAPI=7
inherit autotools desktop qmake-utils xdg cmake
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
-HOMEPAGE="http://mega.co.nz"
+HOMEPAGE="
+ https://mega.io
+ https://github.com/meganz/MEGAsync
+"
if [[ ${PV} == 9999 ]];then
inherit git-r3
diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index dbb25160c..045a9632b 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,9 @@
<name>Samuel Bernardo</name>
<description>megasync client from mega.nz</description>
</maintainer>
+ <upstream>
+ <remote-id type="github">meganz/MEGAsync</remote-id>
+ </upstream>
<use>
<flag name='dolphin'>Upload your files to your Mega account from Dolphin file manager.</flag>
<flag name='nautilus'>Upload your files to your Mega account from nautilus.</flag>
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2021-05-22 11:42 Marcin Woźniak
0 siblings, 0 replies; 46+ messages in thread
From: Marcin Woźniak @ 2021-05-22 11:42 UTC (permalink / raw
To: gentoo-commits
commit: 11c911d7e031dcd453dd4bdb5f4dd497fb482de5
Author: Marcin Woźniak <y0rune <AT> aol <DOT> com>
AuthorDate: Sat May 22 11:41:51 2021 +0000
Commit: Marcin Woźniak <y0rune <AT> aol <DOT> com>
CommitDate: Sat May 22 11:41:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=11c911d7
net-misc/megasync: Bump version to 4.5.0.0
Signed-off-by: Marcin Woźniak <y0rune <AT> aol.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-4.5.0.0.ebuild | 140 ++++++++++++++++++++++++++++++
2 files changed, 142 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index a97a7f706..099a944ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558 SHA512 597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
+DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e SHA512 f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b SHA512 e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e22221f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b SHA512 e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e22221f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild b/net-misc/megasync/megasync-4.5.0.0.ebuild
new file mode 100644
index 000000000..604202807
--- /dev/null
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools desktop qmake-utils xdg cmake
+
+DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
+HOMEPAGE="
+ https://mega.io
+ https://github.com/meganz/MEGAsync
+"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+else
+ MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of src/MEGASync/mega submodule
+ SRC_URI="
+ https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> ${P}.tar.gz
+ https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
+ "
+ KEYWORDS="~amd64 ~x86"
+ # 4.3.8.0 has no dedicated linux tag
+ S="${WORKDIR}"/MEGAsync-${PV}_Win
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus php python readline threads thunar"
+
+RDEPEND="
+ app-arch/xz-utils
+ dev-libs/libgcrypt
+ dev-libs/libsodium
+ dev-libs/libuv
+ dev-libs/openssl:0=
+ media-libs/libpng
+ net-dns/c-ares
+ x11-themes/hicolor-icon-theme
+ cryptopp? ( dev-libs/crypto++ )
+ curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+ dolphin? ( kde-apps/dolphin )
+ freeimage? ( media-libs/freeimage )
+ nautilus? ( >=gnome-base/nautilus-3 )
+ readline? ( sys-libs/readline:0 )
+ sqlite? ( dev-db/sqlite:3 )
+ thunar? ( xfce-base/thunar )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="
+ ${RDEPEND}
+ media-libs/libmediainfo
+ media-libs/libraw
+ dev-qt/qtcore:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtdbus:5
+ dev-qt/qtimageformats:5
+ dev-qt/qtsvg:5
+ dev-qt/qtx11extras:5
+"
+BDEPEND="
+ dev-lang/swig
+ dev-qt/linguist-tools
+"
+
+DOCS=( CREDITS.md README.md )
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega
+ mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
+ fi
+ if use dolphin; then
+ # use the kde5 CMakeLists instead of the kde 4 version
+ mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt src/MEGAShellExtDolphin/CMakeLists.txt || die
+ cmake_src_prepare
+ else
+ default
+ fi
+ cd src/MEGASync/mega
+ eautoreconf
+}
+
+src_configure() {
+ cd src/MEGASync/mega
+ econf \
+ "--disable-silent-rules" \
+ "--disable-curl-checks" \
+ "--disable-megaapi" \
+ $(use_with zlib) \
+ $(use_with sqlite) \
+ $(use_with cryptopp) \
+ "--with-cares" \
+ $(use_with curl) \
+ "--without-termcap" \
+ $(use_enable threads posix-threads) \
+ "--with-sodium" \
+ $(use_with freeimage) \
+ $(use_with readline) \
+ $(use_enable examples) \
+ $(use_enable java) \
+ $(use_enable php) \
+ $(use_enable python) \
+ "--enable-chat" \
+ "--enable-gcc-hardening"
+ cd ../..
+
+ local myeqmakeargs=(
+ MEGA.pro
+ CONFIG+="release"
+ )
+
+ eqmake5 ${myeqmakeargs[@]}
+ use dolphin && cmake_src_configure
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+}
+
+src_compile() {
+ emake -C src INSTALL_ROOT="${D}" || die
+ use dolphin && cmake_src_compile
+}
+
+src_install() {
+ use dolphin && cmake_src_install
+ einstalldocs
+ dobin src/MEGASync/${PN}
+ insinto usr/share/licenses/${PN}
+ doins LICENCE.md installer/terms.txt
+ domenu src/MEGASync/platform/linux/data/${PN}.desktop
+ cd src/MEGASync/platform/linux/data/icons/hicolor
+ for size in 16x16 32x32 48x48 128x128 256x256;do
+ doicon -s $size $size/apps/mega.png
+ done
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2021-05-24 19:55 Samuel Bernardo
0 siblings, 0 replies; 46+ messages in thread
From: Samuel Bernardo @ 2021-05-24 19:55 UTC (permalink / raw
To: gentoo-commits
commit: 41520970849558a3e4be96879583335b6bb9f9f3
Author: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
AuthorDate: Mon May 24 19:54:43 2021 +0000
Commit: Samuel Bernardo <samuelbernardo.mail <AT> gmail <DOT> com>
CommitDate: Mon May 24 19:54:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=41520970
net-misc/megasync: update sdk hash for 4.5.0.0
Update hash of megasync-sdk-4.5.0.0.tar.gz since it is referenced to a
new commit.
Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Samuel Bernardo <samuelbernardo.mail <AT> gmail.com>
net-misc/megasync/Manifest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 099a944ed..84ee83762 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,4 @@
DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558 SHA512 597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e SHA512 f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b SHA512 e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e22221f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
-DIST megasync-sdk-4.5.0.0.tar.gz 3363057 BLAKE2B fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b SHA512 e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e22221f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
+DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821 SHA512 177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2022-02-09 13:12 Anna Vyalkova
0 siblings, 0 replies; 46+ messages in thread
From: Anna Vyalkova @ 2022-02-09 13:12 UTC (permalink / raw
To: gentoo-commits
commit: d0410417b93a9dca4f0813c8da14e18bcbf7a322
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Wed Feb 9 06:01:52 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Wed Feb 9 13:12:05 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0410417
net-misc/megasync: fix VariableScope
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
net-misc/megasync/megasync-4.5.0.0.ebuild | 8 ++++----
net-misc/megasync/megasync-9999.ebuild | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild b/net-misc/megasync/megasync-4.5.0.0.ebuild
index 54c24108f..52f96e01e 100644
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.5.0.0.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools desktop qmake-utils xdg cmake
@@ -132,17 +132,17 @@ src_configure() {
}
src_compile() {
- emake -C src INSTALL_ROOT="${D}" || die
+ emake -C src INSTALL_ROOT=. || die
use dolphin && cmake_src_compile
}
src_install() {
use dolphin && cmake_src_install
einstalldocs
+
dobin src/MEGASync/${PN}
- insinto usr/share/licenses/${PN}
- doins LICENCE.md installer/terms.txt
domenu src/MEGASync/platform/linux/data/${PN}.desktop
+
cd src/MEGASync/platform/linux/data/icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 54c24108f..52f96e01e 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit autotools desktop qmake-utils xdg cmake
@@ -132,17 +132,17 @@ src_configure() {
}
src_compile() {
- emake -C src INSTALL_ROOT="${D}" || die
+ emake -C src INSTALL_ROOT=. || die
use dolphin && cmake_src_compile
}
src_install() {
use dolphin && cmake_src_install
einstalldocs
+
dobin src/MEGASync/${PN}
- insinto usr/share/licenses/${PN}
- doins LICENCE.md installer/terms.txt
domenu src/MEGASync/platform/linux/data/${PN}.desktop
+
cd src/MEGASync/platform/linux/data/icons/hicolor
for size in 16x16 32x32 48x48 128x128 256x256;do
doicon -s $size $size/apps/mega.png
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2023-11-03 3:37 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2023-11-03 3:37 UTC (permalink / raw
To: gentoo-commits
commit: 579e02f1642884ea7cbb3d0dd13907a3aeb65b4d
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Nov 3 03:35:40 2023 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Fri Nov 3 03:36:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=579e02f1
net-misc/megasync: drop 4.3.8.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-4.3.8.0.ebuild | 140 ------------------------------
2 files changed, 142 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 0230088c95..c522358232 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,6 +1,4 @@
DIST megasync-4.10.0.0.tar.gz 20254658 BLAKE2B c36a715ec4da883f5f8b9bf2f9f223b0701ba7b74399cba448bbf93dbc210bc2b3ff4b538af0eba08ea8a92f0134749fa2eeb3eba00b1de6cfad5d42117d2ab8 SHA512 3f37c39dd0552e64f802cebb63f275a8cbc2b445aad1f74576b732022563f79c8264257494f7778d6fec6dff98f06cc7276022edc6e6279bd6e683fdcfcddb94
-DIST megasync-4.3.8.0.tar.gz 16019709 BLAKE2B 493ac0df0e8ca5c6617e493b5b3d81e45cedf2212a83ec9f5f6c07eee6fdf1d749b3735e10082b89f376f261ebfb825a3a7c457b8aa3be64702cddca34558558 SHA512 597b1d4a5a806514449b55e8bf81688b3c6d275372ebb56a45841b2f4c7caf8d9db363cf627fa0b6b84f4c662dc8cf87179b4478cd50b7b7efa1e23a9dca3389
DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e SHA512 f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
DIST megasync-sdk-4.10.0.0.tar.gz 3696547 BLAKE2B 13f69a0bd24a4aac6e73af1bd883bd0abdfd5ceef6e9e558286fc9002acd5f4822c762b57c4ca7fc0000d3f5ec3a1a00459e3b0a2d2d1c4963d7fc8caacd2b6a SHA512 8dcbd0a0b086616a432ff0979695ddb799a01a32550f0777ddf26fe795b340a754dbcd3f77af55e9286673bca3c366cdaa07432c1c2b552b2ecf23f9500e8a2c
-DIST megasync-sdk-4.3.8.0.tar.gz 3363057 BLAKE2B fbc7006a5559a5e2220cd9f9f398c835a1de919624e4d00d052580cf7e3ac4bae2ec1acbd6650b1eaef1218363203837cad562875067e524e067a53d5553567b SHA512 e6ec612fb11be4566d091d4159429ee50574081753caae3b1dd4e22221f2b213cfc0787b52051cbcdf9b0069869df6c95aa80951bdc3fa5098dd26fa0a2e7f7e
DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821 SHA512 177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140
diff --git a/net-misc/megasync/megasync-4.3.8.0.ebuild b/net-misc/megasync/megasync-4.3.8.0.ebuild
deleted file mode 100644
index 604202807b..0000000000
--- a/net-misc/megasync/megasync-4.3.8.0.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools desktop qmake-utils xdg cmake
-
-DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
-HOMEPAGE="
- https://mega.io
- https://github.com/meganz/MEGAsync
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
-else
- MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of src/MEGASync/mega submodule
- SRC_URI="
- https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> ${P}.tar.gz
- https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
- "
- KEYWORDS="~amd64 ~x86"
- # 4.3.8.0 has no dedicated linux tag
- S="${WORKDIR}"/MEGAsync-${PV}_Win
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus php python readline threads thunar"
-
-RDEPEND="
- app-arch/xz-utils
- dev-libs/libgcrypt
- dev-libs/libsodium
- dev-libs/libuv
- dev-libs/openssl:0=
- media-libs/libpng
- net-dns/c-ares
- x11-themes/hicolor-icon-theme
- cryptopp? ( dev-libs/crypto++ )
- curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
- dolphin? ( kde-apps/dolphin )
- freeimage? ( media-libs/freeimage )
- nautilus? ( >=gnome-base/nautilus-3 )
- readline? ( sys-libs/readline:0 )
- sqlite? ( dev-db/sqlite:3 )
- thunar? ( xfce-base/thunar )
- zlib? ( sys-libs/zlib )
-"
-DEPEND="
- ${RDEPEND}
- media-libs/libmediainfo
- media-libs/libraw
- dev-qt/qtcore:5
- dev-qt/qtwidgets:5
- dev-qt/qtgui:5
- dev-qt/qtconcurrent:5
- dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
- dev-qt/qtimageformats:5
- dev-qt/qtsvg:5
- dev-qt/qtx11extras:5
-"
-BDEPEND="
- dev-lang/swig
- dev-qt/linguist-tools
-"
-
-DOCS=( CREDITS.md README.md )
-
-CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
-
-src_prepare() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega
- mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
- fi
- if use dolphin; then
- # use the kde5 CMakeLists instead of the kde 4 version
- mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt src/MEGAShellExtDolphin/CMakeLists.txt || die
- cmake_src_prepare
- else
- default
- fi
- cd src/MEGASync/mega
- eautoreconf
-}
-
-src_configure() {
- cd src/MEGASync/mega
- econf \
- "--disable-silent-rules" \
- "--disable-curl-checks" \
- "--disable-megaapi" \
- $(use_with zlib) \
- $(use_with sqlite) \
- $(use_with cryptopp) \
- "--with-cares" \
- $(use_with curl) \
- "--without-termcap" \
- $(use_enable threads posix-threads) \
- "--with-sodium" \
- $(use_with freeimage) \
- $(use_with readline) \
- $(use_enable examples) \
- $(use_enable java) \
- $(use_enable php) \
- $(use_enable python) \
- "--enable-chat" \
- "--enable-gcc-hardening"
- cd ../..
-
- local myeqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- )
-
- eqmake5 ${myeqmakeargs[@]}
- use dolphin && cmake_src_configure
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-}
-
-src_compile() {
- emake -C src INSTALL_ROOT="${D}" || die
- use dolphin && cmake_src_compile
-}
-
-src_install() {
- use dolphin && cmake_src_install
- einstalldocs
- dobin src/MEGASync/${PN}
- insinto usr/share/licenses/${PN}
- doins LICENCE.md installer/terms.txt
- domenu src/MEGASync/platform/linux/data/${PN}.desktop
- cd src/MEGASync/platform/linux/data/icons/hicolor
- for size in 16x16 32x32 48x48 128x128 256x256;do
- doicon -s $size $size/apps/mega.png
- done
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2023-11-03 13:49 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2023-11-03 13:49 UTC (permalink / raw
To: gentoo-commits
commit: ffd3d542417f5295b18c341b174bb398f46b05a0
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Nov 3 13:47:10 2023 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Fri Nov 3 13:48:17 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ffd3d542
net-misc/megasync: fix freeimage USE flag
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/megasync-4.10.0.0.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/net-misc/megasync/megasync-4.10.0.0.ebuild b/net-misc/megasync/megasync-4.10.0.0.ebuild
index 6f32a49537..9eb43c9724 100644
--- a/net-misc/megasync/megasync-4.10.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.10.0.0.ebuild
@@ -29,7 +29,7 @@ fi
LICENSE="MEGA"
SLOT="0"
-IUSE="+cryptopp +curl +freeimage +sqlite +zlib dolphin examples java nautilus php python readline threads thunar"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus php python readline threads thunar"
RDEPEND="
app-arch/xz-utils
@@ -121,6 +121,7 @@ src_configure() {
local myeqmakeargs=(
MEGA.pro
CONFIG+="release"
+ $(usex freeimage "" "CONFIG+=nofreeimage")
)
eqmake5 ${myeqmakeargs[@]}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2023-11-14 14:30 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2023-11-14 14:30 UTC (permalink / raw
To: gentoo-commits
commit: 5dd335988fa9622079c7599a373a31ff1bff4e75
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Nov 14 14:27:09 2023 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Nov 14 14:27:09 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5dd33598
net-misc/megasync: add 4.11.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-4.11.0.0.ebuild | 149 +++++++++++++++++++++++++++++
2 files changed, 151 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index c522358232..8d5dff5f09 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,6 @@
DIST megasync-4.10.0.0.tar.gz 20254658 BLAKE2B c36a715ec4da883f5f8b9bf2f9f223b0701ba7b74399cba448bbf93dbc210bc2b3ff4b538af0eba08ea8a92f0134749fa2eeb3eba00b1de6cfad5d42117d2ab8 SHA512 3f37c39dd0552e64f802cebb63f275a8cbc2b445aad1f74576b732022563f79c8264257494f7778d6fec6dff98f06cc7276022edc6e6279bd6e683fdcfcddb94
+DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5 SHA512 ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e SHA512 f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
DIST megasync-sdk-4.10.0.0.tar.gz 3696547 BLAKE2B 13f69a0bd24a4aac6e73af1bd883bd0abdfd5ceef6e9e558286fc9002acd5f4822c762b57c4ca7fc0000d3f5ec3a1a00459e3b0a2d2d1c4963d7fc8caacd2b6a SHA512 8dcbd0a0b086616a432ff0979695ddb799a01a32550f0777ddf26fe795b340a754dbcd3f77af55e9286673bca3c366cdaa07432c1c2b552b2ecf23f9500e8a2c
+DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780 SHA512 471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821 SHA512 177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140
diff --git a/net-misc/megasync/megasync-4.11.0.0.ebuild b/net-misc/megasync/megasync-4.11.0.0.ebuild
new file mode 100644
index 0000000000..e1d99aa78a
--- /dev/null
+++ b/net-misc/megasync/megasync-4.11.0.0.ebuild
@@ -0,0 +1,149 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools cmake 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
+"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ EGIT_BRANCH="master"
+ EGIT_SUBMODULES=( '*' )
+else
+ MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # 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
+ "
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus nemo php python readline threads thunar"
+
+RDEPEND="
+ app-arch/xz-utils
+ dev-libs/libgcrypt
+ dev-libs/libsodium
+ dev-libs/libuv
+ dev-libs/openssl:0=
+ media-libs/libpng
+ net-dns/c-ares
+ x11-themes/hicolor-icon-theme
+ cryptopp? ( dev-libs/crypto++ )
+ curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
+ dolphin? ( kde-apps/dolphin )
+ freeimage? ( media-libs/freeimage )
+ nautilus? ( >=gnome-base/nautilus-43 )
+ nemo? ( gnome-extra/nemo )
+ readline? ( sys-libs/readline:0 )
+ sqlite? ( dev-db/sqlite:3 )
+ thunar? ( xfce-base/thunar )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="
+ ${RDEPEND}
+ media-libs/libmediainfo
+ media-libs/libraw
+ dev-qt/qtcore:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtgui:5
+ dev-qt/qtconcurrent:5
+ dev-qt/qtnetwork:5
+ dev-qt/qtdbus:5
+ dev-qt/qtimageformats:5
+ dev-qt/qtsvg:5
+ dev-qt/qtx11extras:5
+"
+BDEPEND="
+ dev-lang/swig
+ dev-qt/linguist-tools
+ dolphin? ( kde-frameworks/extra-cmake-modules )
+"
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega
+ fi
+
+ if has_version ">=media-video/ffmpeg-6.0"; then
+ eapply "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ fi
+ eapply "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+
+ if use dolphin; then
+ cmake_src_prepare
+ else
+ default
+ fi
+
+ cd "${S}/src/MEGASync/mega"
+ eautoreconf
+}
+
+src_configure() {
+ cd "${S}/src/MEGASync/mega"
+ econf \
+ "--disable-silent-rules" \
+ "--disable-curl-checks" \
+ "--disable-megaapi" \
+ $(use_with zlib) \
+ $(use_with sqlite) \
+ $(use_with cryptopp) \
+ "--with-cares" \
+ $(use_with curl) \
+ "--without-termcap" \
+ $(use_enable threads posix-threads) \
+ "--with-sodium" \
+ $(use_with freeimage) \
+ $(use_with readline) \
+ $(use_enable examples) \
+ $(use_enable java) \
+ $(use_enable php) \
+ $(use_enable python)
+
+ cd "${S}/src"
+ local myeqmakeargs=(
+ MEGA.pro
+ CONFIG+="release"
+ $(usex freeimage "" "CONFIG+=nofreeimage")
+ $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
+ $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
+ $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
+ )
+
+ eqmake5 ${myeqmakeargs[@]}
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+
+ use dolphin && cmake_src_configure
+}
+
+src_compile() {
+ emake -C src
+
+ use dolphin && cmake_src_compile
+}
+
+src_install() {
+ emake -C src INSTALL_ROOT="${D}" install
+ dobin "src/MEGASync/${PN}"
+ dodoc CREDITS.md README.md
+
+ rm -rf "${D}"/usr/share/doc/megasync
+ rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark
+
+ use dolphin && cmake_src_install
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2023-11-14 14:30 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2023-11-14 14:30 UTC (permalink / raw
To: gentoo-commits
commit: 343cecdeeece284313cea82ca0e5bc6008374b18
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Nov 14 14:29:14 2023 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Nov 14 14:29:14 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=343cecde
net-misc/megasync: drop 4.5.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-4.5.0.0.ebuild | 150 ------------------------------
2 files changed, 152 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 8d5dff5f09..8850fd168a 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,6 +1,4 @@
DIST megasync-4.10.0.0.tar.gz 20254658 BLAKE2B c36a715ec4da883f5f8b9bf2f9f223b0701ba7b74399cba448bbf93dbc210bc2b3ff4b538af0eba08ea8a92f0134749fa2eeb3eba00b1de6cfad5d42117d2ab8 SHA512 3f37c39dd0552e64f802cebb63f275a8cbc2b445aad1f74576b732022563f79c8264257494f7778d6fec6dff98f06cc7276022edc6e6279bd6e683fdcfcddb94
DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5 SHA512 ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
-DIST megasync-4.5.0.0.tar.gz 16162074 BLAKE2B 9ad09b61614992fc48572c168bb3b9692145289b945c01e371babe78a3b75bcc20a842f524279f6db35f8d93c914e9ba68ee5d187614b5041638813cb304531e SHA512 f0c78d741be4a9ee9411be63667ea76cca3ff50ab70a81c904011e1ce1c6f0287ab5c90fc2b1a7a7c040b2d568819f91ecd10f8d570b22231df7b99166eacb11
DIST megasync-sdk-4.10.0.0.tar.gz 3696547 BLAKE2B 13f69a0bd24a4aac6e73af1bd883bd0abdfd5ceef6e9e558286fc9002acd5f4822c762b57c4ca7fc0000d3f5ec3a1a00459e3b0a2d2d1c4963d7fc8caacd2b6a SHA512 8dcbd0a0b086616a432ff0979695ddb799a01a32550f0777ddf26fe795b340a754dbcd3f77af55e9286673bca3c366cdaa07432c1c2b552b2ecf23f9500e8a2c
DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780 SHA512 471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
-DIST megasync-sdk-4.5.0.0.tar.gz 3497367 BLAKE2B 1594d792f38df4df29acd25ea5c920acf27410513544abc618a692e3ed2e6e1a459123b043a9aa3bfdc4647d753d6c14cc5ee1bde02abd6c0f6d7ce66b118821 SHA512 177b9e31f2aacfa370132657bb70ec315edcfbcfe043f067f4c67b69a47ade7235699183541de2462d2ab2a18b4688006cd938ae80da603df9bd79d908b58140
diff --git a/net-misc/megasync/megasync-4.5.0.0.ebuild b/net-misc/megasync/megasync-4.5.0.0.ebuild
deleted file mode 100644
index 52f96e01ed..0000000000
--- a/net-misc/megasync/megasync-4.5.0.0.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools desktop qmake-utils xdg cmake
-
-DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
-HOMEPAGE="
- https://mega.io
- https://github.com/meganz/MEGAsync
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of src/MEGASync/mega submodule
- SRC_URI="
- https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> ${P}.tar.gz
- https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
- "
- KEYWORDS="~amd64 ~x86"
- # 4.5.0.0 has no dedicated linux tag
- S="${WORKDIR}"/MEGAsync-${PV}_Win
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus php python readline threads thunar"
-
-RDEPEND="
- app-arch/xz-utils
- dev-libs/libgcrypt
- dev-libs/libsodium
- dev-libs/libuv
- dev-libs/openssl:0=
- media-libs/libpng
- net-dns/c-ares
- x11-themes/hicolor-icon-theme
- cryptopp? ( dev-libs/crypto++ )
- curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
- dolphin? ( kde-apps/dolphin )
- freeimage? ( media-libs/freeimage )
- nautilus? ( >=gnome-base/nautilus-3 )
- readline? ( sys-libs/readline:0 )
- sqlite? ( dev-db/sqlite:3 )
- thunar? ( xfce-base/thunar )
- zlib? ( sys-libs/zlib )
-"
-DEPEND="
- ${RDEPEND}
- media-libs/libmediainfo
- media-libs/libraw
- dev-qt/qtcore:5
- dev-qt/qtwidgets:5
- dev-qt/qtgui:5
- dev-qt/qtconcurrent:5
- dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
- dev-qt/qtimageformats:5
- dev-qt/qtsvg:5
- dev-qt/qtx11extras:5
-"
-BDEPEND="
- dev-lang/swig
- dev-qt/linguist-tools
-"
-
-DOCS=( CREDITS.md README.md )
-
-CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
-
-src_prepare() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega
- mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
- fi
- if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
- cd "${S}/src/MEGASync/mega"
- eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
- cd "${S}"
- fi
- if has_version ">=media-video/ffmpeg-4.4" && [ -e "${FILESDIR}/${P}_ffmpeg.patch" ]; then
- eapply "${FILESDIR}/${P}_ffmpeg.patch"
- fi
- if use dolphin; then
- # use the kde5 CMakeLists instead of the kde 4 version
- mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt src/MEGAShellExtDolphin/CMakeLists.txt || die
- cmake_src_prepare
- else
- default
- fi
- cd "${S}/src/MEGASync/mega"
- eautoreconf
-}
-
-src_configure() {
- cd "${S}/src/MEGASync/mega"
- econf \
- "--disable-silent-rules" \
- "--disable-curl-checks" \
- "--disable-megaapi" \
- $(use_with zlib) \
- $(use_with sqlite) \
- $(use_with cryptopp) \
- "--with-cares" \
- $(use_with curl) \
- "--without-termcap" \
- $(use_enable threads posix-threads) \
- "--with-sodium" \
- $(use_with freeimage) \
- $(use_with readline) \
- $(use_enable examples) \
- $(use_enable java) \
- $(use_enable php) \
- $(use_enable python) \
- "--enable-chat" \
- "--enable-gcc-hardening"
- cd "${S}/src"
-
- local myeqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- )
-
- eqmake5 ${myeqmakeargs[@]}
- use dolphin && cmake_src_configure
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-}
-
-src_compile() {
- emake -C src INSTALL_ROOT=. || die
- use dolphin && cmake_src_compile
-}
-
-src_install() {
- use dolphin && cmake_src_install
- einstalldocs
-
- dobin src/MEGASync/${PN}
- domenu src/MEGASync/platform/linux/data/${PN}.desktop
-
- cd src/MEGASync/platform/linux/data/icons/hicolor
- for size in 16x16 32x32 48x48 128x128 256x256;do
- doicon -s $size $size/apps/mega.png
- done
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2023-11-16 15:28 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2023-11-16 15:28 UTC (permalink / raw
To: gentoo-commits
commit: ca76f952b8cef293fa06485cc46e4410976b601c
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Nov 16 15:25:32 2023 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Nov 16 15:25:32 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ca76f952
net-misc/megasync: cleanup USE flags
Most of the old flags were useless, not affecting the actual binary.
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/megasync-4.11.0.0.ebuild | 60 +++++++++++-------------------
1 file changed, 22 insertions(+), 38 deletions(-)
diff --git a/net-misc/megasync/megasync-4.11.0.0.ebuild b/net-misc/megasync/megasync-4.11.0.0.ebuild
index e1d99aa78a..435105f4a9 100644
--- a/net-misc/megasync/megasync-4.11.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.11.0.0.ebuild
@@ -29,32 +29,15 @@ fi
LICENSE="MEGA"
SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus nemo php python readline threads thunar"
+IUSE="dolphin freeimage nautilus nemo threads thunar"
-RDEPEND="
- app-arch/xz-utils
+DEPEND="
+ dev-db/sqlite:3
+ dev-libs/crypto++
dev-libs/libgcrypt
dev-libs/libsodium
dev-libs/libuv
dev-libs/openssl:0=
- media-libs/libpng
- net-dns/c-ares
- x11-themes/hicolor-icon-theme
- cryptopp? ( dev-libs/crypto++ )
- curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
- dolphin? ( kde-apps/dolphin )
- freeimage? ( media-libs/freeimage )
- nautilus? ( >=gnome-base/nautilus-43 )
- nemo? ( gnome-extra/nemo )
- readline? ( sys-libs/readline:0 )
- sqlite? ( dev-db/sqlite:3 )
- thunar? ( xfce-base/thunar )
- zlib? ( sys-libs/zlib )
-"
-DEPEND="
- ${RDEPEND}
- media-libs/libmediainfo
- media-libs/libraw
dev-qt/qtcore:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
@@ -64,10 +47,24 @@ DEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
dev-qt/qtx11extras:5
+ media-libs/libmediainfo
+ media-libs/libpng
+ media-libs/libraw
+ net-dns/c-ares
+ net-misc/curl[ssl,curl_ssl_openssl(-)]
+ sys-libs/zlib
+ dolphin? ( kde-apps/dolphin )
+ freeimage? ( media-libs/freeimage )
+ nautilus? ( >=gnome-base/nautilus-43 )
+ nemo? ( gnome-extra/nemo )
+ thunar? ( xfce-base/thunar )
+"
+RDEPEND="
+ ${DEPEND}
+ x11-themes/hicolor-icon-theme
"
BDEPEND="
- dev-lang/swig
- dev-qt/linguist-tools
+ dev-qt/linguist-tools:5
dolphin? ( kde-frameworks/extra-cmake-modules )
"
@@ -97,23 +94,10 @@ src_prepare() {
src_configure() {
cd "${S}/src/MEGASync/mega"
econf \
- "--disable-silent-rules" \
"--disable-curl-checks" \
- "--disable-megaapi" \
- $(use_with zlib) \
- $(use_with sqlite) \
- $(use_with cryptopp) \
- "--with-cares" \
- $(use_with curl) \
- "--without-termcap" \
+ "--disable-examples" \
$(use_enable threads posix-threads) \
- "--with-sodium" \
- $(use_with freeimage) \
- $(use_with readline) \
- $(use_enable examples) \
- $(use_enable java) \
- $(use_enable php) \
- $(use_enable python)
+ $(use_with freeimage)
cd "${S}/src"
local myeqmakeargs=(
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2023-11-19 11:25 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2023-11-19 11:25 UTC (permalink / raw
To: gentoo-commits
commit: d6c9e4f85baae7c7f033b0cb63cfcdd4a75b1a3e
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun Nov 19 11:24:56 2023 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sun Nov 19 11:24:56 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6c9e4f8
net-misc/megasync: add myself as a maintainer
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/metadata.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index 548893d860..011305ed0d 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -6,6 +6,10 @@
<name>Samuel Bernardo</name>
<description>megasync client from mega.nz</description>
</maintainer>
+ <maintainer type="person">
+ <email>pastalian46@gmail.com</email>
+ <name>Takuya Wakazono</name>
+ </maintainer>
<upstream>
<remote-id type="github">meganz/MEGAsync</remote-id>
</upstream>
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2023-11-23 6:09 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2023-11-23 6:09 UTC (permalink / raw
To: gentoo-commits
commit: ec7a13b111388a2d9fe857ff037f549a1bf413c2
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Nov 23 05:51:04 2023 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Nov 23 05:51:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec7a13b1
net-misc/megasync: sync live
Closes: https://bugs.gentoo.org/893436
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/megasync-9999.ebuild | 126 ++++++++++++++-------------------
1 file changed, 55 insertions(+), 71 deletions(-)
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 52f96e01ed..0d4b8ab3f4 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit autotools desktop qmake-utils xdg cmake
+inherit autotools cmake qmake-utils xdg
DESCRIPTION="The official Qt-based program for syncing your MEGA account in your PC"
HOMEPAGE="
@@ -17,43 +17,26 @@ if [[ ${PV} == 9999 ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
else
- MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of src/MEGASync/mega submodule
+ MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # commit of src/MEGASync/mega submodule
+ MEGA_TAG_SUFFIX="Win"
SRC_URI="
- https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> ${P}.tar.gz
+ 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
"
KEYWORDS="~amd64 ~x86"
- # 4.5.0.0 has no dedicated linux tag
- S="${WORKDIR}"/MEGAsync-${PV}_Win
+ S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
fi
LICENSE="MEGA"
SLOT="0"
-IUSE="+cryptopp +curl +sqlite +zlib dolphin examples freeimage java nautilus php python readline threads thunar"
+IUSE="dolphin freeimage nautilus nemo threads thunar"
-RDEPEND="
- app-arch/xz-utils
- dev-libs/libgcrypt
- dev-libs/libsodium
- dev-libs/libuv
- dev-libs/openssl:0=
- media-libs/libpng
- net-dns/c-ares
- x11-themes/hicolor-icon-theme
- cryptopp? ( dev-libs/crypto++ )
- curl? ( net-misc/curl[ssl,curl_ssl_openssl(-)] )
- dolphin? ( kde-apps/dolphin )
- freeimage? ( media-libs/freeimage )
- nautilus? ( >=gnome-base/nautilus-3 )
- readline? ( sys-libs/readline:0 )
- sqlite? ( dev-db/sqlite:3 )
- thunar? ( xfce-base/thunar )
- zlib? ( sys-libs/zlib )
-"
DEPEND="
- ${RDEPEND}
- media-libs/libmediainfo
- media-libs/libraw
+ dev-db/sqlite:3
+ dev-libs/crypto++:=
+ dev-libs/libsodium:=
+ dev-libs/libuv:=
+ dev-libs/openssl:0=
dev-qt/qtcore:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
@@ -63,36 +46,48 @@ DEPEND="
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
dev-qt/qtx11extras:5
+ media-libs/libmediainfo
+ media-libs/libraw
+ net-dns/c-ares:=
+ net-misc/curl[ssl,curl_ssl_openssl(-)]
+ sys-libs/zlib
+ dolphin? ( kde-apps/dolphin )
+ freeimage? (
+ media-libs/freeimage
+ media-video/ffmpeg:=
+ )
+ nautilus? ( >=gnome-base/nautilus-43 )
+ nemo? ( gnome-extra/nemo )
+ thunar? ( xfce-base/thunar )
+"
+RDEPEND="
+ ${DEPEND}
+ x11-themes/hicolor-icon-theme
"
BDEPEND="
- dev-lang/swig
- dev-qt/linguist-tools
+ dev-qt/linguist-tools:5
+ dolphin? ( kde-frameworks/extra-cmake-modules )
"
-DOCS=( CREDITS.md README.md )
-
CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
src_prepare() {
if [[ ${PV} != 9999 ]]; then
rmdir src/MEGASync/mega
- mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
- fi
- if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
- cd "${S}/src/MEGASync/mega"
- eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
- cd "${S}"
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega
fi
- if has_version ">=media-video/ffmpeg-4.4" && [ -e "${FILESDIR}/${P}_ffmpeg.patch" ]; then
- eapply "${FILESDIR}/${P}_ffmpeg.patch"
+
+ if has_version ">=media-video/ffmpeg-6.0"; then
+ eapply "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
fi
+ eapply "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+
if use dolphin; then
- # use the kde5 CMakeLists instead of the kde 4 version
- mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt src/MEGAShellExtDolphin/CMakeLists.txt || die
cmake_src_prepare
else
default
fi
+
cd "${S}/src/MEGASync/mega"
eautoreconf
}
@@ -100,51 +95,40 @@ src_prepare() {
src_configure() {
cd "${S}/src/MEGASync/mega"
econf \
- "--disable-silent-rules" \
"--disable-curl-checks" \
- "--disable-megaapi" \
- $(use_with zlib) \
- $(use_with sqlite) \
- $(use_with cryptopp) \
- "--with-cares" \
- $(use_with curl) \
- "--without-termcap" \
+ "--disable-examples" \
$(use_enable threads posix-threads) \
- "--with-sodium" \
- $(use_with freeimage) \
- $(use_with readline) \
- $(use_enable examples) \
- $(use_enable java) \
- $(use_enable php) \
- $(use_enable python) \
- "--enable-chat" \
- "--enable-gcc-hardening"
- cd "${S}/src"
+ $(use_with freeimage)
+ cd "${S}/src"
local myeqmakeargs=(
MEGA.pro
CONFIG+="release"
+ $(usex freeimage "" "CONFIG+=nofreeimage")
+ $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
+ $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
+ $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
)
eqmake5 ${myeqmakeargs[@]}
- use dolphin && cmake_src_configure
$(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+
+ use dolphin && cmake_src_configure
}
src_compile() {
- emake -C src INSTALL_ROOT=. || die
+ emake -C src
+
use dolphin && cmake_src_compile
}
src_install() {
- use dolphin && cmake_src_install
- einstalldocs
+ emake -C src INSTALL_ROOT="${D}" install
+ dobin "src/MEGASync/${PN}"
+ dodoc CREDITS.md README.md
- dobin src/MEGASync/${PN}
- domenu src/MEGASync/platform/linux/data/${PN}.desktop
+ rm -rf "${D}"/usr/share/doc/megasync
+ rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark
- cd src/MEGASync/platform/linux/data/icons/hicolor
- for size in 16x16 32x32 48x48 128x128 256x256;do
- doicon -s $size $size/apps/mega.png
- done
+ use dolphin && cmake_src_install
}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2023-11-23 6:09 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2023-11-23 6:09 UTC (permalink / raw
To: gentoo-commits
commit: afefb2434447786f65367cc2f74102de2fbc7d0e
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Nov 23 05:49:45 2023 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Nov 23 05:49:45 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=afefb243
net-misc/megasync: add conditional ffmpeg dep
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 --
net-misc/megasync/megasync-4.11.0.0.ebuild | 15 ++++++++-------
2 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 8850fd168a..701233efc4 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-4.10.0.0.tar.gz 20254658 BLAKE2B c36a715ec4da883f5f8b9bf2f9f223b0701ba7b74399cba448bbf93dbc210bc2b3ff4b538af0eba08ea8a92f0134749fa2eeb3eba00b1de6cfad5d42117d2ab8 SHA512 3f37c39dd0552e64f802cebb63f275a8cbc2b445aad1f74576b732022563f79c8264257494f7778d6fec6dff98f06cc7276022edc6e6279bd6e683fdcfcddb94
DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5 SHA512 ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
-DIST megasync-sdk-4.10.0.0.tar.gz 3696547 BLAKE2B 13f69a0bd24a4aac6e73af1bd883bd0abdfd5ceef6e9e558286fc9002acd5f4822c762b57c4ca7fc0000d3f5ec3a1a00459e3b0a2d2d1c4963d7fc8caacd2b6a SHA512 8dcbd0a0b086616a432ff0979695ddb799a01a32550f0777ddf26fe795b340a754dbcd3f77af55e9286673bca3c366cdaa07432c1c2b552b2ecf23f9500e8a2c
DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780 SHA512 471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
diff --git a/net-misc/megasync/megasync-4.11.0.0.ebuild b/net-misc/megasync/megasync-4.11.0.0.ebuild
index 435105f4a9..0d4b8ab3f4 100644
--- a/net-misc/megasync/megasync-4.11.0.0.ebuild
+++ b/net-misc/megasync/megasync-4.11.0.0.ebuild
@@ -33,10 +33,9 @@ IUSE="dolphin freeimage nautilus nemo threads thunar"
DEPEND="
dev-db/sqlite:3
- dev-libs/crypto++
- dev-libs/libgcrypt
- dev-libs/libsodium
- dev-libs/libuv
+ dev-libs/crypto++:=
+ dev-libs/libsodium:=
+ dev-libs/libuv:=
dev-libs/openssl:0=
dev-qt/qtcore:5
dev-qt/qtwidgets:5
@@ -48,13 +47,15 @@ DEPEND="
dev-qt/qtsvg:5
dev-qt/qtx11extras:5
media-libs/libmediainfo
- media-libs/libpng
media-libs/libraw
- net-dns/c-ares
+ net-dns/c-ares:=
net-misc/curl[ssl,curl_ssl_openssl(-)]
sys-libs/zlib
dolphin? ( kde-apps/dolphin )
- freeimage? ( media-libs/freeimage )
+ freeimage? (
+ media-libs/freeimage
+ media-video/ffmpeg:=
+ )
nautilus? ( >=gnome-base/nautilus-43 )
nemo? ( gnome-extra/nemo )
thunar? ( xfce-base/thunar )
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-01-26 10:06 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-01-26 10:06 UTC (permalink / raw
To: gentoo-commits
commit: 7290793c03d2f9da35ff3c3bf8dc7b523c6b10ce
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Jan 26 08:16:17 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Fri Jan 26 08:16:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7290793c
net-misc/megasync: drop 4.11.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-4.11.0.0.ebuild | 134 -----------------------------
2 files changed, 136 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index bf22d45e39..66528caaaa 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5 SHA512 ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
DIST megasync-4.12.0.0.tar.gz 25266988 BLAKE2B 0c126feb273d6d11e05a3ec3a5e7925f27bfd86e2ef23306fce4c9b2564b178dc5918b7bef9dcea33a8a5d0462e9c1e8d771c299de6e0f8ed5d4bed616ed58f9 SHA512 fd3ea7b624e66e3d4576c436d983a027e711783d41c585eedf540ba6bbf25ab9128ab4a3c0d2e6806705d54cea5e470d7339d49cc72a635385861f9efd64faf9
-DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780 SHA512 471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
DIST megasync-sdk-4.12.0.0.tar.gz 3580874 BLAKE2B 7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3 SHA512 e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
diff --git a/net-misc/megasync/megasync-4.11.0.0.ebuild b/net-misc/megasync/megasync-4.11.0.0.ebuild
deleted file mode 100644
index 0d4b8ab3f4..0000000000
--- a/net-misc/megasync/megasync-4.11.0.0.ebuild
+++ /dev/null
@@ -1,134 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools cmake 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
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # 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
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin freeimage nautilus nemo threads thunar"
-
-DEPEND="
- dev-db/sqlite:3
- dev-libs/crypto++:=
- dev-libs/libsodium:=
- dev-libs/libuv:=
- dev-libs/openssl:0=
- dev-qt/qtcore:5
- dev-qt/qtwidgets:5
- dev-qt/qtgui:5
- dev-qt/qtconcurrent:5
- dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
- dev-qt/qtimageformats:5
- dev-qt/qtsvg:5
- dev-qt/qtx11extras:5
- media-libs/libmediainfo
- media-libs/libraw
- net-dns/c-ares:=
- net-misc/curl[ssl,curl_ssl_openssl(-)]
- sys-libs/zlib
- dolphin? ( kde-apps/dolphin )
- freeimage? (
- media-libs/freeimage
- media-video/ffmpeg:=
- )
- nautilus? ( >=gnome-base/nautilus-43 )
- nemo? ( gnome-extra/nemo )
- thunar? ( xfce-base/thunar )
-"
-RDEPEND="
- ${DEPEND}
- x11-themes/hicolor-icon-theme
-"
-BDEPEND="
- dev-qt/linguist-tools:5
- dolphin? ( kde-frameworks/extra-cmake-modules )
-"
-
-CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
-
-src_prepare() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega
- fi
-
- if has_version ">=media-video/ffmpeg-6.0"; then
- eapply "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
- fi
- eapply "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
-
- if use dolphin; then
- cmake_src_prepare
- else
- default
- fi
-
- cd "${S}/src/MEGASync/mega"
- eautoreconf
-}
-
-src_configure() {
- cd "${S}/src/MEGASync/mega"
- econf \
- "--disable-curl-checks" \
- "--disable-examples" \
- $(use_enable threads posix-threads) \
- $(use_with freeimage)
-
- cd "${S}/src"
- local myeqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- $(usex freeimage "" "CONFIG+=nofreeimage")
- $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
- $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
- $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
- )
-
- eqmake5 ${myeqmakeargs[@]}
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
-
- use dolphin && cmake_src_configure
-}
-
-src_compile() {
- emake -C src
-
- use dolphin && cmake_src_compile
-}
-
-src_install() {
- emake -C src INSTALL_ROOT="${D}" install
- dobin "src/MEGASync/${PN}"
- dodoc CREDITS.md README.md
-
- rm -rf "${D}"/usr/share/doc/megasync
- rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark
-
- use dolphin && cmake_src_install
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-01-26 10:06 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-01-26 10:06 UTC (permalink / raw
To: gentoo-commits
commit: cd5a69edc3604a6348eb3c6eeb4ddeb447c7b5ab
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Jan 26 08:15:45 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Fri Jan 26 08:15:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd5a69ed
net-misc/megasync: add 4.12.0.0, sync live
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 ++
...gasync-9999.ebuild => megasync-4.12.0.0.ebuild} | 41 +++++++++++-----------
net-misc/megasync/megasync-9999.ebuild | 41 +++++++++++-----------
3 files changed, 44 insertions(+), 40 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 701233efc4..bf22d45e39 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-4.11.0.0.tar.gz 20313571 BLAKE2B 8c5c58912fef730bf3e4c56c5de0b2c6f4825be6c91ec19e6c5f5946a76efa5fd9f36f6afdee3d886b31a13c924dea81f7999d29fbab0bb0f1acefbe52c449f5 SHA512 ab43b83d05d56b8eb1bf66ed89801889cfb8d21d9bae86245607a1d7c36f7436fa8879f6fd94cb07c4a2e8567532b9e0919ec9e78e2ca85d8fca262b1479b482
+DIST megasync-4.12.0.0.tar.gz 25266988 BLAKE2B 0c126feb273d6d11e05a3ec3a5e7925f27bfd86e2ef23306fce4c9b2564b178dc5918b7bef9dcea33a8a5d0462e9c1e8d771c299de6e0f8ed5d4bed616ed58f9 SHA512 fd3ea7b624e66e3d4576c436d983a027e711783d41c585eedf540ba6bbf25ab9128ab4a3c0d2e6806705d54cea5e470d7339d49cc72a635385861f9efd64faf9
DIST megasync-sdk-4.11.0.0.tar.gz 3714994 BLAKE2B 6d6d217d8acb7f191c88f18bc0b2ef9b6f743502a9916841177a93452c1818cffcb8275134cc2a32162693c59af829d42249497f2ed18b66e3c0f032f0ba6780 SHA512 471102d280d02b90f41c46f5700c0d71d88f74ccf7c605c717a66ad154c84c725ce231d11779fd480b2eb81b073da0bbea00dbc149918e6519fe89694b185ef4
+DIST megasync-sdk-4.12.0.0.tar.gz 3580874 BLAKE2B 7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3 SHA512 e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-4.12.0.0.ebuild
similarity index 79%
copy from net-misc/megasync/megasync-9999.ebuild
copy to net-misc/megasync/megasync-4.12.0.0.ebuild
index 0d4b8ab3f4..78d77b1684 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-4.12.0.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
else
- MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # commit of src/MEGASync/mega submodule
+ MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # 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
@@ -37,14 +37,15 @@ DEPEND="
dev-libs/libsodium:=
dev-libs/libuv:=
dev-libs/openssl:0=
+ dev-qt/qtconcurrent:5
dev-qt/qtcore:5
- dev-qt/qtwidgets:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
dev-qt/qtgui:5
- dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-libs/libmediainfo
media-libs/libraw
@@ -69,18 +70,18 @@ BDEPEND="
dolphin? ( kde-frameworks/extra-cmake-modules )
"
+PATCHES=(
+ "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+)
+
CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
src_prepare() {
if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega
- fi
-
- if has_version ">=media-video/ffmpeg-6.0"; then
- eapply "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
fi
- eapply "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
if use dolphin; then
cmake_src_prepare
@@ -88,20 +89,20 @@ src_prepare() {
default
fi
- cd "${S}/src/MEGASync/mega"
+ cd "${S}/src/MEGASync/mega" || die
eautoreconf
}
src_configure() {
- cd "${S}/src/MEGASync/mega"
+ cd "${S}/src/MEGASync/mega" || die
econf \
"--disable-curl-checks" \
"--disable-examples" \
$(use_enable threads posix-threads) \
$(use_with freeimage)
- cd "${S}/src"
- local myeqmakeargs=(
+ cd "${S}/src" || die
+ local myqmakeargs=(
MEGA.pro
CONFIG+="release"
$(usex freeimage "" "CONFIG+=nofreeimage")
@@ -110,8 +111,8 @@ src_configure() {
$(usev thunar "SUBDIRS+=MEGAShellExtThunar")
)
- eqmake5 ${myeqmakeargs[@]}
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+ eqmake5 "${myqmakeargs[@]}"
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die
use dolphin && cmake_src_configure
}
@@ -127,8 +128,8 @@ src_install() {
dobin "src/MEGASync/${PN}"
dodoc CREDITS.md README.md
- rm -rf "${D}"/usr/share/doc/megasync
- rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark
+ rm -rf "${D}"/usr/share/doc/megasync || die
+ rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark || die
use dolphin && cmake_src_install
}
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 0d4b8ab3f4..78d77b1684 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
else
- MEGA_SDK_REV="6d4c102940dab277974090cd4292e58f08ac6032" # commit of src/MEGASync/mega submodule
+ MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # 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
@@ -37,14 +37,15 @@ DEPEND="
dev-libs/libsodium:=
dev-libs/libuv:=
dev-libs/openssl:0=
+ dev-qt/qtconcurrent:5
dev-qt/qtcore:5
- dev-qt/qtwidgets:5
+ dev-qt/qtdbus:5
+ dev-qt/qtdeclarative:5
dev-qt/qtgui:5
- dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
- dev-qt/qtdbus:5
dev-qt/qtimageformats:5
dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
media-libs/libmediainfo
media-libs/libraw
@@ -69,18 +70,18 @@ BDEPEND="
dolphin? ( kde-frameworks/extra-cmake-modules )
"
+PATCHES=(
+ "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+)
+
CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
src_prepare() {
if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega
- fi
-
- if has_version ">=media-video/ffmpeg-6.0"; then
- eapply "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
fi
- eapply "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
if use dolphin; then
cmake_src_prepare
@@ -88,20 +89,20 @@ src_prepare() {
default
fi
- cd "${S}/src/MEGASync/mega"
+ cd "${S}/src/MEGASync/mega" || die
eautoreconf
}
src_configure() {
- cd "${S}/src/MEGASync/mega"
+ cd "${S}/src/MEGASync/mega" || die
econf \
"--disable-curl-checks" \
"--disable-examples" \
$(use_enable threads posix-threads) \
$(use_with freeimage)
- cd "${S}/src"
- local myeqmakeargs=(
+ cd "${S}/src" || die
+ local myqmakeargs=(
MEGA.pro
CONFIG+="release"
$(usex freeimage "" "CONFIG+=nofreeimage")
@@ -110,8 +111,8 @@ src_configure() {
$(usev thunar "SUBDIRS+=MEGAShellExtThunar")
)
- eqmake5 ${myeqmakeargs[@]}
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro
+ eqmake5 "${myqmakeargs[@]}"
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die
use dolphin && cmake_src_configure
}
@@ -127,8 +128,8 @@ src_install() {
dobin "src/MEGASync/${PN}"
dodoc CREDITS.md README.md
- rm -rf "${D}"/usr/share/doc/megasync
- rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark
+ rm -rf "${D}"/usr/share/doc/megasync || die
+ rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark || die
use dolphin && cmake_src_install
}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-01-29 9:44 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-01-29 9:44 UTC (permalink / raw
To: gentoo-commits
commit: 2610935c733ce060145232acd3f9cce0808d6992
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Jan 29 09:38:50 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Mon Jan 29 09:40:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2610935c
net-misc/megasync: add 4.12.2.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-4.12.2.0.ebuild | 135 +++++++++++++++++++++++++++++
2 files changed, 137 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 66528caaaa..68503f8b29 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-4.12.0.0.tar.gz 25266988 BLAKE2B 0c126feb273d6d11e05a3ec3a5e7925f27bfd86e2ef23306fce4c9b2564b178dc5918b7bef9dcea33a8a5d0462e9c1e8d771c299de6e0f8ed5d4bed616ed58f9 SHA512 fd3ea7b624e66e3d4576c436d983a027e711783d41c585eedf540ba6bbf25ab9128ab4a3c0d2e6806705d54cea5e470d7339d49cc72a635385861f9efd64faf9
+DIST megasync-4.12.2.0.tar.gz 25267623 BLAKE2B e1a7e6f7e3509f8a8cdb402f228ffaf1809a16c134428ff3d0de59684b3440882ae9c0f5e4be38325044305589c988bbb83953cf6c06408b7d319dee9712cc5b SHA512 c99e29e1999eb257bec8d97dea92094c3c429e8b12380ac9097abe5092a8005ad67e09b9d893a69c2bccc061705ffb78ceeedbf5a7923849f4b2cff9e2f98333
DIST megasync-sdk-4.12.0.0.tar.gz 3580874 BLAKE2B 7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3 SHA512 e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
+DIST megasync-sdk-4.12.2.0.tar.gz 3580874 BLAKE2B 7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3 SHA512 e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
diff --git a/net-misc/megasync/megasync-4.12.2.0.ebuild b/net-misc/megasync/megasync-4.12.2.0.ebuild
new file mode 100644
index 0000000000..78d77b1684
--- /dev/null
+++ b/net-misc/megasync/megasync-4.12.2.0.ebuild
@@ -0,0 +1,135 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools cmake 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
+"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ EGIT_BRANCH="master"
+ EGIT_SUBMODULES=( '*' )
+else
+ MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # 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
+ "
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin freeimage nautilus nemo threads thunar"
+
+DEPEND="
+ dev-db/sqlite:3
+ dev-libs/crypto++:=
+ 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
+ media-libs/libmediainfo
+ media-libs/libraw
+ net-dns/c-ares:=
+ net-misc/curl[ssl,curl_ssl_openssl(-)]
+ sys-libs/zlib
+ dolphin? ( kde-apps/dolphin )
+ freeimage? (
+ media-libs/freeimage
+ media-video/ffmpeg:=
+ )
+ nautilus? ( >=gnome-base/nautilus-43 )
+ nemo? ( gnome-extra/nemo )
+ thunar? ( xfce-base/thunar )
+"
+RDEPEND="
+ ${DEPEND}
+ x11-themes/hicolor-icon-theme
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ dolphin? ( kde-frameworks/extra-cmake-modules )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+)
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
+ fi
+
+ if use dolphin; then
+ cmake_src_prepare
+ else
+ default
+ fi
+
+ cd "${S}/src/MEGASync/mega" || die
+ eautoreconf
+}
+
+src_configure() {
+ cd "${S}/src/MEGASync/mega" || die
+ econf \
+ "--disable-curl-checks" \
+ "--disable-examples" \
+ $(use_enable threads posix-threads) \
+ $(use_with freeimage)
+
+ cd "${S}/src" || die
+ local myqmakeargs=(
+ MEGA.pro
+ CONFIG+="release"
+ $(usex freeimage "" "CONFIG+=nofreeimage")
+ $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
+ $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
+ $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
+ )
+
+ eqmake5 "${myqmakeargs[@]}"
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die
+
+ use dolphin && cmake_src_configure
+}
+
+src_compile() {
+ emake -C src
+
+ use dolphin && cmake_src_compile
+}
+
+src_install() {
+ emake -C src INSTALL_ROOT="${D}" install
+ dobin "src/MEGASync/${PN}"
+ dodoc CREDITS.md README.md
+
+ rm -rf "${D}"/usr/share/doc/megasync || die
+ rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark || die
+
+ use dolphin && cmake_src_install
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-01-29 9:44 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-01-29 9:44 UTC (permalink / raw
To: gentoo-commits
commit: a1b469f9ba91fda145d0e61d067c8e617055656c
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Jan 29 09:39:03 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Mon Jan 29 09:40:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a1b469f9
net-misc/megasync: drop 4.12.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-4.12.0.0.ebuild | 135 -----------------------------
2 files changed, 137 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 68503f8b29..608392b6f7 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-4.12.0.0.tar.gz 25266988 BLAKE2B 0c126feb273d6d11e05a3ec3a5e7925f27bfd86e2ef23306fce4c9b2564b178dc5918b7bef9dcea33a8a5d0462e9c1e8d771c299de6e0f8ed5d4bed616ed58f9 SHA512 fd3ea7b624e66e3d4576c436d983a027e711783d41c585eedf540ba6bbf25ab9128ab4a3c0d2e6806705d54cea5e470d7339d49cc72a635385861f9efd64faf9
DIST megasync-4.12.2.0.tar.gz 25267623 BLAKE2B e1a7e6f7e3509f8a8cdb402f228ffaf1809a16c134428ff3d0de59684b3440882ae9c0f5e4be38325044305589c988bbb83953cf6c06408b7d319dee9712cc5b SHA512 c99e29e1999eb257bec8d97dea92094c3c429e8b12380ac9097abe5092a8005ad67e09b9d893a69c2bccc061705ffb78ceeedbf5a7923849f4b2cff9e2f98333
-DIST megasync-sdk-4.12.0.0.tar.gz 3580874 BLAKE2B 7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3 SHA512 e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
DIST megasync-sdk-4.12.2.0.tar.gz 3580874 BLAKE2B 7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3 SHA512 e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
diff --git a/net-misc/megasync/megasync-4.12.0.0.ebuild b/net-misc/megasync/megasync-4.12.0.0.ebuild
deleted file mode 100644
index 78d77b1684..0000000000
--- a/net-misc/megasync/megasync-4.12.0.0.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools cmake 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
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # 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
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin freeimage nautilus nemo threads thunar"
-
-DEPEND="
- dev-db/sqlite:3
- dev-libs/crypto++:=
- 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
- media-libs/libmediainfo
- media-libs/libraw
- net-dns/c-ares:=
- net-misc/curl[ssl,curl_ssl_openssl(-)]
- sys-libs/zlib
- dolphin? ( kde-apps/dolphin )
- freeimage? (
- media-libs/freeimage
- media-video/ffmpeg:=
- )
- nautilus? ( >=gnome-base/nautilus-43 )
- nemo? ( gnome-extra/nemo )
- thunar? ( xfce-base/thunar )
-"
-RDEPEND="
- ${DEPEND}
- x11-themes/hicolor-icon-theme
-"
-BDEPEND="
- dev-qt/linguist-tools:5
- dolphin? ( kde-frameworks/extra-cmake-modules )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
- "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
-)
-
-CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
-
-src_prepare() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega || die
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
- fi
-
- if use dolphin; then
- cmake_src_prepare
- else
- default
- fi
-
- cd "${S}/src/MEGASync/mega" || die
- eautoreconf
-}
-
-src_configure() {
- cd "${S}/src/MEGASync/mega" || die
- econf \
- "--disable-curl-checks" \
- "--disable-examples" \
- $(use_enable threads posix-threads) \
- $(use_with freeimage)
-
- cd "${S}/src" || die
- local myqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- $(usex freeimage "" "CONFIG+=nofreeimage")
- $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
- $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
- $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
- )
-
- eqmake5 "${myqmakeargs[@]}"
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die
-
- use dolphin && cmake_src_configure
-}
-
-src_compile() {
- emake -C src
-
- use dolphin && cmake_src_compile
-}
-
-src_install() {
- emake -C src INSTALL_ROOT="${D}" install
- dobin "src/MEGASync/${PN}"
- dodoc CREDITS.md README.md
-
- rm -rf "${D}"/usr/share/doc/megasync || die
- rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark || die
-
- use dolphin && cmake_src_install
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-03-19 10:11 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-03-19 10:11 UTC (permalink / raw
To: gentoo-commits
commit: 66f83a98a5974bdb1f6545263c5c230f97bd5505
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 19 09:43:23 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Mar 19 10:00:51 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66f83a98
net-misc/megasync: drop 4.12.2.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-4.12.2.0.ebuild | 135 -----------------------------
2 files changed, 137 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 929f0a39ed..7a20b659e1 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-4.12.2.0.tar.gz 25267623 BLAKE2B e1a7e6f7e3509f8a8cdb402f228ffaf1809a16c134428ff3d0de59684b3440882ae9c0f5e4be38325044305589c988bbb83953cf6c06408b7d319dee9712cc5b SHA512 c99e29e1999eb257bec8d97dea92094c3c429e8b12380ac9097abe5092a8005ad67e09b9d893a69c2bccc061705ffb78ceeedbf5a7923849f4b2cff9e2f98333
DIST megasync-5.2.0.0.tar.gz 23815622 BLAKE2B 04c1ff1b6516ca72e3e17a59ab1ba3142f7ef130e479aee5595e010be1993651aa57e8d977d85ffa547a20ae2569c77d5b3907aba8122fb3d6ea686d7e1a5b4a SHA512 c8dd39f7a432aca3956f929bcaf0e86881a819719f184c07a389ae568edee9b54a21e807f5517bcc42c18290d96f7fef875f0308d5411f1e36df60f245aa601b
-DIST megasync-sdk-4.12.2.0.tar.gz 3580874 BLAKE2B 7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3 SHA512 e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
DIST megasync-sdk-5.2.0.0.tar.gz 3809248 BLAKE2B acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a SHA512 2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
diff --git a/net-misc/megasync/megasync-4.12.2.0.ebuild b/net-misc/megasync/megasync-4.12.2.0.ebuild
deleted file mode 100644
index 78d77b1684..0000000000
--- a/net-misc/megasync/megasync-4.12.2.0.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools cmake 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
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # 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
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin freeimage nautilus nemo threads thunar"
-
-DEPEND="
- dev-db/sqlite:3
- dev-libs/crypto++:=
- 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
- media-libs/libmediainfo
- media-libs/libraw
- net-dns/c-ares:=
- net-misc/curl[ssl,curl_ssl_openssl(-)]
- sys-libs/zlib
- dolphin? ( kde-apps/dolphin )
- freeimage? (
- media-libs/freeimage
- media-video/ffmpeg:=
- )
- nautilus? ( >=gnome-base/nautilus-43 )
- nemo? ( gnome-extra/nemo )
- thunar? ( xfce-base/thunar )
-"
-RDEPEND="
- ${DEPEND}
- x11-themes/hicolor-icon-theme
-"
-BDEPEND="
- dev-qt/linguist-tools:5
- dolphin? ( kde-frameworks/extra-cmake-modules )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
- "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
-)
-
-CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
-
-src_prepare() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega || die
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
- fi
-
- if use dolphin; then
- cmake_src_prepare
- else
- default
- fi
-
- cd "${S}/src/MEGASync/mega" || die
- eautoreconf
-}
-
-src_configure() {
- cd "${S}/src/MEGASync/mega" || die
- econf \
- "--disable-curl-checks" \
- "--disable-examples" \
- $(use_enable threads posix-threads) \
- $(use_with freeimage)
-
- cd "${S}/src" || die
- local myqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- $(usex freeimage "" "CONFIG+=nofreeimage")
- $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
- $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
- $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
- )
-
- eqmake5 "${myqmakeargs[@]}"
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die
-
- use dolphin && cmake_src_configure
-}
-
-src_compile() {
- emake -C src
-
- use dolphin && cmake_src_compile
-}
-
-src_install() {
- emake -C src INSTALL_ROOT="${D}" install
- dobin "src/MEGASync/${PN}"
- dodoc CREDITS.md README.md
-
- rm -rf "${D}"/usr/share/doc/megasync || die
- rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark || die
-
- use dolphin && cmake_src_install
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-03-19 10:11 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-03-19 10:11 UTC (permalink / raw
To: gentoo-commits
commit: 7dd3f1ad548843f316cd65a31e1cc4e2da7f2854
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Mar 19 09:42:30 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Mar 19 10:00:50 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7dd3f1ad
net-misc/megasync: add 5.2.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 ++
net-misc/megasync/{megasync-9999.ebuild => megasync-5.2.0.0.ebuild} | 6 ++++--
net-misc/megasync/megasync-9999.ebuild | 6 ++++--
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 608392b6f7..929f0a39ed 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-4.12.2.0.tar.gz 25267623 BLAKE2B e1a7e6f7e3509f8a8cdb402f228ffaf1809a16c134428ff3d0de59684b3440882ae9c0f5e4be38325044305589c988bbb83953cf6c06408b7d319dee9712cc5b SHA512 c99e29e1999eb257bec8d97dea92094c3c429e8b12380ac9097abe5092a8005ad67e09b9d893a69c2bccc061705ffb78ceeedbf5a7923849f4b2cff9e2f98333
+DIST megasync-5.2.0.0.tar.gz 23815622 BLAKE2B 04c1ff1b6516ca72e3e17a59ab1ba3142f7ef130e479aee5595e010be1993651aa57e8d977d85ffa547a20ae2569c77d5b3907aba8122fb3d6ea686d7e1a5b4a SHA512 c8dd39f7a432aca3956f929bcaf0e86881a819719f184c07a389ae568edee9b54a21e807f5517bcc42c18290d96f7fef875f0308d5411f1e36df60f245aa601b
DIST megasync-sdk-4.12.2.0.tar.gz 3580874 BLAKE2B 7fe63ccd998ac0fe4f6d31d4fb38041d01180044b6a36658da28b0793c2c0c9a95984a937ffa74b11449818ca63a55d7d1faef65e69ea29309d42c4d7646b2c3 SHA512 e97d5901e5445bd677b2d7c50d684dbd6975efcba43ed6618b76d9452b33f5c42eaa8279e920987cf5af63da6ad951589e644bf01814b69739e4260c651aa68b
+DIST megasync-sdk-5.2.0.0.tar.gz 3809248 BLAKE2B acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a SHA512 2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-5.2.0.0.ebuild
similarity index 95%
copy from net-misc/megasync/megasync-9999.ebuild
copy to net-misc/megasync/megasync-5.2.0.0.ebuild
index 78d77b1684..c8a98542b6 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-5.2.0.0.ebuild
@@ -17,8 +17,8 @@ if [[ ${PV} == 9999 ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
else
- MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # commit of src/MEGASync/mega submodule
- MEGA_TAG_SUFFIX="Win"
+ MEGA_SDK_REV="f71b60452a5d6c32bebc5125a13977a335d78e71" # 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
@@ -34,6 +34,7 @@ IUSE="dolphin freeimage nautilus nemo threads thunar"
DEPEND="
dev-db/sqlite:3
dev-libs/crypto++:=
+ dev-libs/icu:=
dev-libs/libsodium:=
dev-libs/libuv:=
dev-libs/openssl:0=
@@ -52,6 +53,7 @@ DEPEND="
net-dns/c-ares:=
net-misc/curl[ssl,curl_ssl_openssl(-)]
sys-libs/zlib
+ x11-libs/libxcb:=
dolphin? ( kde-apps/dolphin )
freeimage? (
media-libs/freeimage
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 78d77b1684..c8a98542b6 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -17,8 +17,8 @@ if [[ ${PV} == 9999 ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
else
- MEGA_SDK_REV="2e9307d114c379967f415211d466262162e074d4" # commit of src/MEGASync/mega submodule
- MEGA_TAG_SUFFIX="Win"
+ MEGA_SDK_REV="f71b60452a5d6c32bebc5125a13977a335d78e71" # 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
@@ -34,6 +34,7 @@ IUSE="dolphin freeimage nautilus nemo threads thunar"
DEPEND="
dev-db/sqlite:3
dev-libs/crypto++:=
+ dev-libs/icu:=
dev-libs/libsodium:=
dev-libs/libuv:=
dev-libs/openssl:0=
@@ -52,6 +53,7 @@ DEPEND="
net-dns/c-ares:=
net-misc/curl[ssl,curl_ssl_openssl(-)]
sys-libs/zlib
+ x11-libs/libxcb:=
dolphin? ( kde-apps/dolphin )
freeimage? (
media-libs/freeimage
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-03-25 13:16 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-03-25 13:16 UTC (permalink / raw
To: gentoo-commits
commit: fad52ae19c0abf09643e629352425cdcaf906443
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Mar 25 13:11:29 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Mon Mar 25 13:15:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fad52ae1
net-misc/megasync: drop useless USE flags
It doesn't affect the actual build.
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/megasync-5.2.0.0.ebuild | 3 +--
net-misc/megasync/megasync-9999.ebuild | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/net-misc/megasync/megasync-5.2.0.0.ebuild b/net-misc/megasync/megasync-5.2.0.0.ebuild
index c8a98542b6..5c874d29c7 100644
--- a/net-misc/megasync/megasync-5.2.0.0.ebuild
+++ b/net-misc/megasync/megasync-5.2.0.0.ebuild
@@ -29,7 +29,7 @@ fi
LICENSE="MEGA"
SLOT="0"
-IUSE="dolphin freeimage nautilus nemo threads thunar"
+IUSE="dolphin freeimage nautilus nemo thunar"
DEPEND="
dev-db/sqlite:3
@@ -100,7 +100,6 @@ src_configure() {
econf \
"--disable-curl-checks" \
"--disable-examples" \
- $(use_enable threads posix-threads) \
$(use_with freeimage)
cd "${S}/src" || die
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index c8a98542b6..5c874d29c7 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -29,7 +29,7 @@ fi
LICENSE="MEGA"
SLOT="0"
-IUSE="dolphin freeimage nautilus nemo threads thunar"
+IUSE="dolphin freeimage nautilus nemo thunar"
DEPEND="
dev-db/sqlite:3
@@ -100,7 +100,6 @@ src_configure() {
econf \
"--disable-curl-checks" \
"--disable-examples" \
- $(use_enable threads posix-threads) \
$(use_with freeimage)
cd "${S}/src" || die
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-05-07 12:30 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-05-07 12:30 UTC (permalink / raw
To: gentoo-commits
commit: 83cf8c0cbd5a594acdc3fd18d910e5e173706789
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue May 7 12:18:44 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue May 7 12:22:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=83cf8c0c
net-misc/megasync: drop 5.2.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-5.2.0.0.ebuild | 136 ------------------------------
2 files changed, 138 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 88e44b6b2c..0fbd277950 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-5.2.0.0.tar.gz 23815622 BLAKE2B 04c1ff1b6516ca72e3e17a59ab1ba3142f7ef130e479aee5595e010be1993651aa57e8d977d85ffa547a20ae2569c77d5b3907aba8122fb3d6ea686d7e1a5b4a SHA512 c8dd39f7a432aca3956f929bcaf0e86881a819719f184c07a389ae568edee9b54a21e807f5517bcc42c18290d96f7fef875f0308d5411f1e36df60f245aa601b
DIST megasync-5.2.1.0.tar.gz 23819376 BLAKE2B 249471d14f146b0bbe4c97690c1832d63f06005b2dcc6f334a9fe2a33672d0b1bce3b738270d28a1674804320f53b25e3533548ed4a6f1af01ce91e24d138e32 SHA512 f667e73a8e6527cb79608584d486aeb9a8ebde4b6f3bc10f560030ee725575622c561fe75a217e8d9d97ddf204fd94ce258cc2b70a200baead7a5e44ab285aa8
-DIST megasync-sdk-5.2.0.0.tar.gz 3809248 BLAKE2B acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a SHA512 2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
DIST megasync-sdk-5.2.1.0.tar.gz 3809248 BLAKE2B acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a SHA512 2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
diff --git a/net-misc/megasync/megasync-5.2.0.0.ebuild b/net-misc/megasync/megasync-5.2.0.0.ebuild
deleted file mode 100644
index 5c874d29c7..0000000000
--- a/net-misc/megasync/megasync-5.2.0.0.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools cmake 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
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="f71b60452a5d6c32bebc5125a13977a335d78e71" # 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
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin freeimage nautilus nemo 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
- media-libs/libmediainfo
- media-libs/libraw
- net-dns/c-ares:=
- net-misc/curl[ssl,curl_ssl_openssl(-)]
- sys-libs/zlib
- x11-libs/libxcb:=
- dolphin? ( kde-apps/dolphin )
- freeimage? (
- media-libs/freeimage
- media-video/ffmpeg:=
- )
- nautilus? ( >=gnome-base/nautilus-43 )
- nemo? ( gnome-extra/nemo )
- thunar? ( xfce-base/thunar )
-"
-RDEPEND="
- ${DEPEND}
- x11-themes/hicolor-icon-theme
-"
-BDEPEND="
- dev-qt/linguist-tools:5
- dolphin? ( kde-frameworks/extra-cmake-modules )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
- "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
-)
-
-CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
-
-src_prepare() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega || die
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
- fi
-
- if use dolphin; then
- cmake_src_prepare
- else
- default
- fi
-
- cd "${S}/src/MEGASync/mega" || die
- eautoreconf
-}
-
-src_configure() {
- cd "${S}/src/MEGASync/mega" || die
- econf \
- "--disable-curl-checks" \
- "--disable-examples" \
- $(use_with freeimage)
-
- cd "${S}/src" || die
- local myqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- $(usex freeimage "" "CONFIG+=nofreeimage")
- $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
- $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
- $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
- )
-
- eqmake5 "${myqmakeargs[@]}"
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die
-
- use dolphin && cmake_src_configure
-}
-
-src_compile() {
- emake -C src
-
- use dolphin && cmake_src_compile
-}
-
-src_install() {
- emake -C src INSTALL_ROOT="${D}" install
- dobin "src/MEGASync/${PN}"
- dodoc CREDITS.md README.md
-
- rm -rf "${D}"/usr/share/doc/megasync || die
- rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark || die
-
- use dolphin && cmake_src_install
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-05-07 12:30 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-05-07 12:30 UTC (permalink / raw
To: gentoo-commits
commit: 4fbd7faabde29d3cd9a3e69dbf1df15ba54f4322
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue May 7 12:18:33 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue May 7 12:22:03 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4fbd7faa
net-misc/megasync: add 5.2.1.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-5.2.1.0.ebuild | 136 ++++++++++++++++++++++++++++++
2 files changed, 138 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 7a20b659e1..88e44b6b2c 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-5.2.0.0.tar.gz 23815622 BLAKE2B 04c1ff1b6516ca72e3e17a59ab1ba3142f7ef130e479aee5595e010be1993651aa57e8d977d85ffa547a20ae2569c77d5b3907aba8122fb3d6ea686d7e1a5b4a SHA512 c8dd39f7a432aca3956f929bcaf0e86881a819719f184c07a389ae568edee9b54a21e807f5517bcc42c18290d96f7fef875f0308d5411f1e36df60f245aa601b
+DIST megasync-5.2.1.0.tar.gz 23819376 BLAKE2B 249471d14f146b0bbe4c97690c1832d63f06005b2dcc6f334a9fe2a33672d0b1bce3b738270d28a1674804320f53b25e3533548ed4a6f1af01ce91e24d138e32 SHA512 f667e73a8e6527cb79608584d486aeb9a8ebde4b6f3bc10f560030ee725575622c561fe75a217e8d9d97ddf204fd94ce258cc2b70a200baead7a5e44ab285aa8
DIST megasync-sdk-5.2.0.0.tar.gz 3809248 BLAKE2B acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a SHA512 2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
+DIST megasync-sdk-5.2.1.0.tar.gz 3809248 BLAKE2B acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a SHA512 2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
diff --git a/net-misc/megasync/megasync-5.2.1.0.ebuild b/net-misc/megasync/megasync-5.2.1.0.ebuild
new file mode 100644
index 0000000000..5c874d29c7
--- /dev/null
+++ b/net-misc/megasync/megasync-5.2.1.0.ebuild
@@ -0,0 +1,136 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools cmake 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
+"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ EGIT_BRANCH="master"
+ EGIT_SUBMODULES=( '*' )
+else
+ MEGA_SDK_REV="f71b60452a5d6c32bebc5125a13977a335d78e71" # 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
+ "
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin freeimage nautilus nemo 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
+ media-libs/libmediainfo
+ media-libs/libraw
+ net-dns/c-ares:=
+ net-misc/curl[ssl,curl_ssl_openssl(-)]
+ sys-libs/zlib
+ x11-libs/libxcb:=
+ dolphin? ( kde-apps/dolphin )
+ freeimage? (
+ media-libs/freeimage
+ media-video/ffmpeg:=
+ )
+ nautilus? ( >=gnome-base/nautilus-43 )
+ nemo? ( gnome-extra/nemo )
+ thunar? ( xfce-base/thunar )
+"
+RDEPEND="
+ ${DEPEND}
+ x11-themes/hicolor-icon-theme
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ dolphin? ( kde-frameworks/extra-cmake-modules )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+)
+
+CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
+
+src_prepare() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
+ fi
+
+ if use dolphin; then
+ cmake_src_prepare
+ else
+ default
+ fi
+
+ cd "${S}/src/MEGASync/mega" || die
+ eautoreconf
+}
+
+src_configure() {
+ cd "${S}/src/MEGASync/mega" || die
+ econf \
+ "--disable-curl-checks" \
+ "--disable-examples" \
+ $(use_with freeimage)
+
+ cd "${S}/src" || die
+ local myqmakeargs=(
+ MEGA.pro
+ CONFIG+="release"
+ $(usex freeimage "" "CONFIG+=nofreeimage")
+ $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
+ $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
+ $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
+ )
+
+ eqmake5 "${myqmakeargs[@]}"
+ $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die
+
+ use dolphin && cmake_src_configure
+}
+
+src_compile() {
+ emake -C src
+
+ use dolphin && cmake_src_compile
+}
+
+src_install() {
+ emake -C src INSTALL_ROOT="${D}" install
+ dobin "src/MEGASync/${PN}"
+ dodoc CREDITS.md README.md
+
+ rm -rf "${D}"/usr/share/doc/megasync || die
+ rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark || die
+
+ use dolphin && cmake_src_install
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-06-03 10:39 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-06-03 10:39 UTC (permalink / raw
To: gentoo-commits
commit: eb3051c2bbbc8f722ddaebc1e72ec53dfe70ccbd
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon Jun 3 10:33:26 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Mon Jun 3 10:34:16 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eb3051c2
net-misc/megasync: add missing dependency
Closes: https://bugs.gentoo.org/933082
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
.../megasync/{megasync-5.2.1.0.ebuild => megasync-5.2.1.0-r1.ebuild} | 1 +
net-misc/megasync/megasync-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/net-misc/megasync/megasync-5.2.1.0.ebuild b/net-misc/megasync/megasync-5.2.1.0-r1.ebuild
similarity index 99%
rename from net-misc/megasync/megasync-5.2.1.0.ebuild
rename to net-misc/megasync/megasync-5.2.1.0-r1.ebuild
index 5c874d29c..f9b4f301f 100644
--- a/net-misc/megasync/megasync-5.2.1.0.ebuild
+++ b/net-misc/megasync/megasync-5.2.1.0-r1.ebuild
@@ -50,6 +50,7 @@ DEPEND="
dev-qt/qtx11extras:5
media-libs/libmediainfo
media-libs/libraw
+ media-libs/libzen
net-dns/c-ares:=
net-misc/curl[ssl,curl_ssl_openssl(-)]
sys-libs/zlib
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 5c874d29c..f9b4f301f 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -50,6 +50,7 @@ DEPEND="
dev-qt/qtx11extras:5
media-libs/libmediainfo
media-libs/libraw
+ media-libs/libzen
net-dns/c-ares:=
net-misc/curl[ssl,curl_ssl_openssl(-)]
sys-libs/zlib
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-07-12 17:56 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-07-12 17:56 UTC (permalink / raw
To: gentoo-commits
commit: ebc9f264aaac18628b03185b566f77ccaef119dc
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Jul 12 17:34:58 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Fri Jul 12 17:55:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebc9f264
net-misc/megasync: drop 5.2.1.0-r1
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-5.2.1.0-r1.ebuild | 137 ---------------------------
2 files changed, 139 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 432a384e0..18f80eb0a 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-5.2.1.0.tar.gz 23819376 BLAKE2B 249471d14f146b0bbe4c97690c1832d63f06005b2dcc6f334a9fe2a33672d0b1bce3b738270d28a1674804320f53b25e3533548ed4a6f1af01ce91e24d138e32 SHA512 f667e73a8e6527cb79608584d486aeb9a8ebde4b6f3bc10f560030ee725575622c561fe75a217e8d9d97ddf204fd94ce258cc2b70a200baead7a5e44ab285aa8
DIST megasync-5.3.0.0.tar.gz 24307650 BLAKE2B 4b4253f40abea54856d869ba5094d18dd7239f3c7a9d25611e1a053d370e943f29f3cbb4a672b559b1908600f6eafea586ec65e8a24cceb44a592337ff5e0f8a SHA512 61a4e0bf351816113bca23328dfe1872a031f6457368127dd1ec55f5147d22059e3cbb8998497398dbf706050eb228e09b41ed6300262a89c3abf71e1152f0e7
-DIST megasync-sdk-5.2.1.0.tar.gz 3809248 BLAKE2B acf9be7b3d0faf843e394b717cb75ee703aadfdf2b79a6ea06eccb49d6d179ef8b2f3d430edce4bc37e6e53a45f1eab3865c433d015cf8d8412d6b037edbd81a SHA512 2c65c53050dcd7757a1015200d4e25ca260e833105e577c6506d36efa280c5e5e511e8b5ea029a6efac09f36ffd6bfdb49b71417d32457d42397de83240451ec
DIST megasync-sdk-5.3.0.0.tar.gz 4146154 BLAKE2B 7b73f4475958f0d2ad341638f0f5c7ab1c9570f38ecceb7393268b4307cd4052a6ba5b358fabf3138ba7ad6e503c18c4314204d2a4c8c2d19846e4093889b24e SHA512 8b301cf8654112893bb79e3ce8f9f2c7ee27bafcc68df6f4bceb88bb54a2f5168cedf34bd262dfeb0ef0c67b46c9420259d7f0f13bc067f9ae7799cc09d28abc
diff --git a/net-misc/megasync/megasync-5.2.1.0-r1.ebuild b/net-misc/megasync/megasync-5.2.1.0-r1.ebuild
deleted file mode 100644
index f9b4f301f..000000000
--- a/net-misc/megasync/megasync-5.2.1.0-r1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools cmake 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
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="f71b60452a5d6c32bebc5125a13977a335d78e71" # 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
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin freeimage nautilus nemo 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
- media-libs/libmediainfo
- media-libs/libraw
- media-libs/libzen
- net-dns/c-ares:=
- net-misc/curl[ssl,curl_ssl_openssl(-)]
- sys-libs/zlib
- x11-libs/libxcb:=
- dolphin? ( kde-apps/dolphin )
- freeimage? (
- media-libs/freeimage
- media-video/ffmpeg:=
- )
- nautilus? ( >=gnome-base/nautilus-43 )
- nemo? ( gnome-extra/nemo )
- thunar? ( xfce-base/thunar )
-"
-RDEPEND="
- ${DEPEND}
- x11-themes/hicolor-icon-theme
-"
-BDEPEND="
- dev-qt/linguist-tools:5
- dolphin? ( kde-frameworks/extra-cmake-modules )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
- "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
-)
-
-CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
-
-src_prepare() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega || die
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
- fi
-
- if use dolphin; then
- cmake_src_prepare
- else
- default
- fi
-
- cd "${S}/src/MEGASync/mega" || die
- eautoreconf
-}
-
-src_configure() {
- cd "${S}/src/MEGASync/mega" || die
- econf \
- "--disable-curl-checks" \
- "--disable-examples" \
- $(use_with freeimage)
-
- cd "${S}/src" || die
- local myqmakeargs=(
- MEGA.pro
- CONFIG+="release"
- $(usex freeimage "" "CONFIG+=nofreeimage")
- $(usev nautilus "SUBDIRS+=MEGAShellExtNautilus")
- $(usev nemo "SUBDIRS+=MEGAShellExtNemo")
- $(usev thunar "SUBDIRS+=MEGAShellExtThunar")
- )
-
- eqmake5 "${myqmakeargs[@]}"
- $(qt5_get_bindir)/lrelease MEGASync/MEGASync.pro || die
-
- use dolphin && cmake_src_configure
-}
-
-src_compile() {
- emake -C src
-
- use dolphin && cmake_src_compile
-}
-
-src_install() {
- emake -C src INSTALL_ROOT="${D}" install
- dobin "src/MEGASync/${PN}"
- dodoc CREDITS.md README.md
-
- rm -rf "${D}"/usr/share/doc/megasync || die
- rm -rf "${D}"/usr/share/icons/ubuntu-mono-dark || die
-
- use dolphin && cmake_src_install
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-07-20 8:20 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-07-20 8:20 UTC (permalink / raw
To: gentoo-commits
commit: b1ad3296f03fb552fac2897ca142f8af52032326
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Jul 20 08:02:12 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Jul 20 08:10:18 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1ad3296
net-misc/megasync: fix runtime dependency
dev-qt/qtquickcontrols{,2} is required as a runtime dependency. If this
is not present in an environment that has not done initial setup,
megasync will crash. This does not occur in environment that have
already done initial setup.
Closes: https://bugs.gentoo.org/936323
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
.../{megasync-5.3.0.0.ebuild => megasync-5.3.0.0-r1.ebuild} | 6 +++++-
net-misc/megasync/megasync-9999.ebuild | 6 +++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/net-misc/megasync/megasync-5.3.0.0.ebuild b/net-misc/megasync/megasync-5.3.0.0-r1.ebuild
similarity index 97%
rename from net-misc/megasync/megasync-5.3.0.0.ebuild
rename to net-misc/megasync/megasync-5.3.0.0-r1.ebuild
index c93022217..8b25de399 100644
--- a/net-misc/megasync/megasync-5.3.0.0.ebuild
+++ b/net-misc/megasync/megasync-5.3.0.0-r1.ebuild
@@ -76,7 +76,11 @@ DEPEND="
)
thunar? ( xfce-base/thunar:= )
"
-RDEPEND="${DEPEND}"
+RDEPEND="
+ ${DEPEND}
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtquickcontrols2:5
+"
BDEPEND="
dev-qt/linguist-tools:5
dolphin? ( kde-frameworks/extra-cmake-modules )
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index c93022217..8b25de399 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -76,7 +76,11 @@ DEPEND="
)
thunar? ( xfce-base/thunar:= )
"
-RDEPEND="${DEPEND}"
+RDEPEND="
+ ${DEPEND}
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtquickcontrols2:5
+"
BDEPEND="
dev-qt/linguist-tools:5
dolphin? ( kde-frameworks/extra-cmake-modules )
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-07-27 4:58 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-07-27 4:58 UTC (permalink / raw
To: gentoo-commits
commit: d9e9474617f2bbd4abbdb599a1a16c9e5dd0940c
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Jul 27 04:48:28 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Jul 27 04:48:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d9e94746
net-misc/megasync: drop 5.3.0.0-r1
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-5.3.0.0-r1.ebuild | 176 ---------------------------
2 files changed, 178 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index d65fb57cf..e2f4fca5a 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-5.3.0.0.tar.gz 24307650 BLAKE2B 4b4253f40abea54856d869ba5094d18dd7239f3c7a9d25611e1a053d370e943f29f3cbb4a672b559b1908600f6eafea586ec65e8a24cceb44a592337ff5e0f8a SHA512 61a4e0bf351816113bca23328dfe1872a031f6457368127dd1ec55f5147d22059e3cbb8998497398dbf706050eb228e09b41ed6300262a89c3abf71e1152f0e7
DIST megasync-5.4.0.0.tar.gz 24716654 BLAKE2B 06b2bfbdf6f0bda00bd53ae062c99352a71fa5f50fa88c75b9a2dcafb9b1f5d6b47be48bee2f052945e9a80f144024d8c1519698f5a951f140fa9170bfbbae27 SHA512 1e323fe637f6e32e893d3e22f512c3fbc1aca17eb5c85df24ef75d7492de9386fc18f20baa5fa7d28a83e763835e531da486c89c74e9223aa0e9216b9e343459
-DIST megasync-sdk-5.3.0.0.tar.gz 4146154 BLAKE2B 7b73f4475958f0d2ad341638f0f5c7ab1c9570f38ecceb7393268b4307cd4052a6ba5b358fabf3138ba7ad6e503c18c4314204d2a4c8c2d19846e4093889b24e SHA512 8b301cf8654112893bb79e3ce8f9f2c7ee27bafcc68df6f4bceb88bb54a2f5168cedf34bd262dfeb0ef0c67b46c9420259d7f0f13bc067f9ae7799cc09d28abc
DIST megasync-sdk-5.4.0.0.tar.gz 4158786 BLAKE2B bfaa09a358ba692477c8ba85fd86e9d919bb267b54390c02e2aa593d52ea6dd245721a854855576f72561500d6c8a763c4dbef9935e6defc38dede12b7fcd40f SHA512 78a7d478f1586c6dfa4b7f954e7cd00272b484996c4296fe18ea965198cfa6a342e9084a898a69b036e1e96b72aab28ac731e9397474713375f63e8dd9170e1d
diff --git a/net-misc/megasync/megasync-5.3.0.0-r1.ebuild b/net-misc/megasync/megasync-5.3.0.0-r1.ebuild
deleted file mode 100644
index 8b25de399..000000000
--- a/net-misc/megasync/megasync-5.3.0.0-r1.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 2023-2024 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
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="eb8dba09149e1aad0210c3591f3ef6e50022f714" # 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
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin 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:=
- dolphin? (
- kde-apps/dolphin:5
- kde-frameworks/kcoreaddons:5
- kde-frameworks/kio:5
- kde-frameworks/kwidgetsaddons:5
- )
- 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? ( xfce-base/thunar:= )
-"
-RDEPEND="
- ${DEPEND}
- dev-qt/qtquickcontrols:5
- dev-qt/qtquickcontrols2:5
-"
-BDEPEND="
- dev-qt/linguist-tools:5
- dolphin? ( kde-frameworks/extra-cmake-modules )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
- "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
- "${FILESDIR}/${PN}-5.3.0.0-link-zlib.patch"
- "${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
- "${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
-)
-
-BUILD_DIR_DOLPHIN="${S}_dolphin"
-
-dolphin_run() {
- if use dolphin; then
- cd "${S}/src/MEGAShellExtDolphin" || die
- BUILD_DIR="${BUILD_DIR_DOLPHIN}" CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin" "$@"
- fi
-}
-
-nautilus_run() {
- if use nautilus; then
- cd "${S}/src/MEGAShellExtNautilus" || die
- "$@"
- fi
-}
-
-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() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega || die
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
- fi
-
- 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/contrib/cmake/modules/packages"
- -DENABLE_DESKTOP_UPDATE_GEN=OFF
- -DUSE_FFMPEG=$(usex thumbnail)
- -DUSE_FREEIMAGE=$(usex thumbnail)
- -DUSE_MEDIAINFO=$(usex mediainfo)
- -DUSE_PDFIUM=OFF
- -DUSE_READLINE=OFF
- )
- cmake_src_configure
-
- unset mycmakeargs
- dolphin_run cmake_src_configure
- nautilus_run eqmake5
- nemo_run eqmake5
- thunar_run eqmake5
-}
-
-src_compile() {
- cmake_src_compile
-
- dolphin_run cmake_src_compile
- nautilus_run emake
- nemo_run emake
- thunar_run emake
-}
-
-src_install() {
- cmake_src_install
-
- dolphin_run cmake_src_install
- nautilus_run emake INSTALL_ROOT="${D}" install
- nemo_run emake INSTALL_ROOT="${D}" install
- thunar_run emake INSTALL_ROOT="${D}" install
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-07-27 4:58 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-07-27 4:58 UTC (permalink / raw
To: gentoo-commits
commit: 93e169e5beb997307214e568e426e9bfe26278b3
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Jul 27 04:48:18 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Jul 27 04:48:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93e169e5
net-misc/megasync: add 5.4.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-5.4.0.0.ebuild | 176 ++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 18f80eb0a..d65fb57cf 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-5.3.0.0.tar.gz 24307650 BLAKE2B 4b4253f40abea54856d869ba5094d18dd7239f3c7a9d25611e1a053d370e943f29f3cbb4a672b559b1908600f6eafea586ec65e8a24cceb44a592337ff5e0f8a SHA512 61a4e0bf351816113bca23328dfe1872a031f6457368127dd1ec55f5147d22059e3cbb8998497398dbf706050eb228e09b41ed6300262a89c3abf71e1152f0e7
+DIST megasync-5.4.0.0.tar.gz 24716654 BLAKE2B 06b2bfbdf6f0bda00bd53ae062c99352a71fa5f50fa88c75b9a2dcafb9b1f5d6b47be48bee2f052945e9a80f144024d8c1519698f5a951f140fa9170bfbbae27 SHA512 1e323fe637f6e32e893d3e22f512c3fbc1aca17eb5c85df24ef75d7492de9386fc18f20baa5fa7d28a83e763835e531da486c89c74e9223aa0e9216b9e343459
DIST megasync-sdk-5.3.0.0.tar.gz 4146154 BLAKE2B 7b73f4475958f0d2ad341638f0f5c7ab1c9570f38ecceb7393268b4307cd4052a6ba5b358fabf3138ba7ad6e503c18c4314204d2a4c8c2d19846e4093889b24e SHA512 8b301cf8654112893bb79e3ce8f9f2c7ee27bafcc68df6f4bceb88bb54a2f5168cedf34bd262dfeb0ef0c67b46c9420259d7f0f13bc067f9ae7799cc09d28abc
+DIST megasync-sdk-5.4.0.0.tar.gz 4158786 BLAKE2B bfaa09a358ba692477c8ba85fd86e9d919bb267b54390c02e2aa593d52ea6dd245721a854855576f72561500d6c8a763c4dbef9935e6defc38dede12b7fcd40f SHA512 78a7d478f1586c6dfa4b7f954e7cd00272b484996c4296fe18ea965198cfa6a342e9084a898a69b036e1e96b72aab28ac731e9397474713375f63e8dd9170e1d
diff --git a/net-misc/megasync/megasync-5.4.0.0.ebuild b/net-misc/megasync/megasync-5.4.0.0.ebuild
new file mode 100644
index 000000000..01f7ff31d
--- /dev/null
+++ b/net-misc/megasync/megasync-5.4.0.0.ebuild
@@ -0,0 +1,176 @@
+# Copyright 2023-2024 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
+"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ EGIT_BRANCH="master"
+ EGIT_SUBMODULES=( '*' )
+else
+ MEGA_SDK_REV="8ffa53c73b8295415f965139daf78cecbac70482" # 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
+ "
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin 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:=
+ dolphin? (
+ kde-apps/dolphin:5
+ kde-frameworks/kcoreaddons:5
+ kde-frameworks/kio:5
+ kde-frameworks/kwidgetsaddons:5
+ )
+ 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? ( xfce-base/thunar:= )
+"
+RDEPEND="
+ ${DEPEND}
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtquickcontrols2:5
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ dolphin? ( kde-frameworks/extra-cmake-modules )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-link-zlib.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
+)
+
+BUILD_DIR_DOLPHIN="${S}_dolphin"
+
+dolphin_run() {
+ if use dolphin; then
+ cd "${S}/src/MEGAShellExtDolphin" || die
+ BUILD_DIR="${BUILD_DIR_DOLPHIN}" CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin" "$@"
+ fi
+}
+
+nautilus_run() {
+ if use nautilus; then
+ cd "${S}/src/MEGAShellExtNautilus" || die
+ "$@"
+ fi
+}
+
+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() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
+ fi
+
+ 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/contrib/cmake/modules/packages"
+ -DENABLE_DESKTOP_UPDATE_GEN=OFF
+ -DUSE_FFMPEG=$(usex thumbnail)
+ -DUSE_FREEIMAGE=$(usex thumbnail)
+ -DUSE_MEDIAINFO=$(usex mediainfo)
+ -DUSE_PDFIUM=OFF
+ -DUSE_READLINE=OFF
+ )
+ cmake_src_configure
+
+ unset mycmakeargs
+ dolphin_run cmake_src_configure
+ nautilus_run eqmake5
+ nemo_run eqmake5
+ thunar_run eqmake5
+}
+
+src_compile() {
+ cmake_src_compile
+
+ dolphin_run cmake_src_compile
+ nautilus_run emake
+ nemo_run emake
+ thunar_run emake
+}
+
+src_install() {
+ cmake_src_install
+
+ dolphin_run cmake_src_install
+ nautilus_run emake INSTALL_ROOT="${D}" install
+ nemo_run emake INSTALL_ROOT="${D}" install
+ thunar_run emake INSTALL_ROOT="${D}" install
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-08-20 15:08 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-08-20 15:08 UTC (permalink / raw
To: gentoo-commits
commit: b3930fd0261a7ba0bb6756bdafc793d24618230c
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Aug 20 13:15:49 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Aug 20 15:02:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b3930fd0
net-misc/megasync: drop 5.4.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-5.4.0.0.ebuild | 176 ------------------------------
2 files changed, 178 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 4ed04a019..83dd07b40 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,2 @@
-DIST megasync-5.4.0.0.tar.gz 24716654 BLAKE2B 06b2bfbdf6f0bda00bd53ae062c99352a71fa5f50fa88c75b9a2dcafb9b1f5d6b47be48bee2f052945e9a80f144024d8c1519698f5a951f140fa9170bfbbae27 SHA512 1e323fe637f6e32e893d3e22f512c3fbc1aca17eb5c85df24ef75d7492de9386fc18f20baa5fa7d28a83e763835e531da486c89c74e9223aa0e9216b9e343459
DIST megasync-5.4.1.0.tar.gz 24718226 BLAKE2B ab89ed026efc0e28ef5c21554db259e74199d12d1194ecf358ad658b0ecee5a7c421ce374e3ba54a752e813c38b535034c04e9749b1f9d876a7df88951d2250a SHA512 d908308135cdd717555002d58c4faa1917bd049a0a2f99ae0b487f2ccfda6d7a00c9dee72aae52210079e656f3031bf3cf414020090e4a6b600e3cef5af11901
-DIST megasync-sdk-5.4.0.0.tar.gz 4158786 BLAKE2B bfaa09a358ba692477c8ba85fd86e9d919bb267b54390c02e2aa593d52ea6dd245721a854855576f72561500d6c8a763c4dbef9935e6defc38dede12b7fcd40f SHA512 78a7d478f1586c6dfa4b7f954e7cd00272b484996c4296fe18ea965198cfa6a342e9084a898a69b036e1e96b72aab28ac731e9397474713375f63e8dd9170e1d
DIST megasync-sdk-5.4.1.0.tar.gz 4248625 BLAKE2B 96e76e6e421b2f4b7423d5870f0cfcf89bbec6392191e84b2ee7daa0ac4a6a9c6c9599773bd124ce5189abf7a80db981c0f260eec18be8ef7825bba5422123f4 SHA512 740dad61901775ef2e93861c4a42e9e20a779c7189084ed8336cb06d64a3743638e7ca499279b71d2e8bf68d225a3a6397fdfff1a89c18d413ab44eec489c7ea
diff --git a/net-misc/megasync/megasync-5.4.0.0.ebuild b/net-misc/megasync/megasync-5.4.0.0.ebuild
deleted file mode 100644
index 01f7ff31d..000000000
--- a/net-misc/megasync/megasync-5.4.0.0.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 2023-2024 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
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="8ffa53c73b8295415f965139daf78cecbac70482" # 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
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-IUSE="dolphin 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:=
- dolphin? (
- kde-apps/dolphin:5
- kde-frameworks/kcoreaddons:5
- kde-frameworks/kio:5
- kde-frameworks/kwidgetsaddons:5
- )
- 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? ( xfce-base/thunar:= )
-"
-RDEPEND="
- ${DEPEND}
- dev-qt/qtquickcontrols:5
- dev-qt/qtquickcontrols2:5
-"
-BDEPEND="
- dev-qt/linguist-tools:5
- dolphin? ( kde-frameworks/extra-cmake-modules )
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
- "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
- "${FILESDIR}/${PN}-5.3.0.0-link-zlib.patch"
- "${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
- "${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
-)
-
-BUILD_DIR_DOLPHIN="${S}_dolphin"
-
-dolphin_run() {
- if use dolphin; then
- cd "${S}/src/MEGAShellExtDolphin" || die
- BUILD_DIR="${BUILD_DIR_DOLPHIN}" CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin" "$@"
- fi
-}
-
-nautilus_run() {
- if use nautilus; then
- cd "${S}/src/MEGAShellExtNautilus" || die
- "$@"
- fi
-}
-
-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() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega || die
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
- fi
-
- 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/contrib/cmake/modules/packages"
- -DENABLE_DESKTOP_UPDATE_GEN=OFF
- -DUSE_FFMPEG=$(usex thumbnail)
- -DUSE_FREEIMAGE=$(usex thumbnail)
- -DUSE_MEDIAINFO=$(usex mediainfo)
- -DUSE_PDFIUM=OFF
- -DUSE_READLINE=OFF
- )
- cmake_src_configure
-
- unset mycmakeargs
- dolphin_run cmake_src_configure
- nautilus_run eqmake5
- nemo_run eqmake5
- thunar_run eqmake5
-}
-
-src_compile() {
- cmake_src_compile
-
- dolphin_run cmake_src_compile
- nautilus_run emake
- nemo_run emake
- thunar_run emake
-}
-
-src_install() {
- cmake_src_install
-
- dolphin_run cmake_src_install
- nautilus_run emake INSTALL_ROOT="${D}" install
- nemo_run emake INSTALL_ROOT="${D}" install
- thunar_run emake INSTALL_ROOT="${D}" install
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-08-20 15:08 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-08-20 15:08 UTC (permalink / raw
To: gentoo-commits
commit: 97583a71f5611a9a3d502fc778d0e3f395c8677a
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Aug 20 13:15:42 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Tue Aug 20 15:02:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=97583a71
net-misc/megasync: add 5.4.1.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-5.4.1.0.ebuild | 176 ++++++++++++++++++++++++++++++
2 files changed, 178 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index e2f4fca5a..4ed04a019 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-5.4.0.0.tar.gz 24716654 BLAKE2B 06b2bfbdf6f0bda00bd53ae062c99352a71fa5f50fa88c75b9a2dcafb9b1f5d6b47be48bee2f052945e9a80f144024d8c1519698f5a951f140fa9170bfbbae27 SHA512 1e323fe637f6e32e893d3e22f512c3fbc1aca17eb5c85df24ef75d7492de9386fc18f20baa5fa7d28a83e763835e531da486c89c74e9223aa0e9216b9e343459
+DIST megasync-5.4.1.0.tar.gz 24718226 BLAKE2B ab89ed026efc0e28ef5c21554db259e74199d12d1194ecf358ad658b0ecee5a7c421ce374e3ba54a752e813c38b535034c04e9749b1f9d876a7df88951d2250a SHA512 d908308135cdd717555002d58c4faa1917bd049a0a2f99ae0b487f2ccfda6d7a00c9dee72aae52210079e656f3031bf3cf414020090e4a6b600e3cef5af11901
DIST megasync-sdk-5.4.0.0.tar.gz 4158786 BLAKE2B bfaa09a358ba692477c8ba85fd86e9d919bb267b54390c02e2aa593d52ea6dd245721a854855576f72561500d6c8a763c4dbef9935e6defc38dede12b7fcd40f SHA512 78a7d478f1586c6dfa4b7f954e7cd00272b484996c4296fe18ea965198cfa6a342e9084a898a69b036e1e96b72aab28ac731e9397474713375f63e8dd9170e1d
+DIST megasync-sdk-5.4.1.0.tar.gz 4248625 BLAKE2B 96e76e6e421b2f4b7423d5870f0cfcf89bbec6392191e84b2ee7daa0ac4a6a9c6c9599773bd124ce5189abf7a80db981c0f260eec18be8ef7825bba5422123f4 SHA512 740dad61901775ef2e93861c4a42e9e20a779c7189084ed8336cb06d64a3743638e7ca499279b71d2e8bf68d225a3a6397fdfff1a89c18d413ab44eec489c7ea
diff --git a/net-misc/megasync/megasync-5.4.1.0.ebuild b/net-misc/megasync/megasync-5.4.1.0.ebuild
new file mode 100644
index 000000000..cacf6085a
--- /dev/null
+++ b/net-misc/megasync/megasync-5.4.1.0.ebuild
@@ -0,0 +1,176 @@
+# Copyright 2023-2024 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
+"
+
+if [[ ${PV} == 9999 ]];then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
+ EGIT_BRANCH="master"
+ EGIT_SUBMODULES=( '*' )
+else
+ MEGA_SDK_REV="159dcc4a61d43dfdf5997cf8113755fbe2452bd7" # 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
+ "
+ KEYWORDS="~amd64 ~x86"
+ S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
+fi
+
+LICENSE="MEGA"
+SLOT="0"
+IUSE="dolphin 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:=
+ dolphin? (
+ kde-apps/dolphin:5
+ kde-frameworks/kcoreaddons:5
+ kde-frameworks/kio:5
+ kde-frameworks/kwidgetsaddons:5
+ )
+ 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? ( xfce-base/thunar:= )
+"
+RDEPEND="
+ ${DEPEND}
+ dev-qt/qtquickcontrols:5
+ dev-qt/qtquickcontrols2:5
+"
+BDEPEND="
+ dev-qt/linguist-tools:5
+ dolphin? ( kde-frameworks/extra-cmake-modules )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
+ "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-link-zlib.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
+)
+
+BUILD_DIR_DOLPHIN="${S}_dolphin"
+
+dolphin_run() {
+ if use dolphin; then
+ cd "${S}/src/MEGAShellExtDolphin" || die
+ BUILD_DIR="${BUILD_DIR_DOLPHIN}" CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin" "$@"
+ fi
+}
+
+nautilus_run() {
+ if use nautilus; then
+ cd "${S}/src/MEGAShellExtNautilus" || die
+ "$@"
+ fi
+}
+
+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() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
+ fi
+
+ 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/contrib/cmake/modules/packages"
+ -DENABLE_DESKTOP_UPDATE_GEN=OFF
+ -DUSE_FFMPEG=$(usex thumbnail)
+ -DUSE_FREEIMAGE=$(usex thumbnail)
+ -DUSE_MEDIAINFO=$(usex mediainfo)
+ -DUSE_PDFIUM=OFF
+ -DUSE_READLINE=OFF
+ )
+ cmake_src_configure
+
+ unset mycmakeargs
+ dolphin_run cmake_src_configure
+ nautilus_run eqmake5
+ nemo_run eqmake5
+ thunar_run eqmake5
+}
+
+src_compile() {
+ cmake_src_compile
+
+ dolphin_run cmake_src_compile
+ nautilus_run emake
+ nemo_run emake
+ thunar_run emake
+}
+
+src_install() {
+ cmake_src_install
+
+ dolphin_run cmake_src_install
+ nautilus_run emake INSTALL_ROOT="${D}" install
+ nemo_run emake INSTALL_ROOT="${D}" install
+ thunar_run emake INSTALL_ROOT="${D}" install
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-09-21 7:46 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-09-21 7:46 UTC (permalink / raw
To: gentoo-commits
commit: 137fa99e206c2af870e67abc61f242215dce82c1
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Sep 21 07:45:17 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Sep 21 07:45:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=137fa99e
net-misc/megasync: drop dolphin USE flag
kde-apps/dolphin:5 has been dropped from ::gentoo, and dolphin:6 is
incompatible.
Closes: https://bugs.gentoo.org/522238 (obsolete)
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/megasync-5.4.1.0.ebuild | 21 +--------------------
net-misc/megasync/megasync-9999.ebuild | 21 +--------------------
net-misc/megasync/metadata.xml | 1 -
3 files changed, 2 insertions(+), 41 deletions(-)
diff --git a/net-misc/megasync/megasync-5.4.1.0.ebuild b/net-misc/megasync/megasync-5.4.1.0.ebuild
index cacf6085a..950e804d2 100644
--- a/net-misc/megasync/megasync-5.4.1.0.ebuild
+++ b/net-misc/megasync/megasync-5.4.1.0.ebuild
@@ -29,7 +29,7 @@ fi
LICENSE="MEGA"
SLOT="0"
-IUSE="dolphin mediainfo nautilus nemo thumbnail thunar"
+IUSE="mediainfo nautilus nemo thumbnail thunar"
DEPEND="
dev-db/sqlite:3
@@ -52,12 +52,6 @@ DEPEND="
net-misc/curl[ssl]
sys-libs/zlib
x11-libs/libxcb:=
- dolphin? (
- kde-apps/dolphin:5
- kde-frameworks/kcoreaddons:5
- kde-frameworks/kio:5
- kde-frameworks/kwidgetsaddons:5
- )
mediainfo? (
media-libs/libmediainfo
media-libs/libzen
@@ -83,7 +77,6 @@ RDEPEND="
"
BDEPEND="
dev-qt/linguist-tools:5
- dolphin? ( kde-frameworks/extra-cmake-modules )
"
PATCHES=(
@@ -94,15 +87,6 @@ PATCHES=(
"${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
)
-BUILD_DIR_DOLPHIN="${S}_dolphin"
-
-dolphin_run() {
- if use dolphin; then
- cd "${S}/src/MEGAShellExtDolphin" || die
- BUILD_DIR="${BUILD_DIR_DOLPHIN}" CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin" "$@"
- fi
-}
-
nautilus_run() {
if use nautilus; then
cd "${S}/src/MEGAShellExtNautilus" || die
@@ -151,7 +135,6 @@ src_configure() {
cmake_src_configure
unset mycmakeargs
- dolphin_run cmake_src_configure
nautilus_run eqmake5
nemo_run eqmake5
thunar_run eqmake5
@@ -160,7 +143,6 @@ src_configure() {
src_compile() {
cmake_src_compile
- dolphin_run cmake_src_compile
nautilus_run emake
nemo_run emake
thunar_run emake
@@ -169,7 +151,6 @@ src_compile() {
src_install() {
cmake_src_install
- dolphin_run cmake_src_install
nautilus_run emake INSTALL_ROOT="${D}" install
nemo_run emake INSTALL_ROOT="${D}" install
thunar_run emake INSTALL_ROOT="${D}" install
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 8b25de399..524e07beb 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -29,7 +29,7 @@ fi
LICENSE="MEGA"
SLOT="0"
-IUSE="dolphin mediainfo nautilus nemo thumbnail thunar"
+IUSE="mediainfo nautilus nemo thumbnail thunar"
DEPEND="
dev-db/sqlite:3
@@ -52,12 +52,6 @@ DEPEND="
net-misc/curl[ssl]
sys-libs/zlib
x11-libs/libxcb:=
- dolphin? (
- kde-apps/dolphin:5
- kde-frameworks/kcoreaddons:5
- kde-frameworks/kio:5
- kde-frameworks/kwidgetsaddons:5
- )
mediainfo? (
media-libs/libmediainfo
media-libs/libzen
@@ -83,7 +77,6 @@ RDEPEND="
"
BDEPEND="
dev-qt/linguist-tools:5
- dolphin? ( kde-frameworks/extra-cmake-modules )
"
PATCHES=(
@@ -94,15 +87,6 @@ PATCHES=(
"${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
)
-BUILD_DIR_DOLPHIN="${S}_dolphin"
-
-dolphin_run() {
- if use dolphin; then
- cd "${S}/src/MEGAShellExtDolphin" || die
- BUILD_DIR="${BUILD_DIR_DOLPHIN}" CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin" "$@"
- fi
-}
-
nautilus_run() {
if use nautilus; then
cd "${S}/src/MEGAShellExtNautilus" || die
@@ -151,7 +135,6 @@ src_configure() {
cmake_src_configure
unset mycmakeargs
- dolphin_run cmake_src_configure
nautilus_run eqmake5
nemo_run eqmake5
thunar_run eqmake5
@@ -160,7 +143,6 @@ src_configure() {
src_compile() {
cmake_src_compile
- dolphin_run cmake_src_compile
nautilus_run emake
nemo_run emake
thunar_run emake
@@ -169,7 +151,6 @@ src_compile() {
src_install() {
cmake_src_install
- dolphin_run cmake_src_install
nautilus_run emake INSTALL_ROOT="${D}" install
nemo_run emake INSTALL_ROOT="${D}" install
thunar_run emake INSTALL_ROOT="${D}" install
diff --git a/net-misc/megasync/metadata.xml b/net-misc/megasync/metadata.xml
index aa423a992..95ed64187 100644
--- a/net-misc/megasync/metadata.xml
+++ b/net-misc/megasync/metadata.xml
@@ -13,7 +13,6 @@
<remote-id type="github">meganz/MEGAsync</remote-id>
</upstream>
<use>
- <flag name='dolphin'>Build a plugin for Dolphin</flag>
<flag name='mediainfo'>Use <pkg>media-libs/libmediainfo</pkg> to determine media properties</flag>
<flag name='nautilus'>Build a plugin for nautilus</flag>
<flag name='nemo'>Build a plugin for Nemo</flag>
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-10-03 16:08 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-10-03 16:08 UTC (permalink / raw
To: gentoo-commits
commit: 63c23e7803aeb99f6abbbb61099ef7c6bbedc164
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Oct 3 16:05:44 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Oct 3 16:05:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=63c23e78
net-misc/megasync: add 5.5.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 ++
.../{megasync-9999.ebuild => megasync-5.5.0.0.ebuild} | 16 ++++------------
net-misc/megasync/megasync-9999.ebuild | 16 ++++------------
3 files changed, 10 insertions(+), 24 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index 83dd07b40..f8beac786 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,2 +1,4 @@
DIST megasync-5.4.1.0.tar.gz 24718226 BLAKE2B ab89ed026efc0e28ef5c21554db259e74199d12d1194ecf358ad658b0ecee5a7c421ce374e3ba54a752e813c38b535034c04e9749b1f9d876a7df88951d2250a SHA512 d908308135cdd717555002d58c4faa1917bd049a0a2f99ae0b487f2ccfda6d7a00c9dee72aae52210079e656f3031bf3cf414020090e4a6b600e3cef5af11901
+DIST megasync-5.5.0.0.tar.gz 24651476 BLAKE2B 6a62b9c27329864e53bc80a98018c6ccbc4a858518ef497a0825b251bd9458888e3b7f1c5ff09488971aa11d927bb173e14289f035db439b9e0340bd9add8a79 SHA512 4a62fadff5f472391b7ee1b0bf525878c1030bbb0e8d88e4f79571b61d5f9e86769d2ee8081638b0b0110ee59b9b9de1ad39cfdb87f36887286a8543aafcfd02
DIST megasync-sdk-5.4.1.0.tar.gz 4248625 BLAKE2B 96e76e6e421b2f4b7423d5870f0cfcf89bbec6392191e84b2ee7daa0ac4a6a9c6c9599773bd124ce5189abf7a80db981c0f260eec18be8ef7825bba5422123f4 SHA512 740dad61901775ef2e93861c4a42e9e20a779c7189084ed8336cb06d64a3743638e7ca499279b71d2e8bf68d225a3a6397fdfff1a89c18d413ab44eec489c7ea
+DIST megasync-sdk-5.5.0.0.tar.gz 4206234 BLAKE2B 08da742a9dd7d89ebbdb7b0b45dc1c174819b605734a87ab28bb9f1dae4108162110e4d7c820e2427e7b63250cd0550daab20e514eaa33543e47f7d7ea44d1ec SHA512 20a87e4440d2d161335f268389b58c353d9dd6bb1f0b2423c403b1f7202cc927776d3225f4e174b238b03a062d998f65a3ded931fb7f8718275934529015a74c
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-5.5.0.0.ebuild
similarity index 90%
copy from net-misc/megasync/megasync-9999.ebuild
copy to net-misc/megasync/megasync-5.5.0.0.ebuild
index 524e07beb..fa2c72a29 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-5.5.0.0.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
else
- MEGA_SDK_REV="eb8dba09149e1aad0210c3591f3ef6e50022f714" # commit of src/MEGASync/mega submodule
+ MEGA_SDK_REV="eb86660026272d62a547099d2fed3a7d46fc64e7" # 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
@@ -77,23 +77,16 @@ RDEPEND="
"
BDEPEND="
dev-qt/linguist-tools:5
+ virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
- "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
"${FILESDIR}/${PN}-5.3.0.0-link-zlib.patch"
"${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
"${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
)
-nautilus_run() {
- if use nautilus; then
- cd "${S}/src/MEGAShellExtNautilus" || die
- "$@"
- fi
-}
-
nemo_run() {
if use nemo; then
cd "${S}/src/MEGAShellExtNemo" || die
@@ -125,7 +118,9 @@ src_configure() {
# build internal libs as static
-DBUILD_SHARED_LIBS=OFF
-DCMAKE_MODULE_PATH="${S}/src/MEGASync/mega/contrib/cmake/modules/packages"
+ -DENABLE_DESKTOP_APP_WERROR=OFF
-DENABLE_DESKTOP_UPDATE_GEN=OFF
+ -DENABLE_LINUX_EXT=$(usex nautilus)
-DUSE_FFMPEG=$(usex thumbnail)
-DUSE_FREEIMAGE=$(usex thumbnail)
-DUSE_MEDIAINFO=$(usex mediainfo)
@@ -135,7 +130,6 @@ src_configure() {
cmake_src_configure
unset mycmakeargs
- nautilus_run eqmake5
nemo_run eqmake5
thunar_run eqmake5
}
@@ -143,7 +137,6 @@ src_configure() {
src_compile() {
cmake_src_compile
- nautilus_run emake
nemo_run emake
thunar_run emake
}
@@ -151,7 +144,6 @@ src_compile() {
src_install() {
cmake_src_install
- nautilus_run emake INSTALL_ROOT="${D}" install
nemo_run emake INSTALL_ROOT="${D}" install
thunar_run emake INSTALL_ROOT="${D}" install
}
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
index 524e07beb..fa2c72a29 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -17,7 +17,7 @@ if [[ ${PV} == 9999 ]];then
EGIT_BRANCH="master"
EGIT_SUBMODULES=( '*' )
else
- MEGA_SDK_REV="eb8dba09149e1aad0210c3591f3ef6e50022f714" # commit of src/MEGASync/mega submodule
+ MEGA_SDK_REV="eb86660026272d62a547099d2fed3a7d46fc64e7" # 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
@@ -77,23 +77,16 @@ RDEPEND="
"
BDEPEND="
dev-qt/linguist-tools:5
+ virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/${PN}-4.10.0.0_ffmpeg6.patch"
- "${FILESDIR}/${PN}-4.10.0.0_fix-build.patch"
"${FILESDIR}/${PN}-5.3.0.0-link-zlib.patch"
"${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
"${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
)
-nautilus_run() {
- if use nautilus; then
- cd "${S}/src/MEGAShellExtNautilus" || die
- "$@"
- fi
-}
-
nemo_run() {
if use nemo; then
cd "${S}/src/MEGAShellExtNemo" || die
@@ -125,7 +118,9 @@ src_configure() {
# build internal libs as static
-DBUILD_SHARED_LIBS=OFF
-DCMAKE_MODULE_PATH="${S}/src/MEGASync/mega/contrib/cmake/modules/packages"
+ -DENABLE_DESKTOP_APP_WERROR=OFF
-DENABLE_DESKTOP_UPDATE_GEN=OFF
+ -DENABLE_LINUX_EXT=$(usex nautilus)
-DUSE_FFMPEG=$(usex thumbnail)
-DUSE_FREEIMAGE=$(usex thumbnail)
-DUSE_MEDIAINFO=$(usex mediainfo)
@@ -135,7 +130,6 @@ src_configure() {
cmake_src_configure
unset mycmakeargs
- nautilus_run eqmake5
nemo_run eqmake5
thunar_run eqmake5
}
@@ -143,7 +137,6 @@ src_configure() {
src_compile() {
cmake_src_compile
- nautilus_run emake
nemo_run emake
thunar_run emake
}
@@ -151,7 +144,6 @@ src_compile() {
src_install() {
cmake_src_install
- nautilus_run emake INSTALL_ROOT="${D}" install
nemo_run emake INSTALL_ROOT="${D}" install
thunar_run emake INSTALL_ROOT="${D}" install
}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-10-30 13:39 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-10-30 13:39 UTC (permalink / raw
To: gentoo-commits
commit: 47f68fbee329f261f097365e8522d5f0804a6f13
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Wed Oct 30 13:37:43 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Wed Oct 30 13:37:43 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47f68fbe
net-misc/megasync: drop 9999
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/megasync-9999.ebuild | 149 ---------------------------------
1 file changed, 149 deletions(-)
diff --git a/net-misc/megasync/megasync-9999.ebuild b/net-misc/megasync/megasync-9999.ebuild
deleted file mode 100644
index fa2c72a29..000000000
--- a/net-misc/megasync/megasync-9999.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 2023-2024 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
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="eb86660026272d62a547099d2fed3a7d46fc64e7" # 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
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-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? ( 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.3.0.0-link-zlib.patch"
- "${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
- "${FILESDIR}/${PN}-5.3.0.0-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() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega || die
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
- fi
-
- 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/contrib/cmake/modules/packages"
- -DENABLE_DESKTOP_APP_WERROR=OFF
- -DENABLE_DESKTOP_UPDATE_GEN=OFF
- -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
- 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
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-11-21 12:12 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-11-21 12:12 UTC (permalink / raw
To: gentoo-commits
commit: a0887c55085b37c1aece53f92c16c43c5e2a290a
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Nov 21 12:11:54 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Nov 21 12:11:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a0887c55
net-misc/megasync: add 5.6.1.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 +
net-misc/megasync/megasync-5.6.1.0.ebuild | 144 ++++++++++++++++++++++++++++++
2 files changed, 146 insertions(+)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index ee9a884e6..ceea399fe 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,4 +1,6 @@
DIST megasync-5.5.0.0.tar.gz 24651476 BLAKE2B 6a62b9c27329864e53bc80a98018c6ccbc4a858518ef497a0825b251bd9458888e3b7f1c5ff09488971aa11d927bb173e14289f035db439b9e0340bd9add8a79 SHA512 4a62fadff5f472391b7ee1b0bf525878c1030bbb0e8d88e4f79571b61d5f9e86769d2ee8081638b0b0110ee59b9b9de1ad39cfdb87f36887286a8543aafcfd02
DIST megasync-5.6.0.0.tar.gz 24712966 BLAKE2B 644e2ccbb2d7e60e9b15278d0e75c46ed102bab436e33a46dfac5068d9e527f4d9e1fbf109f286200b07d02efc08a986c0c263f4ce588fa286dcfc5eb73310d2 SHA512 49105e145cb3af2628044eb0161efdb4c2b75d844d955fe65b54171d77b887e0b77c543911a9a39501fe2200f43fbcdf3f0f1b78fe5868fa8a1968e7e9e02aca
+DIST megasync-5.6.1.0.tar.gz 24712997 BLAKE2B 0e1a80c3c4f934f0b9274beba0883a72ab41bb9dc71284109cf2dd17660adc30ace4e82258ff403d1f95e5edab3aedf309632c2e172b0c727bdfedf06379d09e SHA512 f62b8890eefd4b0f66eeaf99e98a04369da36daea1b3011888c16408578a6e10f3bbe5d584b18a249776ceff9184b77506a809fd1bba95b8f6671a8bf10a1dc1
DIST megasync-sdk-5.5.0.0.tar.gz 4206234 BLAKE2B 08da742a9dd7d89ebbdb7b0b45dc1c174819b605734a87ab28bb9f1dae4108162110e4d7c820e2427e7b63250cd0550daab20e514eaa33543e47f7d7ea44d1ec SHA512 20a87e4440d2d161335f268389b58c353d9dd6bb1f0b2423c403b1f7202cc927776d3225f4e174b238b03a062d998f65a3ded931fb7f8718275934529015a74c
DIST megasync-sdk-5.6.0.0.tar.gz 4231209 BLAKE2B 47e2bfe98879101c295e98556c21189a9e0223ed98c21558c6270534d0f58270e41a44eef7a2889caeb1c3256fd00e5d10c51c53c58c96e48efe29b56bb54d06 SHA512 4cf7bd84421a4399fe4269bac16916b5164755f2241c19a78b1c371dac342332c6e7e440942bac31370eeb840a6a71645fd26e1c98a8ff095a1ab8d10ca694e8
+DIST megasync-sdk-5.6.1.0.tar.gz 4231187 BLAKE2B 4e0640281b451d9de18f63be3cca832717fe3ea387d91ace63a7db9d63ea51dfdd54342912885b3a7bde475b93beb524c9a44da9d2106d157df4a6b13b470104 SHA512 f630c3232e3b7b5ac5d9fab0f2d3c8ea6acbd98bb27fdc948d150e91b9edf5ffda575a52544fe5af0e6a023fa53ffe3dc1632e06c823956928e7edb0637f2932
diff --git a/net-misc/megasync/megasync-5.6.1.0.ebuild b/net-misc/megasync/megasync-5.6.1.0.ebuild
new file mode 100644
index 000000000..cd602354c
--- /dev/null
+++ b/net-misc/megasync/megasync-5.6.1.0.ebuild
@@ -0,0 +1,144 @@
+# Copyright 2023-2024 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="ecc873026fcc0355f6d490b8529c9f22d5a4fd8c" # 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
+"
+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? ( 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.3.0.0-link-zlib.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
+ "${FILESDIR}/${PN}-5.3.0.0-rename-libcryptopp.patch"
+ "${FILESDIR}/${PN}-5.6.0.0-remove-clang-format.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() {
+ if [[ ${PV} != 9999 ]]; then
+ rmdir src/MEGASync/mega || die
+ mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
+ fi
+
+ 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/contrib/cmake/modules/packages"
+ -DENABLE_DESKTOP_APP_WERROR=OFF
+ -DENABLE_DESKTOP_UPDATE_GEN=OFF
+ -DENABLE_DESIGN_TOKENS_IMPORTER=OFF
+ -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
+ 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
+}
^ permalink raw reply related [flat|nested] 46+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/
@ 2024-11-21 12:12 Takuya Wakazono
0 siblings, 0 replies; 46+ messages in thread
From: Takuya Wakazono @ 2024-11-21 12:12 UTC (permalink / raw
To: gentoo-commits
commit: a4eb3a3fa448376e15b871421470e26232781613
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Nov 21 12:11:54 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Thu Nov 21 12:11:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a4eb3a3f
net-misc/megasync: drop 5.5.0.0
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
net-misc/megasync/Manifest | 2 -
net-misc/megasync/megasync-5.5.0.0.ebuild | 149 ------------------------------
2 files changed, 151 deletions(-)
diff --git a/net-misc/megasync/Manifest b/net-misc/megasync/Manifest
index ceea399fe..8bb3a95e6 100644
--- a/net-misc/megasync/Manifest
+++ b/net-misc/megasync/Manifest
@@ -1,6 +1,4 @@
-DIST megasync-5.5.0.0.tar.gz 24651476 BLAKE2B 6a62b9c27329864e53bc80a98018c6ccbc4a858518ef497a0825b251bd9458888e3b7f1c5ff09488971aa11d927bb173e14289f035db439b9e0340bd9add8a79 SHA512 4a62fadff5f472391b7ee1b0bf525878c1030bbb0e8d88e4f79571b61d5f9e86769d2ee8081638b0b0110ee59b9b9de1ad39cfdb87f36887286a8543aafcfd02
DIST megasync-5.6.0.0.tar.gz 24712966 BLAKE2B 644e2ccbb2d7e60e9b15278d0e75c46ed102bab436e33a46dfac5068d9e527f4d9e1fbf109f286200b07d02efc08a986c0c263f4ce588fa286dcfc5eb73310d2 SHA512 49105e145cb3af2628044eb0161efdb4c2b75d844d955fe65b54171d77b887e0b77c543911a9a39501fe2200f43fbcdf3f0f1b78fe5868fa8a1968e7e9e02aca
DIST megasync-5.6.1.0.tar.gz 24712997 BLAKE2B 0e1a80c3c4f934f0b9274beba0883a72ab41bb9dc71284109cf2dd17660adc30ace4e82258ff403d1f95e5edab3aedf309632c2e172b0c727bdfedf06379d09e SHA512 f62b8890eefd4b0f66eeaf99e98a04369da36daea1b3011888c16408578a6e10f3bbe5d584b18a249776ceff9184b77506a809fd1bba95b8f6671a8bf10a1dc1
-DIST megasync-sdk-5.5.0.0.tar.gz 4206234 BLAKE2B 08da742a9dd7d89ebbdb7b0b45dc1c174819b605734a87ab28bb9f1dae4108162110e4d7c820e2427e7b63250cd0550daab20e514eaa33543e47f7d7ea44d1ec SHA512 20a87e4440d2d161335f268389b58c353d9dd6bb1f0b2423c403b1f7202cc927776d3225f4e174b238b03a062d998f65a3ded931fb7f8718275934529015a74c
DIST megasync-sdk-5.6.0.0.tar.gz 4231209 BLAKE2B 47e2bfe98879101c295e98556c21189a9e0223ed98c21558c6270534d0f58270e41a44eef7a2889caeb1c3256fd00e5d10c51c53c58c96e48efe29b56bb54d06 SHA512 4cf7bd84421a4399fe4269bac16916b5164755f2241c19a78b1c371dac342332c6e7e440942bac31370eeb840a6a71645fd26e1c98a8ff095a1ab8d10ca694e8
DIST megasync-sdk-5.6.1.0.tar.gz 4231187 BLAKE2B 4e0640281b451d9de18f63be3cca832717fe3ea387d91ace63a7db9d63ea51dfdd54342912885b3a7bde475b93beb524c9a44da9d2106d157df4a6b13b470104 SHA512 f630c3232e3b7b5ac5d9fab0f2d3c8ea6acbd98bb27fdc948d150e91b9edf5ffda575a52544fe5af0e6a023fa53ffe3dc1632e06c823956928e7edb0637f2932
diff --git a/net-misc/megasync/megasync-5.5.0.0.ebuild b/net-misc/megasync/megasync-5.5.0.0.ebuild
deleted file mode 100644
index fa2c72a29..000000000
--- a/net-misc/megasync/megasync-5.5.0.0.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 2023-2024 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
-"
-
-if [[ ${PV} == 9999 ]];then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
- EGIT_BRANCH="master"
- EGIT_SUBMODULES=( '*' )
-else
- MEGA_SDK_REV="eb86660026272d62a547099d2fed3a7d46fc64e7" # 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
- "
- KEYWORDS="~amd64 ~x86"
- S="${WORKDIR}"/MEGAsync-${PV}_${MEGA_TAG_SUFFIX}
-fi
-
-LICENSE="MEGA"
-SLOT="0"
-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? ( 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.3.0.0-link-zlib.patch"
- "${FILESDIR}/${PN}-5.3.0.0-fix-install-dir.patch"
- "${FILESDIR}/${PN}-5.3.0.0-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() {
- if [[ ${PV} != 9999 ]]; then
- rmdir src/MEGASync/mega || die
- mv "${WORKDIR}/sdk-${MEGA_SDK_REV}" src/MEGASync/mega || die
- fi
-
- 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/contrib/cmake/modules/packages"
- -DENABLE_DESKTOP_APP_WERROR=OFF
- -DENABLE_DESKTOP_UPDATE_GEN=OFF
- -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
- 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
-}
^ permalink raw reply related [flat|nested] 46+ messages in thread
end of thread, other threads:[~2024-11-21 12:12 UTC | newest]
Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-06 0:22 [gentoo-commits] repo/proj/guru:dev commit in: net-misc/megasync/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2024-11-21 12:12 Takuya Wakazono
2024-11-21 12:12 Takuya Wakazono
2024-10-30 13:39 Takuya Wakazono
2024-10-03 16:08 Takuya Wakazono
2024-09-21 7:46 Takuya Wakazono
2024-08-20 15:08 Takuya Wakazono
2024-08-20 15:08 Takuya Wakazono
2024-07-27 4:58 Takuya Wakazono
2024-07-27 4:58 Takuya Wakazono
2024-07-20 8:20 Takuya Wakazono
2024-07-12 17:56 Takuya Wakazono
2024-06-03 10:39 Takuya Wakazono
2024-05-07 12:30 Takuya Wakazono
2024-05-07 12:30 Takuya Wakazono
2024-03-25 13:16 Takuya Wakazono
2024-03-19 10:11 Takuya Wakazono
2024-03-19 10:11 Takuya Wakazono
2024-01-29 9:44 Takuya Wakazono
2024-01-29 9:44 Takuya Wakazono
2024-01-26 10:06 Takuya Wakazono
2024-01-26 10:06 Takuya Wakazono
2023-11-23 6:09 Takuya Wakazono
2023-11-23 6:09 Takuya Wakazono
2023-11-19 11:25 Takuya Wakazono
2023-11-16 15:28 Takuya Wakazono
2023-11-14 14:30 Takuya Wakazono
2023-11-14 14:30 Takuya Wakazono
2023-11-03 13:49 Takuya Wakazono
2023-11-03 3:37 Takuya Wakazono
2022-02-09 13:12 Anna Vyalkova
2021-05-24 19:55 Samuel Bernardo
2021-05-22 11:42 Marcin Woźniak
2021-05-03 10:11 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-05-03 9:36 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-03-28 10:52 Andrew Ammerlaan
2021-01-25 8:53 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-01-25 8:53 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-01-03 13:58 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-01-03 13:58 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-01-03 13:58 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-01-03 13:58 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-01-02 16:57 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-01-02 16:49 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-12-31 8:31 Theo Anderson
2020-12-10 23:03 Theo Anderson
2020-12-10 22:05 Theo Anderson
2020-11-08 12:34 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-11-08 12:34 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-11-08 11:13 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-11-08 11:06 ` [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-11-07 11:09 Samuel Bernardo
2020-11-07 10:44 Samuel Bernardo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox