mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-05 01:22:23 +00:00
* Updated patch `common-rconfiguration.cc.patch`: - The previous patch used to store configuration at `TERMUX_PREFIX/etc/synaptic` (why?) - Removed patch for `getpwuid`. It was added to ndk: https://github.com/termux/termux-packages/blob/master/ndk-patches%2F27c%2Fpwd.h.patch - Now as assumed by the application, it is stored at `~/.config/synaptic` or `XDG_CONFIG_HOME/synaptic` (if set). The old configuration will automatically be moved to the new location. - Since `/tmp` and `/log` is created inside config directory, we need not patch them. Signed-off-by: Aditya Alok <alok@termux.dev>
24 lines
915 B
Bash
24 lines
915 B
Bash
TERMUX_PKG_HOMEPAGE=https://www.nongnu.org/synaptic/
|
|
TERMUX_PKG_DESCRIPTION="Synaptic is a graphical package management tool based on GTK+ and APT."
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@Yisus7u7"
|
|
TERMUX_PKG_VERSION="0.91.7"
|
|
TERMUX_PKG_SRCURL=https://github.com/mvo5/synaptic/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=6da82e1ff9f0bd00b34db02ea7d291caeeb546303ba639a8e32ebac8a5db6ccf
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
|
TERMUX_PKG_DEPENDS="apt, dpkg, gdk-pixbuf, glib, gtk3, libc++, libvte, pango"
|
|
TERMUX_PKG_RECOMMENDS="hicolor-icon-theme, netsurf"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure(){
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
# Fix "error: no template named binary_function" (binary_function was removed in c++17):
|
|
CXXFLAGS+=" -std=c++14"
|
|
}
|
|
|
|
|
|
termux_step_post_make_install(){
|
|
install -Dm700 -t ${TERMUX_PREFIX}/bin ./gtk/synaptic
|
|
}
|