Skip to content

Commit

Permalink
add repo osip and exosip
Browse files Browse the repository at this point in the history
  • Loading branch information
benny-12 committed Jul 17, 2024
1 parent 96b3f9b commit 496dc9e
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/e/exosip/xmake.lua
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("osip")

on_install(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)
5 changes: 5 additions & 0 deletions packages/g/gtk+3/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ package("gtk+3")
set_description("Toolkit for creating graphical user interfaces")
set_license("LGPL-2.0-or-later")

add_urls("https://gitlab.gnome.org/GNOME/gtk/-/archive/gtk-3-24/gtk-gtk-3-24.zip",
"https://gitlab.gnome.org/GNOME/gtk.git")

add_versions("v0.1.2", "648f7e5e2252d0db4e9432d493cec0682c059605ae3dfded793884cbbf3d1bd5")

on_fetch("linux", function (package, opt)
if opt.system and package.find_package then
return package:find_package("pkgconfig::gtk+-3.0")
Expand Down
20 changes: 20 additions & 0 deletions packages/o/osip/xmake.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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")

on_install(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)

0 comments on commit 496dc9e

Please sign in to comment.