aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2023-07-31 07:19:34 +0000
committerHiroki Tagato <tagattie@FreeBSD.org>2023-07-31 07:21:30 +0000
commit02b6c90afb90e7faebc665ba65233a65d57c7fae (patch)
tree6362422f917f323ee7b66bcb5a2c757083bf5994
parent2d089e2172e802b9399b25662e1e0be2bacd04a3 (diff)
downloadports-02b6c90afb90e7faebc665ba65233a65d57c7fae.tar.gz
ports-02b6c90afb90e7faebc665ba65233a65d57c7fae.zip
x11/damask: add port: Automatically set wallpaper images from Internet sources
Damask is an application that will automatically set wallpaper images by selecting images from a variety of sources, including local files and folders. It currently supports setting the wallpaper image from the following sources: - wallhaven.cc - Microsoft Bing Wallpaper of the day - NASA Astronomy Picture of the Day - Unsplash WWW: https://gitlab.gnome.org/subpop/damask
-rw-r--r--x11/Makefile1
-rw-r--r--x11/damask/Makefile36
-rw-r--r--x11/damask/distinfo3
-rw-r--r--x11/damask/pkg-descr9
-rw-r--r--x11/damask/pkg-plist8
5 files changed, 57 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index e65ca29216e7..82e9e91d72c0 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -50,6 +50,7 @@
SUBDIR += controllermap
SUBDIR += cool-retro-term
SUBDIR += coreterminal
+ SUBDIR += damask
SUBDIR += deforaos-keyboard
SUBDIR += deforaos-libdesktop
SUBDIR += deskmenu
diff --git a/x11/damask/Makefile b/x11/damask/Makefile
new file mode 100644
index 000000000000..b082aef8dd60
--- /dev/null
+++ b/x11/damask/Makefile
@@ -0,0 +1,36 @@
+PORTNAME= damask
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.2.0
+CATEGORIES= x11 gnome
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= Automatically set wallpaper images from Internet sources
+WWW= https://gitlab.gnome.org/subpop/damask
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= appstream-util:devel/appstream-glib \
+ blueprint-compiler:devel/blueprint-compiler
+LIB_DEPENDS= libportal.so:deskutils/libportal \
+ libportal-gtk4.so:deskutils/libportal-gtk4 \
+ libjson-glib-1.0.so:devel/json-glib \
+ libgee-0.8.so:devel/libgee \
+ libsoup-3.0.so:devel/libsoup3
+RUN_DEPENDS= xdg-desktop-portal-gnome>0:x11/xdg-desktop-portal-gnome
+
+USES= desktop-file-utils gettext-tools gnome meson pkgconfig \
+ vala:build
+
+USE_GITLAB= yes
+GL_SITE= https://gitlab.gnome.org
+GL_ACCOUNT= subpop
+
+USE_GNOME= glib20 gtk40 libadwaita
+GLIB_SCHEMAS= app.drey.Damask.gschema.xml
+
+# Don't create __pycache__ directory when executing blueprint-compiler
+# This is a workaround to avoid filesystem violations during poudriere build
+MAKE_ENV= PYTHONDONTWRITEBYTECODE=1
+
+.include <bsd.port.mk>
diff --git a/x11/damask/distinfo b/x11/damask/distinfo
new file mode 100644
index 000000000000..f6e8f40862c6
--- /dev/null
+++ b/x11/damask/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1690706882
+SHA256 (damask-v0.2.0.tar.bz2) = cdff79e2be8ad8ef75f6509f627363742e8cc1041be244d303f219921d202255
+SIZE (damask-v0.2.0.tar.bz2) = 291015
diff --git a/x11/damask/pkg-descr b/x11/damask/pkg-descr
new file mode 100644
index 000000000000..1be103c2073c
--- /dev/null
+++ b/x11/damask/pkg-descr
@@ -0,0 +1,9 @@
+Damask is an application that will automatically set wallpaper images
+by selecting images from a variety of sources, including local files
+and folders. It currently supports setting the wallpaper image from
+the following sources:
+
+- wallhaven.cc
+- Microsoft Bing Wallpaper of the day
+- NASA Astronomy Picture of the Day
+- Unsplash
diff --git a/x11/damask/pkg-plist b/x11/damask/pkg-plist
new file mode 100644
index 000000000000..6be528aa5670
--- /dev/null
+++ b/x11/damask/pkg-plist
@@ -0,0 +1,8 @@
+bin/damask
+share/applications/app.drey.Damask.desktop
+share/icons/hicolor/scalable/apps/app.drey.Damask.svg
+share/icons/hicolor/symbolic/apps/app.drey.Damask-symbolic.svg
+share/locale/fr/LC_MESSAGES/damask.mo
+share/locale/nl/LC_MESSAGES/damask.mo
+share/locale/ru/LC_MESSAGES/damask.mo
+share/metainfo/app.drey.Damask.metainfo.xml