Skip to content

Instantly share code, notes, and snippets.

@jsm222
Created June 30, 2021 08:36
Show Gist options
  • Save jsm222/79bf2065d00bd50c215c030576419c30 to your computer and use it in GitHub Desktop.
Save jsm222/79bf2065d00bd50c215c030576419c30 to your computer and use it in GitHub Desktop.
Testing port of hellodesktop dock
diff --git a/x11-wm/Makefile b/x11-wm/Makefile
index 6664746fb..121e0e806 100644
--- a/x11-wm/Makefile
+++ b/x11-wm/Makefile
@@ -41,6 +41,7 @@
SUBDIR += fvwm3
SUBDIR += gamescope
SUBDIR += gcompmgr
+ SUBDIR += hellodesktop-dock
SUBDIR += herbstluftwm
SUBDIR += hikari
SUBDIR += hs-xmonad
diff --git a/x11-wm/hellodesktop-dock/Makefile b/x11-wm/hellodesktop-dock/Makefile
new file mode 100644
index 000000000..d42d6229a
--- /dev/null
+++ b/x11-wm/hellodesktop-dock/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= hellodesktop-dock
+PORTVERSION= 0.10
+CATEGORIES= x11-wm
+
+MAINTAINER= [email protected]
+COMMENT= Dock of helloDesktop
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libfm.so:x11/libfm \
+ libmenu-cache.so:x11/menu-cache
+
+USES= cmake compiler:c++14-lang gettext-runtime \
+ localbase:ldflags pkgconfig \
+ kde:5 qt:5
+
+USE_GITHUB= yes
+GH_ACCOUNT= helloSystem
+GH_PROJECT= Dock
+GH_TAGNAME= dad8a9a
+
+USE_KDE= windowsystem
+USE_QT= buildtools_build qmake_build core dbus declarative gui linguisttools \
+ network quickcontrols2 widgets x11extras
+
+.include <bsd.port.mk>
diff --git a/x11-wm/hellodesktop-dock/distinfo b/x11-wm/hellodesktop-dock/distinfo
new file mode 100644
index 000000000..c25451aab
--- /dev/null
+++ b/x11-wm/hellodesktop-dock/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1625041187
+SHA256 (helloSystem-Dock-0.10-dad8a9a_GH0.tar.gz) = fb5042c877ac2c40d9e859ac81304477e69a7280b72eeb7e4b976379b9c26445
+SIZE (helloSystem-Dock-0.10-dad8a9a_GH0.tar.gz) = 32691
diff --git a/x11-wm/hellodesktop-dock/files/patch-CMakeLists.txt b/x11-wm/hellodesktop-dock/files/patch-CMakeLists.txt
new file mode 100644
index 000000000..e8062e41f
--- /dev/null
+++ b/x11-wm/hellodesktop-dock/files/patch-CMakeLists.txt
@@ -0,0 +1,8 @@
+--- CMakeLists.txt.orig 2021-06-30 08:30:50 UTC
++++ CMakeLists.txt
+@@ -46,4 +46,4 @@ target_link_libraries(${PROJECT_NAME}
+ KF5::WindowSystem
+ )
+
+-install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION /usr/bin)
++install(TARGETS ${PROJECT_NAME})
diff --git a/x11-wm/hellodesktop-dock/pkg-descr b/x11-wm/hellodesktop-dock/pkg-descr
new file mode 100644
index 000000000..bb07799be
--- /dev/null
+++ b/x11-wm/hellodesktop-dock/pkg-descr
@@ -0,0 +1,4 @@
+Dock of helloDesktop. Dock is based on
+https://github.com/cyberos/cyber-dock by rekols.
+
+WWW: https://github.com/helloSystem/Dock
diff --git a/x11-wm/hellodesktop-dock/pkg-plist b/x11-wm/hellodesktop-dock/pkg-plist
new file mode 100644
index 000000000..33067159d
--- /dev/null
+++ b/x11-wm/hellodesktop-dock/pkg-plist
@@ -0,0 +1 @@
+bin/cyber-dock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment