summaryrefslogtreecommitdiff
path: root/repo/apps/polybar
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/apps/polybar
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/apps/polybar')
-rw-r--r--repo/apps/polybar/fix-version.patch11
-rw-r--r--repo/apps/polybar/polybar.xibuild44
2 files changed, 0 insertions, 55 deletions
diff --git a/repo/apps/polybar/fix-version.patch b/repo/apps/polybar/fix-version.patch
deleted file mode 100644
index 1548ce3..0000000
--- a/repo/apps/polybar/fix-version.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -33,7 +33,7 @@
- OUTPUT_VARIABLE git_describe
- OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_QUIET)
-
--if(git_result EQUAL "0")
-+if(0)
- set(APP_VERSION "${git_describe}")
- else()
- message(STATUS "Could not detect version with git, falling back to built-in version information.")
diff --git a/repo/apps/polybar/polybar.xibuild b/repo/apps/polybar/polybar.xibuild
deleted file mode 100644
index 16e07af..0000000
--- a/repo/apps/polybar/polybar.xibuild
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-
-NAME="polybar"
-DESC="fast and easy-to-use tool for creating status bars"
-
-MAKEDEPS="cmake "
-DEPS="alsa-lib sbase cairo fontconfig freetype2 jsoncpp curl libmpdclient pulseaudio libuv musl libxcb xcb-util-cursor xcb-util-wm "
-
-PKG_VER=3.6.1
-SOURCE="https://github.com/polybar/polybar/archive/$PKG_VER.tar.gz"
-
-xppver="044e69d05db7f89339bda1ccd1efe0263b01c8f6"
-i3ipcppver="86ddf7102c6903ae0cc543071e2d375403fc0727"
-
-ADDITIONAL="fix-version.patch
-https://github.com/polybar/xpp/archive/$xppver.tar.gz
-https://github.com/polybar/i3ipcpp/archive/$i3ipcppver.tar.gz
-"
-
-prepare () {
- tar -xf $xppver.tar.gz
- tar -xf $i3ipcppver.tar.gz
-
- mkdir build
- rm -rf lib/xpp
- mv xpp-$xppver lib/xpp
- rm -rf lib/i3ipcpp
- mv i3ipcpp-$i3ipcpp lib/i3ipcpp
-
- apply_patches
-}
-
-build () {
- cmake -B build \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=/usr/lib \
- -DBUILD_SHARED_LIBS=True \
- -DBUILD_STATIC_LIBS=OFF
- cmake --build build
-}
-
-package () {
- DESTDIR="$PKG_DEST" cmake --install build
-}