Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
F
FreeBSD ports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
6
Snippets
Groups
Projects
Show more breadcrumbs
FreeBSD
FreeBSD ports
Commits
91a19f4d
Commit
91a19f4d
authored
1 year ago
by
Jan Beich
Browse files
Options
Downloads
Patches
Plain Diff
x11/hyprpaper: unbundle devel/hyprlang
parent
1c60f593
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
x11/hyprpaper/Makefile
+3
-9
3 additions, 9 deletions
x11/hyprpaper/Makefile
x11/hyprpaper/distinfo
+0
-2
0 additions, 2 deletions
x11/hyprpaper/distinfo
x11/hyprpaper/files/patch-private-libs
+0
-37
0 additions, 37 deletions
x11/hyprpaper/files/patch-private-libs
with
3 additions
and
48 deletions
x11/hyprpaper/Makefile
+
3
−
9
View file @
91a19f4d
PORTNAME
=
hyprpaper
DISTVERSIONPREFIX
=
v
DISTVERSION
=
0.6.0
PORTREVISION
=
1
CATEGORIES
=
x11 wayland
MAINTAINER
=
jbeich@FreeBSD.org
...
...
@@ -8,25 +9,18 @@ COMMENT= Blazing fast Wayland wallpaper utility with IPC controls
WWW
=
https://github.com/hyprwm/hyprpaper
LICENSE
=
BSD3CLAUSE
LICENSE
+=
GPLv3+
LICENSE_COMB
=
multi
LICENSE_FILE
=
${
WRKSRC
}
/LICENSE
LICENSE_FILE_GPLv3+
=
${WRKSRC_hyprlang}/LICENSE
BROKEN_armv7
=
https://github.com/hyprwm/hyprlang/issues/8
BROKEN_i386
=
https://github.com/hyprwm/hyprlang/issues/8
BROKEN_powerpc
=
https://github.com/hyprwm/hyprlang/issues/8
BUILD_DEPENDS
=
gmake:devel/gmake
\
wayland-protocols>0:graphics/wayland-protocols
LIB_DEPENDS
=
libwayland-client.so:graphics/wayland
\
LIB_DEPENDS
=
libhyprlang.so:devel/hyprlang
\
libwayland-client.so:graphics/wayland
\
libwebp.so:graphics/webp
USES
=
compiler:c++11-lib cmake gnome jpeg localbase:ldflags pkgconfig
USE_GNOME
=
cairo
USE_GITHUB
=
yes
GH_ACCOUNT
=
hyprwm
GH_TUPLE
=
hyprwm:hyprlang:v0.2.1:hyprlang/subprojects/hyprlang
PLIST_FILES
=
bin/
${
PORTNAME
}
post-patch
:
...
...
This diff is collapsed.
Click to expand it.
x11/hyprpaper/distinfo
+
0
−
2
View file @
91a19f4d
TIMESTAMP = 1704230554
SHA256 (hyprwm-hyprpaper-v0.6.0_GH0.tar.gz) = 71d8294ffbcbaae628c4eabdcb3b7fb1974d6bed7794b787bb77934d0a3f4538
SIZE (hyprwm-hyprpaper-v0.6.0_GH0.tar.gz) = 28122
SHA256 (hyprwm-hyprlang-v0.2.1_GH0.tar.gz) = e41b265f09c1e84e03f052f584fcc086fe48ec5057191ef35917ce79e7dc4190
SIZE (hyprwm-hyprlang-v0.2.1_GH0.tar.gz) = 61006
This diff is collapsed.
Click to expand it.
x11/hyprpaper/files/patch-private-libs
deleted
100644 → 0
+
0
−
37
View file @
1c60f593
hyprlang has no other consumers. Keep it private for now.
--- CMakeLists.txt.orig 2024-01-02 21:22:34 UTC
+++ CMakeLists.txt
@@ -41,11 +41,12 @@
find_package(PkgConfig REQUIRED)
find_package(Threads REQUIRED)
find_package(PkgConfig REQUIRED)
-pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols cairo pango pangocairo libjpeg libwebp hyprlang>=0.2.0)
+pkg_check_modules(deps REQUIRED IMPORTED_TARGET wayland-client wayland-protocols cairo pango pangocairo libjpeg libwebp)
file(GLOB_RECURSE SRCFILES "src/*.cpp")
add_executable(hyprpaper ${SRCFILES})
+add_subdirectory(subprojects/hyprlang EXCLUDE_FROM_ALL)
target_compile_definitions(hyprpaper PRIVATE "-DGIT_COMMIT_HASH=\"${GIT_COMMIT_HASH}\"")
target_compile_definitions(hyprpaper PRIVATE "-DGIT_BRANCH=\"${GIT_BRANCH}\"")
@@ -59,6 +60,7 @@
target_link_libraries(hyprpaper PkgConfig::deps)
include(CPack)
target_link_libraries(hyprpaper PkgConfig::deps)
+target_link_libraries(hyprpaper hyprlang)
target_link_libraries(hyprpaper
OpenGL
--- subprojects/hyprlang/CMakeLists.txt.orig 2024-01-02 22:10:42 UTC
+++ subprojects/hyprlang/CMakeLists.txt
@@ -17,7 +17,7 @@
file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cp
file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp" "include/hyprlang.hpp")
-add_library(hyprlang SHARED ${SRCFILES})
+add_library(hyprlang STATIC ${SRCFILES})
target_include_directories( hyprlang
PUBLIC "./include"
PRIVATE "./src"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment