mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-22 03:30:17 +00:00
Update repo
This commit is contained in:
9
disabled-packages/adwaita-qt/build.sh
Normal file
9
disabled-packages/adwaita-qt/build.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/FedoraQt/adwaita-qt
|
||||
TERMUX_PKG_DESCRIPTION="A style to bend Qt applications to look like they belong into GNOME Shell"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@Yisus7u7"
|
||||
TERMUX_PKG_VERSION=1.4.2
|
||||
TERMUX_PKG_SRCURL="https://github.com/FedoraQt/adwaita-qt/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz"
|
||||
TERMUX_PKG_SHA256=cd5fd71c46271d70c08ad44562e57c34e787d6a8650071db115910999a335ba8
|
||||
TERMUX_PKG_DEPENDS="libc++, libxcb, qt5-qtbase, qt5-qtx11extras"
|
||||
TERMUX_PKG_BUILD_DEPENDS="qt5-qtbase-cross-tools"
|
||||
16
disabled-packages/libfinalcut/build.sh
Normal file
16
disabled-packages/libfinalcut/build.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/gansm/finalcut
|
||||
TERMUX_PKG_DESCRIPTION="A C++ class library and widget toolkit for creating a text-based user interface"
|
||||
TERMUX_PKG_LICENSE="LGPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION="0.9.1"
|
||||
TERMUX_PKG_SRCURL=https://github.com/gansm/finalcut/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=6593b3c43ba1de98e4e0e3a563dbf9316fade71ef85c82e6b6f086184ec69a56
|
||||
TERMUX_PKG_DEPENDS="libc++, ncurses"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
|
||||
termux_step_pre_configure() {
|
||||
autoreconf -fi
|
||||
|
||||
LDFLAGS+=" $($CC -print-libgcc-file-name)"
|
||||
}
|
||||
18
disabled-packages/libfinalcut/examples-Makefile.am.patch
Normal file
18
disabled-packages/libfinalcut/examples-Makefile.am.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- a/examples/Makefile.am
|
||||
+++ b/examples/Makefile.am
|
||||
@@ -35,7 +35,6 @@
|
||||
termcap \
|
||||
timer \
|
||||
transparent \
|
||||
- treeview \
|
||||
ui \
|
||||
watch \
|
||||
windows
|
||||
@@ -65,7 +64,6 @@
|
||||
termcap_SOURCES = termcap.cpp
|
||||
timer_SOURCES = timer.cpp
|
||||
transparent_SOURCES = transparent.cpp
|
||||
-treeview_SOURCES = treeview.cpp
|
||||
ui_SOURCES = ui.cpp
|
||||
watch_SOURCES = watch.cpp
|
||||
windows_SOURCES = windows.cpp
|
||||
@@ -0,0 +1,20 @@
|
||||
--- a/examples/string-operations.cpp
|
||||
+++ b/examples/string-operations.cpp
|
||||
@@ -76,6 +76,7 @@
|
||||
std::cout << " Locale: " << std::setlocale(LC_CTYPE, "")
|
||||
<< std::endl;
|
||||
|
||||
+#ifndef __ANDROID__
|
||||
if ( isatty(1) && ! std::strcmp(nl_langinfo(CODESET), "ANSI_X3.4-1968") )
|
||||
{
|
||||
// locale C -> switch from 7bit ascii -> latin1
|
||||
@@ -83,6 +84,9 @@
|
||||
}
|
||||
|
||||
std::cout << " Codeset: " << nl_langinfo(CODESET) << std::endl;
|
||||
+#else
|
||||
+ std::cout << " Codeset: " << "UTF-8" << std::endl;
|
||||
+#endif
|
||||
std::cout << "--------------[ FString test ]-----------------"
|
||||
<< std::endl;
|
||||
}
|
||||
14
disabled-packages/libfinalcut/final-font-unicodemap.h.patch
Normal file
14
disabled-packages/libfinalcut/final-font-unicodemap.h.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- a/final/font/unicodemap.h
|
||||
+++ b/final/font/unicodemap.h
|
||||
@@ -8,7 +8,11 @@
|
||||
#endif
|
||||
|
||||
#if defined(__linux__)
|
||||
+#ifndef __ANDROID__
|
||||
#include <sys/kd.h>
|
||||
+#else
|
||||
+ #include <linux/kd.h>
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#include <array>
|
||||
@@ -0,0 +1,41 @@
|
||||
--- a/final/output/tty/fterm.cpp
|
||||
+++ b/final/output/tty/fterm.cpp
|
||||
@@ -1263,8 +1263,10 @@
|
||||
{
|
||||
// Init current locale
|
||||
|
||||
+#ifndef __ANDROID__
|
||||
static const auto& data = FTermData::getInstance();
|
||||
const auto& termtype = data.getTermType();
|
||||
+#endif
|
||||
const char* locale_name = std::setlocale (LC_ALL, "");
|
||||
std::setlocale (LC_NUMERIC, "");
|
||||
|
||||
@@ -1275,6 +1277,7 @@
|
||||
if ( locale_xterm )
|
||||
locale_name = std::setlocale (LC_ALL, locale_xterm);
|
||||
|
||||
+#ifndef __ANDROID__
|
||||
// TeraTerm can not show UTF-8 character
|
||||
if ( data.isTermType(FTermType::tera_term)
|
||||
&& ! std::strcmp(nl_langinfo(CODESET), "UTF-8") )
|
||||
@@ -1289,6 +1292,7 @@
|
||||
if ( termtype.substr(0, 3) == "sun"
|
||||
&& ! std::strcmp(nl_langinfo(CODESET), "UTF-8") )
|
||||
locale_name = std::setlocale (LC_ALL, "C");
|
||||
+#endif
|
||||
|
||||
// Try to found a meaningful content for locale_name
|
||||
if ( locale_name )
|
||||
@@ -1364,7 +1368,11 @@
|
||||
static const auto& fsys = FSystem::getInstance();
|
||||
|
||||
if ( fsys->isTTY(stdout_no)
|
||||
+#ifndef __ANDROID__
|
||||
&& ! std::strcmp(nl_langinfo(CODESET), "UTF-8") )
|
||||
+#else
|
||||
+ )
|
||||
+#endif
|
||||
{
|
||||
data.setUTF8Console(true);
|
||||
data.setTermEncoding (Encoding::UTF8);
|
||||
@@ -0,0 +1,37 @@
|
||||
--- a/final/output/tty/ftermlinux.h
|
||||
+++ b/final/output/tty/ftermlinux.h
|
||||
@@ -45,12 +45,16 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+ #ifndef __ANDROID__
|
||||
#if defined(__x86_64__) || defined(__i386) || defined(ARM_ISA_SYSCTL)
|
||||
#define ISA_SYSCTL_SUPPORT
|
||||
#include <sys/io.h>
|
||||
#endif // defined(__x86_64__) || defined(__i386) || defined(ARM_ISA_SYSCTL)
|
||||
|
||||
#include <sys/kd.h>
|
||||
+ #else /* __ANDROID__ */
|
||||
+ #include <linux/kd.h>
|
||||
+ #endif
|
||||
#else
|
||||
// struct forward declaration
|
||||
struct console_font_op;
|
||||
@@ -243,13 +247,17 @@
|
||||
#if defined(__linux__)
|
||||
bool vga_font{};
|
||||
bool new_font{};
|
||||
+#ifndef __ANDROID__
|
||||
bool has_saved_palette{};
|
||||
+#endif
|
||||
int framebuffer_bpp{-1};
|
||||
CursorStyle linux_console_cursor_style{};
|
||||
console_font_op screen_font{};
|
||||
unimapdesc screen_unicode_map{};
|
||||
+#ifndef __ANDROID__
|
||||
ColorMap saved_color_map{};
|
||||
ColorMap cmap{};
|
||||
+#endif
|
||||
KeyMap key_map{};
|
||||
ModifierKey mod_key{};
|
||||
#endif // defined(__linux__)
|
||||
18
disabled-packages/libfinalcut/final-util-fstring.h.patch
Normal file
18
disabled-packages/libfinalcut/final-util-fstring.h.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- a/final/util/fstring.h
|
||||
+++ b/final/util/fstring.h
|
||||
@@ -292,9 +292,15 @@
|
||||
auto setNumber (lDouble, int = int(getPrecision<lDouble>())) -> FString&;
|
||||
|
||||
template <typename NumT>
|
||||
+#ifndef __ANDROID__
|
||||
auto setFormatedNumber (NumT, char = nl_langinfo(THOUSEP)[0]) -> FString&;
|
||||
auto setFormatedNumber (sInt64, char = nl_langinfo(THOUSEP)[0]) -> FString&;
|
||||
auto setFormatedNumber (uInt64, char = nl_langinfo(THOUSEP)[0]) -> FString&;
|
||||
+#else
|
||||
+ auto setFormatedNumber (NumT, char = '\0') -> FString&;
|
||||
+ auto setFormatedNumber (sInt64, char = '\0') -> FString&;
|
||||
+ auto setFormatedNumber (uInt64, char = '\0') -> FString&;
|
||||
+#endif
|
||||
|
||||
auto insert (const FString&, int) -> const FString&;
|
||||
auto insert (const FString&, std::size_t) -> const FString&;
|
||||
15
disabled-packages/libfinalcut/final-util-fsystemimpl.h.patch
Normal file
15
disabled-packages/libfinalcut/final-util-fsystemimpl.h.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
--- a/final/util/fsystemimpl.h
|
||||
+++ b/final/util/fsystemimpl.h
|
||||
@@ -49,10 +49,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+ #ifndef __ANDROID__
|
||||
#if defined(__x86_64__) || defined(__i386) || defined(ARM_ISA_SYSCTL)
|
||||
#define ISA_SYSCTL_SUPPORT
|
||||
#include <sys/io.h>
|
||||
#endif // defined(__x86_64__) || defined(__i386) || defined(ARM_ISA_SYSCTL)
|
||||
+ #endif /* __ANDROID__ */
|
||||
|
||||
#endif // defined(__linux__)
|
||||
|
||||
29
disabled-packages/ocs-url/build.sh
Normal file
29
disabled-packages/ocs-url/build.sh
Normal file
@@ -0,0 +1,29 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://www.opendesktop.org/p/1136805/
|
||||
TERMUX_PKG_DESCRIPTION="An install helper program for items served via OpenCollaborationServices (ocs://)"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=3.1.0
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=git+https://www.opencode.net/dfn2/ocs-url
|
||||
TERMUX_PKG_GIT_BRANCH=release-${TERMUX_PKG_VERSION}
|
||||
TERMUX_PKG_DEPENDS="libc++, qt5-qtbase, qt5-qtdeclarative, qt5-qtsvg"
|
||||
TERMUX_PKG_BUILD_DEPENDS="qt5-qtbase-cross-tools, qt5-qtdeclarative-cross-tools"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||
PREFIX=$TERMUX_PREFIX
|
||||
"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
./scripts/prepare
|
||||
}
|
||||
|
||||
termux_step_configure() {
|
||||
"${TERMUX_PREFIX}/opt/qt/cross/bin/qmake" \
|
||||
-spec "${TERMUX_PREFIX}/lib/qt/mkspecs/termux-cross" \
|
||||
${TERMUX_PKG_EXTRA_CONFIGURE_ARGS}
|
||||
}
|
||||
|
||||
termux_step_post_make_install() {
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME \
|
||||
$TERMUX_PKG_SRCDIR/README.md
|
||||
}
|
||||
9
disabled-packages/ocs-url/scripts-prepare.patch
Normal file
9
disabled-packages/ocs-url/scripts-prepare.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
--- a/scripts/prepare
|
||||
+++ b/scripts/prepare
|
||||
@@ -3,5 +3,5 @@
|
||||
PROJDIR="$(cd "$(dirname "${0}")/../" && pwd)"
|
||||
|
||||
if [[ ! -d "${PROJDIR}/lib/qtil" ]]; then
|
||||
- git clone https://github.com/akiraohgaki/qtil.git -b release-0.4.0 --single-branch --depth=1 "${PROJDIR}/lib/qtil"
|
||||
+ git clone https://github.com/akiraohgaki/qtil.git -b v0.4.0 --single-branch --depth=1 "${PROJDIR}/lib/qtil"
|
||||
fi
|
||||
22
disabled-packages/pulseeffects/build.sh
Normal file
22
disabled-packages/pulseeffects/build.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
TERMUX_PKG_HOMEPAGE=https://github.com/wwmm/easyeffects
|
||||
TERMUX_PKG_DESCRIPTION="Audio effects for PulseAudio applications"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
# Do not upgrade to EasyEffects version.
|
||||
TERMUX_PKG_VERSION=4.8.7
|
||||
TERMUX_PKG_REVISION=4
|
||||
TERMUX_PKG_SRCURL=https://github.com/wwmm/easyeffects/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=d841f27df87b99747349be6b8de62d131422369908fcb57a81f39590437a8099
|
||||
TERMUX_PKG_AUTO_UPDATE=false
|
||||
TERMUX_PKG_DEPENDS="boost, glib, gst-plugins-bad, gst-plugins-base, gst-plugins-good, gstreamer, gtk3, gtkmm3, libbs2b, libc++, libebur128, librnnoise, libsndfile, libzita-convolver, lilv, pulseaudio"
|
||||
TERMUX_PKG_BUILD_DEPENDS="boost-headers, glib-cross, libsamplerate"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
case "$TERMUX_PKG_VERSION" in
|
||||
4.*|*:4.* ) ;;
|
||||
* ) termux_error_exit "Dubious version '$TERMUX_PKG_VERSION' for package '$TERMUX_PKG_NAME'." ;;
|
||||
esac
|
||||
|
||||
export BOOST_ROOT=$TERMUX_PREFIX
|
||||
termux_setup_glib_cross_pkg_config_wrapper
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
https://github.com/wwmm/easyeffects/pull/1536
|
||||
|
||||
https://github.com/termux/termux-packages/issues/10643
|
||||
|
||||
From ccda4ff52b4d317914994edcf5f41d4fa46e90af Mon Sep 17 00:00:00 2001
|
||||
From: xtkoba <69125751+xtkoba@users.noreply.github.com>
|
||||
Date: Fri, 20 May 2022 05:21:03 +0900
|
||||
Subject: [PATCH] [pulseaudio-legacy] Fix type of local variables
|
||||
|
||||
in `on_message_latency`.
|
||||
---
|
||||
src/pipeline_base.cpp | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/src/pipeline_base.cpp b/src/pipeline_base.cpp
|
||||
index 3d39701ae..d8b6ce7d3 100644
|
||||
--- a/src/pipeline_base.cpp
|
||||
+++ b/src/pipeline_base.cpp
|
||||
@@ -116,8 +116,8 @@ void on_message_state_changed(const GstBus* gst_bus, GstMessage* message, Pipeli
|
||||
|
||||
void on_message_latency(const GstBus* gst_bus, GstMessage* message, PipelineBase* pb) {
|
||||
if (std::strcmp(GST_OBJECT_NAME(message->src), "source") == 0) {
|
||||
- int latency = 0;
|
||||
- int buffer = 0;
|
||||
+ pa_usec_t latency = 0;
|
||||
+ pa_usec_t buffer = 0;
|
||||
|
||||
g_object_get(pb->source, "latency-time", &latency, nullptr);
|
||||
g_object_get(pb->source, "buffer-time", &buffer, nullptr);
|
||||
@@ -125,8 +125,8 @@ void on_message_latency(const GstBus* gst_bus, GstMessage* message, PipelineBase
|
||||
util::debug(pb->log_tag + "pulsesrc latency [us]: " + std::to_string(latency));
|
||||
util::debug(pb->log_tag + "pulsesrc buffer [us]: " + std::to_string(buffer));
|
||||
} else if (std::strcmp(GST_OBJECT_NAME(message->src), "sink") == 0) {
|
||||
- int latency = 0;
|
||||
- int buffer = 0;
|
||||
+ pa_usec_t latency = 0;
|
||||
+ pa_usec_t buffer = 0;
|
||||
|
||||
g_object_get(pb->sink, "latency-time", &latency, nullptr);
|
||||
g_object_get(pb->sink, "buffer-time", &buffer, nullptr);
|
||||
7
disabled-packages/pulseeffects/meson.build.patch
Normal file
7
disabled-packages/pulseeffects/meson.build.patch
Normal file
@@ -0,0 +1,7 @@
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -45,4 +45,3 @@
|
||||
subdir('help')
|
||||
subdir('src')
|
||||
|
||||
-meson.add_install_script('meson_post_install.py')
|
||||
Reference in New Issue
Block a user