new package: xfce-theme-manager (#353) (#535)

This commit is contained in:
Yisus7u7 2021-12-20 09:33:37 -05:00 committed by Yaksh Bariya
parent 1c2ba2b3f6
commit 09ad7abff8
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://github.com/KeithDHedger/Xfce-Theme-Manager
TERMUX_PKG_DESCRIPTION="Integrated theme manager for xfce4"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Yisus7u7 <jesuspixel5@gmail.com>"
TERMUX_PKG_VERSION=3.8
TERMUX_PKG_SRCURL=https://github.com/KeithDHedger/Xfce-Theme-Manager/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=da4b6b0ea9b9acde30893358ce2c997f298ffc6fac32e84aab6fa141b7bf26eb
TERMUX_PKG_DEPENDS="libcairo, gdk-pixbuf, glib, gtk2, gtk3, libxfce4ui, libxfce4util, unzip"
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -0,0 +1,17 @@
diff --git a/Xfce-Theme-Manager/src/globals.h b/Xfce-Theme-Manager/src/globals.h
index d09a124..931271b 100644
--- a/Xfce-Theme-Manager/src/globals.h
+++ b/Xfce-Theme-Manager/src/globals.h
@@ -42,9 +42,9 @@
#define DELETETHEME 100
-#define GLOBALICONS "/usr/share/icons"
-#define GLOBALTHEMES "/usr/share/themes"
-#define GLOBALWALLPAPERS "/usr/share/backgrounds/xfce"
+#define GLOBALICONS "@TERMUX_PREFIX@/share/icons"
+#define GLOBALTHEMES "@TERMUX_PREFIX@/share/themes"
+#define GLOBALWALLPAPERS "@TERMUX_PREFIX@/share/backgrounds/xfce"
//new props defines
#define XSETTINGS "xsettings"