Compare commits
4 Commits
6666e890fa
...
e4c8a43b28
Author | SHA1 | Date | |
---|---|---|---|
e4c8a43b28 | |||
e3732bb867 | |||
da72b3c275 | |||
1384b4d0ef |
8
packages/net-im/lurch/lurch-0.6.7.exheres-0
Normal file
8
packages/net-im/lurch/lurch-0.6.7.exheres-0
Normal file
@ -0,0 +1,8 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require lurch
|
||||
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
@ -1,76 +1,8 @@
|
||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
SCM_REPOSITORY="https://github.com/gkdr/${PN}.git"
|
||||
SCM_axc_REPOSITORY="https://github.com/gkdr/axc.git"
|
||||
SCM_signal_REPOSITORY="https://github.com/WhisperSystems/libsignal-protocol-c.git"
|
||||
SCM_omemo_REPOSITORY="https://github.com/gkdr/libomemo.git"
|
||||
SCM_SECONDARY_REPOSITORIES="
|
||||
axc
|
||||
signal
|
||||
omemo
|
||||
"
|
||||
SCM_EXTERNAL_REFS="
|
||||
lib/axc:axc
|
||||
lib/libomemo:omemo
|
||||
"
|
||||
SCM_axc_EXTERNAL_REFS="
|
||||
lib/libsignal-protocol-c:signal
|
||||
"
|
||||
require lurch
|
||||
|
||||
CMAKE_SOURCE=${WORK}/lib/axc/lib/libsignal-protocol-c
|
||||
|
||||
require cmake [ api=2 out_of_source=false ] # don't let cmake mess with $WORK
|
||||
require scm-git
|
||||
|
||||
SUMMARY="OMEMO for libpurple - interoperable with other OMEMO clients"
|
||||
HOMEPAGE="https://github.com/gkdr/${PN}"
|
||||
|
||||
LICENCES="GPL-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
sys-devel/libtool
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-db/sqlite:3
|
||||
dev-libs/Mini-XML
|
||||
dev-libs/glib:2
|
||||
dev-libs/libgcrypt
|
||||
dev-libs/libxml2:2.0
|
||||
net-im/pidgin
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
REMOTE_IDS="github:gkdr/${PN}"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
-DCMAKE_C_FLAGS="${CFLAGS} -fPIC"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# cmake part of libsignal-protocol-c
|
||||
edo mkdir "${CMAKE_SOURCE}"/build
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# cmake part of libsignal-protocol-c
|
||||
edo cd "${CMAKE_SOURCE}"/build
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# cmake part of libsignal-protocol-c
|
||||
emake -C "${CMAKE_SOURCE}"/build
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
}
|
||||
|
||||
|
82
packages/net-im/lurch/lurch.exlib
Normal file
82
packages/net-im/lurch/lurch.exlib
Normal file
@ -0,0 +1,82 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
if ever is_scm ; then
|
||||
SCM_REPOSITORY="https://github.com/gkdr/${PN}.git"
|
||||
SCM_axc_REPOSITORY="https://github.com/gkdr/axc.git"
|
||||
SCM_signal_REPOSITORY="https://github.com/WhisperSystems/libsignal-protocol-c.git"
|
||||
SCM_omemo_REPOSITORY="https://github.com/gkdr/libomemo.git"
|
||||
SCM_SECONDARY_REPOSITORIES="
|
||||
axc
|
||||
signal
|
||||
omemo
|
||||
"
|
||||
SCM_EXTERNAL_REFS="
|
||||
lib/axc:axc
|
||||
lib/libomemo:omemo
|
||||
"
|
||||
SCM_axc_EXTERNAL_REFS="
|
||||
lib/libsignal-protocol-c:signal
|
||||
"
|
||||
fi
|
||||
|
||||
if ! ever is_scm ; then
|
||||
WORK="${WORKBASE}"
|
||||
fi
|
||||
CMAKE_SOURCE=${WORK}/lib/axc/lib/libsignal-protocol-c
|
||||
|
||||
require cmake [ api=2 out_of_source=false ] # don't let cmake mess with $WORK
|
||||
if ever is_scm ; then
|
||||
require scm-git
|
||||
else
|
||||
DOWNLOADS="https://github.com/gkdr/lurch/releases/download/v${PV}/lurch-${PV}-src.tar.gz"
|
||||
fi
|
||||
|
||||
export_exlib_phases src_prepare src_configure src_compile
|
||||
|
||||
|
||||
SUMMARY="OMEMO for libpurple - interoperable with other OMEMO clients"
|
||||
HOMEPAGE="https://github.com/gkdr/${PN}"
|
||||
|
||||
LICENCES="GPL-3"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
sys-devel/libtool
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-db/sqlite:3
|
||||
dev-libs/Mini-XML
|
||||
dev-libs/glib:2
|
||||
dev-libs/libgcrypt
|
||||
dev-libs/libxml2:2.0
|
||||
net-im/pidgin
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
REMOTE_IDS="github:gkdr/${PN}"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
-DCMAKE_C_FLAGS="${CFLAGS} -fPIC"
|
||||
)
|
||||
|
||||
lurch_src_prepare() {
|
||||
# cmake part of libsignal-protocol-c
|
||||
edo mkdir "${CMAKE_SOURCE}"/build
|
||||
default
|
||||
}
|
||||
|
||||
lurch_src_configure() {
|
||||
# cmake part of libsignal-protocol-c
|
||||
edo cd "${CMAKE_SOURCE}"/build
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
lurch_src_compile() {
|
||||
# cmake part of libsignal-protocol-c
|
||||
emake -C "${CMAKE_SOURCE}"/build
|
||||
|
||||
default
|
||||
}
|
||||
|
@ -0,0 +1,64 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require gtk-icon-cache freedesktop-desktop
|
||||
|
||||
SUMMARY="Allows you to send and receive messages of Signal Messenger on your computer"
|
||||
HOMEPAGE="https://signal.org/"
|
||||
DOWNLOADS="platform:amd64? ( https://updates.signal.org/desktop/apt/pool/main/s/${PN}/${PN}_${PV}_amd64.deb )"
|
||||
|
||||
LICENCES="GPL-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64"
|
||||
MYOPTIONS="
|
||||
platform: amd64
|
||||
"
|
||||
RESTRICT="mirror"
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
dev-libs/nss
|
||||
gnome-platform/GConf:2
|
||||
net-print/cups
|
||||
x11-libs/gtk+:3[X]
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXtst
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
REMOTE_IDS="github:WhisperSystems/Signal-Desktop"
|
||||
|
||||
WORK=${WORKBASE}
|
||||
|
||||
pkg_setup() {
|
||||
exdirectory --allow /opt
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
unpack ./data.tar.xz
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc -r usr/share/doc/signal-desktop/.
|
||||
insinto /
|
||||
doins -r opt
|
||||
insinto /usr/share
|
||||
doins -r usr/share/applications
|
||||
doins -r usr/share/icons
|
||||
edo chmod +x "${IMAGE}"/opt/Signal/signal-desktop
|
||||
dodir /usr/$(exhost --target)/bin/${PN}
|
||||
dosym ../../../opt/Signal/${MY_PN} /usr/$(exhost --target)/bin/${PN}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
freedesktop-desktop_pkg_postinst
|
||||
gtk-icon-cache_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
freedesktop-desktop_pkg_postrm
|
||||
gtk-icon-cache_pkg_postrm
|
||||
}
|
||||
|
23
packages/net-misc/trickle/files/fix-install.patch
Normal file
23
packages/net-misc/trickle/files/fix-install.patch
Normal file
@ -0,0 +1,23 @@
|
||||
Source: Upstream issue tracker, https://github.com/mariusae/trickle/issues/16
|
||||
Reason: fix installation
|
||||
Upstream: no
|
||||
|
||||
--- trickle-66551ad94ad3d8af83e1e4422804676ac8762f47/Makefile.am 2017-10-25 01:20:13.943420040 +0200
|
||||
+++ trickle-66551ad94ad3d8af83e1e4422804676ac8762f47/Makefile.am 2017-10-25 01:20:30.810419348 +0200
|
||||
@@ -31,10 +31,14 @@
|
||||
AM_CFLAGS = -Wall -Icompat @EVENTINC@
|
||||
|
||||
overloaddir = $(libdir)
|
||||
-overload_DATA = libtrickle.so
|
||||
|
||||
-libtrickle.so: trickle-overload.c atomicio.c
|
||||
-$(overload_DATA):
|
||||
+libtrickle.so: trickle-overload.lo atomicio.lo
|
||||
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o libtmp$@.la
|
||||
+ -rpath $(libdir)/trickle trickle-overload.lo atomicio.lo $(LIBS)
|
||||
+ $(LDFLAGS) -module -avoid-version -nostdlib -ldl
|
||||
+ @rm -f libtmp$@.la tmp$@.so* $@
|
||||
+ @cp .libs/libtmp$@.so $@
|
||||
+ @rm -f .libs/libtmp$@.*
|
||||
|
||||
CLEANFILES = *.so
|
30
packages/net-misc/trickle/trickle-scm.exheres-0
Normal file
30
packages/net-misc/trickle/trickle-scm.exheres-0
Normal file
@ -0,0 +1,30 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user=mariusae ]
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
|
||||
SUMMARY="Trickle is a userland bandwidth shaper for Unix-like systems"
|
||||
DESCRIPTION="
|
||||
Trickle is a voluntary, cooperative bandwidth shaper. trickle works entirely in userland and is cross platform compatible.
|
||||
https://www.usenix.org/legacy/event/usenix05/tech/freenix/full_papers/eriksen/eriksen.pdf
|
||||
"
|
||||
|
||||
LICENCES="BSD-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-libs/libevent
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
DEFAULT_SRC_COMPILE_PARAMS=( -j1 )
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
"${FILES}"/fix-install.patch
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user