From nobody Wed Jan 03 12:59:27 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T4qYW6vnGz55pfR; Wed, 3 Jan 2024 12:59:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T4qYW6HWDz4DWq; Wed, 3 Jan 2024 12:59:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704286767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7hCwkqcDbEXBfYBJIDYROqKcv2CzmtobJ5embABzi7Y=; b=l0a4GBMKngbac0mqN15hPOvqMO5AWZCXHwEr9i1lHs/xAmelnSivVzdQnEqHZyQrfiw8A7 uUEOGfxPgivUYl/+2gd/0d0GlKfAty1dF2EBuRG74MoSggZU9AQ0Ih0EfRzucTd0aBTq5I i2It3L5pktX5gPc3/bIBw6RzKcm8Cyc8+HA6Q67H3/aN6Q0SmiJSrVOUzGC6vp3R7KTnde 6A3dW6YFc3eojIGIwGF1J3I7UsOebUFM4J5ncgceTExu4pg+gDWCE/s3OJZ520Q2sGhr/7 lypKDOQsXcCK9UWQVL8VsJl9ARZVM3ZreO5zu0Lo4LDGgMe59O6jS/gW7YMauQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704286767; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=7hCwkqcDbEXBfYBJIDYROqKcv2CzmtobJ5embABzi7Y=; b=RE87fN1Gu57k6TX+q454NUvP9T0gV3hEIbwMKp1W3XwhkBIxCn8Q9JJ2PuNfn7Y/AoBj7u K5A3Sn1AfWQQKWIGLGpK3Gq+tJx4Mnx5ftlVByrcjESacS9zS6OskVLxWQkaFYUhU4agTj 4syGtfMetP014ICz+Wz10fEmYW2rJibW5BbjrdBNvIAqruWC3OEVc1EutMz5KEQgrKhlK9 BP92WaOfJF6EjxQKu+gc2adBTMSEIZJZCSkE7drYcAR6P5M7iyEZUpQgZPkDu2ODNC7DaK E8u9qyzUQ5vNAye5/af8VkML/Q+52Ue6YMR0dfoZ2+YKdE4+YeseyDWeQ34xhw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704286767; a=rsa-sha256; cv=none; b=WfJJPn5nifFcW44ZjsieSZ7VX/yo9CIKp6WTxB887kBSfylWdYvSqOmhFMfp8lQzcz8gYU ibEMuH1zFU1a4FJGA4qX7+P3WiZaWs54G/XVSTiYo1k6BxWZnpYq39RKbOjYEiNufL89Ex JaO9BHaa7WUBbWnOCdfpNcgfAIz2U9zAdR0PRLns1pvctnKk9EW2+eP3p6FDFx9uiUs1HB VyiEgDXK3hAxi/FbtplZGiBBtPbFtSKmUX+zFPZq+HvbWK6O3FA2UVJv6kjoP+fQLf1jVB 6s1kuUOhDA75KNdxW1iUFOuJcS0qyvEFMxy5s1KbIKCRxpBy9iiLVcdCjEotsg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T4qYW5PH9zmBp; Wed, 3 Jan 2024 12:59:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 403CxRqV046714; Wed, 3 Jan 2024 12:59:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 403CxRQb046711; Wed, 3 Jan 2024 12:59:27 GMT (envelope-from git) Date: Wed, 3 Jan 2024 12:59:27 GMT Message-Id: <202401031259.403CxRQb046711@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 1c60f593c930 - main - devel/hyprlang: add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1c60f593c930a1ebaea20094201fd87bf82c7f2e Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=1c60f593c930a1ebaea20094201fd87bf82c7f2e commit 1c60f593c930a1ebaea20094201fd87bf82c7f2e Author: Jan Beich AuthorDate: 2024-01-02 22:10:42 +0000 Commit: Jan Beich CommitDate: 2024-01-03 12:58:11 +0000 devel/hyprlang: add new port The hypr configuration language is an extremely efficient, yet easy to work with, configuration language for linux applications. It's user-friendly, easy to grasp, and easy to implement. https://hyprland.org/hyprlang --- devel/Makefile | 1 + devel/hyprlang/Makefile | 25 +++++++++++++++++++++++++ devel/hyprlang/distinfo | 3 +++ devel/hyprlang/files/patch-CMakeLists.txt | 25 +++++++++++++++++++++++++ devel/hyprlang/pkg-descr | 4 ++++ 5 files changed, 58 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index feeb6dfdd492..11da06554d54 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -960,6 +960,7 @@ SUBDIR += hwloc SUBDIR += hwloc2 SUBDIR += hyperscan + SUBDIR += hyprlang SUBDIR += ice SUBDIR += ice37 SUBDIR += icestorm diff --git a/devel/hyprlang/Makefile b/devel/hyprlang/Makefile new file mode 100644 index 000000000000..47aa69b95daa --- /dev/null +++ b/devel/hyprlang/Makefile @@ -0,0 +1,25 @@ +PORTNAME= hyprlang +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.1 +CATEGORIES= devel + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Library to parse hypr config files +WWW= https://hyprland.org/hyprlang + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/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 + +USES= cmake:testing compiler:c++11-lib +USE_GITHUB= yes +USE_LDCONFIG= yes +GH_ACCOUNT= hyprwm +PLIST_FILES= include/${PORTNAME}.hpp \ + lib/lib${PORTNAME}.so \ + share/pkgconfig/${PORTNAME}.pc + +.include diff --git a/devel/hyprlang/distinfo b/devel/hyprlang/distinfo new file mode 100644 index 000000000000..ac63b443fb3f --- /dev/null +++ b/devel/hyprlang/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704233442 +SHA256 (hyprwm-hyprlang-v0.2.1_GH0.tar.gz) = e41b265f09c1e84e03f052f584fcc086fe48ec5057191ef35917ce79e7dc4190 +SIZE (hyprwm-hyprlang-v0.2.1_GH0.tar.gz) = 61006 diff --git a/devel/hyprlang/files/patch-CMakeLists.txt b/devel/hyprlang/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..c19bc08bf1dc --- /dev/null +++ b/devel/hyprlang/files/patch-CMakeLists.txt @@ -0,0 +1,25 @@ +https://github.com/hyprwm/hyprlang/issues/6 +https://github.com/hyprwm/hyprlang/issues/7 + +--- CMakeLists.txt.orig 2024-01-02 22:10:42 UTC ++++ CMakeLists.txt +@@ -31,16 +31,16 @@ target_link_libraries(hyprlang_test PRIVATE hyprlang) + + add_executable(hyprlang_test "tests/parse/main.cpp") + target_link_libraries(hyprlang_test PRIVATE hyprlang) +-add_test(NAME "Parsing" WORKING_DIRECTORY "../tests/" COMMAND hyprlang_test "parse") ++add_test(NAME "Parsing" WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/tests/" COMMAND hyprlang_test "parse") + add_dependencies(tests hyprlang_test) + + add_executable(hyprlang_fuzz "tests/fuzz/main.cpp") + target_link_libraries(hyprlang_fuzz PRIVATE hyprlang) +-add_test(NAME "Fuzz" WORKING_DIRECTORY "../tests/" COMMAND hyprlang_fuzz "fuzz") ++add_test(NAME "Fuzz" WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}/tests/" COMMAND hyprlang_fuzz "fuzz") + add_dependencies(tests hyprlang_fuzz) + + # Installation + install(TARGETS hyprlang + PUBLIC_HEADER DESTINATION include + LIBRARY DESTINATION lib) +-install(FILES build/hyprlang.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pkgconfig) ++install(FILES ${CMAKE_BINARY_DIR}/hyprlang.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pkgconfig) diff --git a/devel/hyprlang/pkg-descr b/devel/hyprlang/pkg-descr new file mode 100644 index 000000000000..b2d738ca0be1 --- /dev/null +++ b/devel/hyprlang/pkg-descr @@ -0,0 +1,4 @@ +The hypr configuration language is an extremely efficient, yet easy to +work with, configuration language for linux applications. + +It's user-friendly, easy to grasp, and easy to implement.