new package: cairo-dock-core (#505)
This commit is contained in:
parent
fa6de4e814
commit
e0f415ce71
21
x11-packages/cairo-dock-core/build.sh
Normal file
21
x11-packages/cairo-dock-core/build.sh
Normal file
@ -0,0 +1,21 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://glx-dock.org/
|
||||
TERMUX_PKG_DESCRIPTION="Cairo-Dock is a simple and avanzed dock for linux desktop."
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="Yisus7u7 <jesuspixel5@gmail.com>"
|
||||
TERMUX_PKG_VERSION=3.4.1
|
||||
_COMMIT=6c569e67a2a366e7634224a0133ede51755629cb
|
||||
TERMUX_PKG_SRCURL=https://github.com/Cairo-Dock/cairo-dock-core/archive/${_COMMIT}.zip
|
||||
TERMUX_PKG_SHA256=e59e99147ce9c901b46d4b56b88bd53aeda34292b86fd9fbf2c55d158153f2ec
|
||||
TERMUX_PKG_DEPENDS="atk, dbus-glib, glib, gtk3, pango, libcairo, libx11, xsltproc, libcurl, gdk-pixbuf, harfbuzz, mesa, glu, librsvg, libxcomposite, libwayland, libwayland-protocols, libxinerama, libxrandr, libxrender, libxtst, libxml2"
|
||||
TERMUX_PKG_BUILD_DEPENDS="valac"
|
||||
|
||||
if [ $TERMUX_ARCH == "arm" ]; then
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_BUILD_TYPE=\"Release\" -DLIB_SUFFIX=32"
|
||||
elif [ $TERMUX_ARCH == "i686" ]; then
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_BUILD_TYPE=\"Release\" -DLIB_SUFFIX=32"
|
||||
else
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DCMAKE_BUILD_TYPE=\"Release\" -DFORCE_LIB64=yes"
|
||||
fi
|
||||
|
||||
TERMUX_CMAKE_BUILD="Unix Makefiles"
|
||||
|
15
x11-packages/cairo-dock-core/cmake.patch
Normal file
15
x11-packages/cairo-dock-core/cmake.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/src/gldit/CMakeLists.txt b/src/gldit/CMakeLists.txt
|
||||
index f2340f6..6a06806 100644
|
||||
--- a/src/gldit/CMakeLists.txt
|
||||
+++ b/src/gldit/CMakeLists.txt
|
||||
@@ -122,8 +122,8 @@ target_link_libraries("gldi"
|
||||
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/gldi.pc.in ${CMAKE_CURRENT_BINARY_DIR}/gldi.pc)
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/gldi.pc DESTINATION ${install-pc-path})
|
||||
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/libgldi.so DESTINATION ${libdir})
|
||||
-install (FILES ${CMAKE_CURRENT_BINARY_DIR}/libgldi.so.${VERSION} DESTINATION ${libdir})
|
||||
-install (FILES ${CMAKE_CURRENT_BINARY_DIR}/libgldi.so.${SOVERSION} DESTINATION ${libdir})
|
||||
+install (FILES ${CMAKE_CURRENT_BINARY_DIR}/libgldi.so DESTINATION ${libdir})
|
||||
+install (FILES ${CMAKE_CURRENT_BINARY_DIR}/libgldi.so DESTINATION ${libdir})
|
||||
|
||||
########### install files ###############
|
||||
|
Loading…
Reference in New Issue
Block a user