Skip to content

Commit

Permalink
net-im/telegram-desktop: bump
Browse files Browse the repository at this point in the history
Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
  • Loading branch information
msva committed Aug 4, 2024
1 parent ff5134c commit 9be0718
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 2 deletions.
68 changes: 68 additions & 0 deletions dev-libs/ada/ada-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake git-r3
# multilib-minimal

DESCRIPTION="WHATWG-compliant and fast URL parser written in modern C++"
HOMEPAGE="https://github.com/ada-url/ada"
EGIT_REPO_URI="https://github.com/ada-url/ada"

LICENSE="Apache-2.0 MIT"
SLOT="0"

# src_prepare() {
# sed -r \
# -e "/^set\(CMAKE_INSTALL_DOCDIR/s@doc/[\$]\{PROJECT_NAME\}[\$]\{LIBIIO_VERSION_MAJOR\}-doc@doc/${PF:-9999}@g" \
# -i "${S}/CMakeLists.txt"
# use examples && (
# sed -r \
# -e '/#include <cdk\/cdk.h>/s@cdk/@@' \
# -i "${S}/examples/iio-monitor.c"
# sed -r \
# -e '/^iio-monitor:/{N;s@(-lncurses)([^[:alnum:]]?)@\1w -ltinfow\2@;s@(-lcdk)([^[:alnum:]]?)@\1w\2@}' \
# -i "${S}/examples/Makefile"
# )
# cmake_src_prepare
# # multilib_copy_sources
# }
#
# #multilib_src_configure() {
src_configure() {
local mycmakeargs=(
-DADA_BENCHMARKS=OFF
-DADA_COVERAGE=OFF
-DADA_DEVELOPMENT_CHECKS=OFF
-DADA_LOGGING=OFF
-DADA_SANITIZE=OFF
-DADA_SANITIZE_BOUNDS_STRICT=OFF
-DADA_SANITIZE_UNDEFINED=OFF
-DADA_TESTING=OFF
-DADA_TOOLS=OFF
-DBUILD_TESTING=OFF
)
cmake_src_configure
}

# #multilib_src_compile() {
# src_compile() {
# cmake_src_compile
# use examples && {
# emake -C examples
# }
# }
#
# #multilib_src_install() {
# src_install() {
# cmake_src_install
#
# use doc && {
# HTML_DOCS=( "${BUILD_DIR}/html/" )
# }
#
# use examples && (
# dobin examples/{iio-monitor,{dummy,ad93{6,7}1}-iiostream}
# )
# }
12 changes: 12 additions & 0 deletions dev-libs/ada/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<description>Also, you can find me on IRC (Libera.Chat) as mva, or in Telegram as @mva_name</description>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
<upstream>
<remote-id type="github">ada-url/ada</remote-id>
</upstream>
</pkgmetadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/Telegram/SourceFiles/ui/chat/chat.style 2024-08-02 09:26:52.899323105 +0700
+++ b/Telegram/SourceFiles/ui/chat/chat.style 2024-08-02 09:27:23.226355858 +0700
@@ -11,7 +11,7 @@ using "ui/widgets/widgets.style";
using "ui/menu_icons.style";
using "chat_helpers/chat_helpers.style"; // GroupCallUserpics

-msgMaxWidth: 430px;
+msgMaxWidth: 2430px;
msgFont: font(fsize);
msgNameFont: semiboldFont;
msgNameStyle: semiboldTextStyle;
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MYPATCHES=(
"allow-disable-stories"
"hide-banned"
"hide-sponsored-messages"
# "wide-baloons"
"wide-baloons"
"chat-ids"
"increase-limits"
"ignore-restrictions"
Expand All @@ -68,6 +68,7 @@ COMMON_DEPEND="
>=dev-cpp/glibmm-2.77:2.68
>=dev-libs/glib-2.77:2
>=dev-libs/gobject-introspection-1.77
dev-libs/ada
dev-libs/libdispatch
dev-libs/openssl:=
dev-libs/protobuf
Expand Down
3 changes: 2 additions & 1 deletion net-im/telegram-desktop/telegram-desktop-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MYPATCHES=(
"allow-disable-stories"
"hide-banned"
"hide-sponsored-messages"
# "wide-baloons"
"wide-baloons"
"chat-ids"
"increase-limits"
"ignore-restrictions"
Expand All @@ -68,6 +68,7 @@ COMMON_DEPEND="
>=dev-cpp/glibmm-2.77:2.68
>=dev-libs/glib-2.77:2
>=dev-libs/gobject-introspection-1.77
dev-libs/ada
dev-libs/libdispatch
dev-libs/openssl:=
dev-libs/protobuf
Expand Down

0 comments on commit 9be0718

Please sign in to comment.