-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add osip and exosip repo #4654
Closed
Closed
add osip and exosip repo #4654
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
007f4f8
add commata packages
benny-12 e7051d8
impoove the script of commata
benny-12 651716c
XMerge branch 'dev' of https://github.com/hahahahbenny/xmake-repo int…
benny-12 ed82d59
add license and change the way of os.cp writing
benny-12 f55e002
add commit url
benny-12 8603c00
Update xmake.lua
waruqi 1e43082
Merge branch 'xmake-io:dev' into ospp
hahahahbenny a24a87d
add macdylibbundler package
benny-12 0a1d832
delete the part of windows, because this repo just support linux and …
benny-12 1041327
delete the part of mingw
benny-12 7a2bb4b
Update xmake.lua
waruqi 3dd8c78
Delete packages/m/macdylibbundler/port/xmake.lua
waruqi d2a663e
Update xmake.lua
waruqi c417259
Merge branch 'xmake-io:dev' into dev
hahahahbenny 2c882eb
Merge branch 'xmake-io:dev' into dev
hahahahbenny 823d53d
Merge branch 'xmake-io:dev' into dev
hahahahbenny 3e5af05
add the xtd repo
benny-12 8cb9dc8
Merge branch 'xmake-io:dev' into dev
hahahahbenny 96b3f9b
Merge branch 'xmake-io:dev' into dev
hahahahbenny 496dc9e
add repo osip and exosip
benny-12 84fea83
add the autoconf repo and system restrictions
benny-12 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package("exosip") | ||
set_homepage("https://savannah.nongnu.org/projects/exosip") | ||
set_description("eXosip is a library that hides the complexity of using the SIP protocol for mutlimedia session establishement") | ||
set_license("GPL-2.0") | ||
|
||
add_urls("https://git.savannah.nongnu.org/cgit/exosip.git/snapshot/exosip-$(version).tar.gz", | ||
"git://git.savannah.gnu.org/exosip.git") | ||
|
||
add_versions("5.3.0", "66c2b2ddcfdc8807054fa31f72a6068ef66d98bedd9aedb25b9031718b9906a2") | ||
|
||
add_deps("autoconf", "automake", "osip") | ||
|
||
on_install("@macosx", "@linux", "@bsd", function (package) | ||
local configs = {} | ||
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no")) | ||
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes")) | ||
import("package.tools.autoconf").install(package, configs) | ||
end) | ||
|
||
on_test(function (package) | ||
assert(package:has_cincludes("eXosip2/eXosip.h")) | ||
end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package("osip") | ||
set_homepage("https://savannah.gnu.org/projects/osip") | ||
set_description("oSIP is an LGPL implementation of SIP. It's stable, portable, flexible and compliant! -may be more-! It is used mostly with eXosip2 stack (GPL) which provides simpler API for User-Agent implementation.") | ||
set_license("LGPL") | ||
|
||
add_urls("https://git.savannah.gnu.org/cgit/osip.git/snapshot/osip-$(version).tar.gz", | ||
"https://git.savannah.gnu.org/git/osip.git") | ||
|
||
add_versions("5.3.0", "593c9d61150b230f7e757b652d70d5fe336c84db7e4db190658f9ef1597d59ed") | ||
|
||
add_deps("autoconf", "automake") | ||
|
||
on_install("@macosx", "@linux", "@bsd", function (package) | ||
local configs = {} | ||
table.insert(configs, "--enable-shared=" .. (package:config("shared") and "yes" or "no")) | ||
table.insert(configs, "--enable-static=" .. (package:config("shared") and "no" or "yes")) | ||
import("package.tools.autoconf").install(package, configs) | ||
end) | ||
|
||
on_test(function (package) | ||
assert(package:has_cincludes("osip2/osip_mt.h")) | ||
end) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package("xtd") | ||
set_homepage("https://github.com/gammasoft71/xtd") | ||
set_description("xtd is a modern C++17/20 framework to create console, GUI (forms like WinForms) and unit test applications on Microsoft Windows, Apple macOS, Linux, iOS and android (*).") | ||
set_license("MIT") | ||
|
||
add_urls("https://github.com/gammasoft71/xtd/archive/refs/tags/v0.1.2-beta.zip", | ||
"https://github.com/gammasoft71/xtd.git") | ||
|
||
add_versions("v0.1.2", "648f7e5e2252d0db4e9432d493cec0682c059605ae3dfded793884cbbf3d1bd5") | ||
|
||
if is_plat("linux") then | ||
add_extsources("apt::libgsound-dev") | ||
end | ||
|
||
add_deps("cmake", "wxwidgets", "alsa-lib", "xorgproto") | ||
|
||
on_install("linux", function (package) | ||
local configs = {} | ||
table.insert(configs, "-DXTD_BUILD_SHARED_LIBRARIES=" .. (package:config("shared") and "ON" or "OFF")) | ||
table.insert(configs, "-DXTD_INSTALL_EXAMPLES=OFF") | ||
import("package.tools.cmake").install(package, configs) | ||
end) | ||
|
||
on_test(function (package) | ||
assert(package:check_cxxsnippets({test = [[ | ||
#include <xtd/xtd> | ||
using namespace xtd; | ||
static void test() { | ||
console::background_color(console_color::blue); | ||
console::foreground_color(console_color::white); | ||
console::write_line("Hello, World!"); | ||
} | ||
]]}, {configs = {languages = "c++20"}})) | ||
end) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
用 has_cfuncs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的