Compare commits
20 Commits
PR/add-cqu
...
8c7684eda0
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c7684eda0 | |||
| 81e2b82889 | |||
| 74909aee4c | |||
| 765f0a42d0 | |||
|
711718c2be
|
|||
| c2c25bf9eb | |||
| ec0115a46e | |||
| 83979d829f | |||
| 1266ca53b9 | |||
| 44fe707906 | |||
| 16ea3713b2 | |||
| 768adc4562 | |||
| e0958880e1 | |||
| 83386b0d6e | |||
| c7d218beda | |||
| 4925c7abf9 | |||
| 068d5d76dd | |||
| c56801c820 | |||
| 538aeffbfd | |||
| 24d056ae33 |
@@ -8,7 +8,5 @@ Random exheres.
|
||||
|
||||
You have these possibilities:
|
||||
|
||||
1. use https://gitlab.exherbo.org/exherbo-unofficial/hasufell
|
||||
2. use the patchbot on irc.freenode.net in `#exherbo`: https://exherbo.org/docs/patchbot.html
|
||||
3. git patch via email to: hasufell `ä` hasufell.de
|
||||
4. ask for an account on https://gogs.hasufell.de and fork+PR
|
||||
1. git patch via email to: hasufell `ä` hasufell.de
|
||||
2. create an account [here](https://gogs.hasufell.de/user/sign_up) and fork+PR
|
||||
|
||||
@@ -105,6 +105,12 @@ find_desktop_file_category() {
|
||||
local subcat=
|
||||
|
||||
case ${CATEGORY} in
|
||||
app*) maincat="Utility"
|
||||
case ${CATEGORY##*-} in
|
||||
editors) subcat="TextEditor";;
|
||||
*) ;;
|
||||
esac
|
||||
;;
|
||||
dev*) maincat="Development"
|
||||
case ${CATEGORY##*-} in
|
||||
db) subcat="Database";;
|
||||
|
||||
@@ -13,6 +13,7 @@ dev-libs
|
||||
dev-ocaml
|
||||
dev-perl
|
||||
dev-python
|
||||
dev-ruby
|
||||
dev-tcl
|
||||
dev-util
|
||||
games-action
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
(
|
||||
app-editors/neovim-gtk[~scm]
|
||||
dev-lang/fsharp[~scm]
|
||||
dev-lang/fstar[~scm]
|
||||
dev-python/pytype[~scm]
|
||||
@@ -7,17 +8,20 @@
|
||||
games-engines/OpenJK[~scm]
|
||||
games-engines/flare[~scm]
|
||||
games-fps/eduke32[~scm]
|
||||
games-rpg/valyriatear[~scm]
|
||||
games-rpg/flare[~scm]
|
||||
games-rpg/valyriatear[~scm]
|
||||
games-strategy/freesynd[~scm]
|
||||
media/livestreamer[~scm]
|
||||
media-gfx/pinta[~scm]
|
||||
media-sound/pnmixer[~scm]
|
||||
media-sound/pnmixer-rs[~scm]
|
||||
media-sound/pnmixer[~scm]
|
||||
media/livestreamer[~scm]
|
||||
net-im/gajim-omemo[~scm]
|
||||
net-im/lurch[~scm]
|
||||
net-im/pidgin-opensteamworks[~scm]
|
||||
net-misc/remmina[~scm]
|
||||
net-misc/trickle[~scm]
|
||||
sys-apps/fd[~scm]
|
||||
sys-apps/ripgrep[~scm]
|
||||
x11-apps/terminator[~scm]
|
||||
x11-misc/cbatticon[~scm]
|
||||
x11-wm/i3[~scm]
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require neovim-gtk
|
||||
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
app-editors/neovim
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3[>=3.10.0]
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
src_install() {
|
||||
ecargo_install
|
||||
|
||||
insinto /usr/share/applications
|
||||
doins desktop/*.desktop
|
||||
|
||||
insinto /usr/share/icons/hicolor/128x128/apps
|
||||
doins desktop/nvim-gtk.png
|
||||
}
|
||||
38
packages/app-editors/neovim-gtk/neovim-gtk-scm.exheres-0
Normal file
38
packages/app-editors/neovim-gtk/neovim-gtk-scm.exheres-0
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require neovim-gtk
|
||||
|
||||
DOWNLOADS=""
|
||||
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
app-editors/neovim
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3[>=3.22.0]
|
||||
x11-libs/pango[>=1.38]
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
cargo_src_unpack
|
||||
}
|
||||
|
||||
src_install() {
|
||||
ecargo_install
|
||||
|
||||
insinto /usr/share/nvim-gtk
|
||||
doins -r runtime
|
||||
|
||||
insinto /usr/share/applications
|
||||
doins desktop/*.desktop
|
||||
|
||||
insinto /usr/share/icons/hicolor/48x48/apps
|
||||
doins desktop/org.daa.NeovimGtk.png
|
||||
|
||||
insinto /usr/share/icons/hicolor/scalable/apps
|
||||
doins desktop/org.daa.NeovimGtk.svg
|
||||
}
|
||||
30
packages/app-editors/neovim-gtk/neovim-gtk.exlib
Normal file
30
packages/app-editors/neovim-gtk/neovim-gtk.exlib
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 freedesktop-desktop gtk-icon-cache
|
||||
require cargo [ channel=stable ]
|
||||
require github [ user=daa84 tag="v${PV}" ]
|
||||
|
||||
SUMMARY="Gtk ui for neovim"
|
||||
HOMEPAGE="https://github.com/daa84/neovim-gtk ${HOMEPAGE}"
|
||||
|
||||
LICENCES="GPL-3.0"
|
||||
MYOPTIONS=""
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
export PREFIX=/usr
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
freedesktop-desktop_update_desktop_database
|
||||
gtk-icon-cache_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
freedesktop-desktop_update_desktop_database
|
||||
gtk-icon-cache_pkg_postrm
|
||||
}
|
||||
|
||||
96
packages/app-editors/oni/oni-0.3.6.exheres-0
Normal file
96
packages/app-editors/oni/oni-0.3.6.exheres-0
Normal file
@@ -0,0 +1,96 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require desktop-utils gtk-icon-cache freedesktop-desktop
|
||||
|
||||
SUMMARY="An IDE powered by Neovim"
|
||||
HOMEPAGE="https://www.onivim.io/"
|
||||
DOWNLOADS="
|
||||
platform:amd64? ( https://github.com/onivim/oni/releases/download/v${PV}/Oni-${PV}-x64-linux.tar.gz )
|
||||
https://aur.archlinux.org/cgit/aur.git/plain/icons.tar.gz?h=oni -> oni-icons.tar.gz
|
||||
"
|
||||
|
||||
LICENCES="MIT"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64"
|
||||
MYOPTIONS="
|
||||
( platform: amd64 )
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
app-editors/neovim
|
||||
dev-libs/atk
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
gnome-platform/GConf:2
|
||||
media-libs/fontconfig
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
sys-sound/alsa-lib
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2.0
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libxcb
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
REMOTE_IDS="github:onivim/${PN}"
|
||||
UPSTREAM_DOCUMENTATION="https://onivim.github.io/oni-docs/"
|
||||
|
||||
WORK=${WORKBASE}/Oni-${PV}-x64-linux
|
||||
|
||||
pkg_setup() {
|
||||
exdirectory --allow /opt
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/${PN}
|
||||
doins -r *
|
||||
chmod +x "${IMAGE}"/opt/${PN}/oni
|
||||
|
||||
herebin ${PN} <<EOF
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd /opt/${PN}
|
||||
exec ./oni "\$@"
|
||||
EOF
|
||||
|
||||
install_desktop_entry \
|
||||
"MimeType=text/english;text/plain;text/markdown;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;text/x-ruby;text/x-python;" \
|
||||
"Categories=Utility;TextEditor;" \
|
||||
"Keywords=Text;Editor;Neovim;" \
|
||||
"GenericName=Text Editor"
|
||||
|
||||
for i in 16x16 32x32 64x64 128x128 256x256 512x512 1024x1024; do
|
||||
insinto /usr/share/icons/hicolor/${i}/apps
|
||||
newins "${WORKBASE}"/icons/${i}.png oni.png
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
freedesktop-desktop_pkg_postinst
|
||||
gtk-icon-cache_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
freedesktop-desktop_pkg_postrm
|
||||
gtk-icon-cache_pkg_postrm
|
||||
}
|
||||
|
||||
@@ -24,14 +24,25 @@ MYOPTIONS=""
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-python/typed-ast[>=1.1.0&<1.2.0][python_abis:*(-)?]
|
||||
dev-python/psutil[>=5.4.0&<5.5.0][python_abis:*(-)?]
|
||||
python_abis:3.4? (
|
||||
dev-python/typing[>=3.5.3][python_abis:3.4]
|
||||
)
|
||||
test:
|
||||
dev-python/py[>=1.5.2][python_abis:*(-)?]
|
||||
dev-python/pytest[>=3.0][python_abis:*(-)?]
|
||||
dev-python/pytest-cov[>=2.4.0][python_abis:*(-)?]
|
||||
dev-python/pytest-xdist[>=1.18][python_abis:*(-)?]
|
||||
suggestion:
|
||||
dev-python/psutil[>=5.4.0&<5.5.0][python_abis:*(-)?] [[
|
||||
description = [ Show memory stats in 'dmypy status -v' ] ]]
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
# Require upstream release with https://github.com/python/mypy/pull/5191 included
|
||||
# Require unpackaged: flake8-bugbear, flake8-pyi
|
||||
RESTRICT="test"
|
||||
|
||||
prepare_one_multibuild() {
|
||||
edo sed -i \
|
||||
-e "/target = /s|lib|$(exhost --target)/lib|" \
|
||||
@@ -40,3 +51,7 @@ prepare_one_multibuild() {
|
||||
setup-py_prepare_one_multibuild
|
||||
}
|
||||
|
||||
test_one_multibuild() {
|
||||
PYTHONPATH="${PWD}" edo ${PYTHON} -B runtests.py -x lint
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
Upstream: https://github.com/AGProjects/python-sipsimple/pull/3
|
||||
|
||||
From f96d1e8637f817dc76188742d2e0e1b7b2776581 Mon Sep 17 00:00:00 2001
|
||||
From: Benjamin Lamowski <benjamin@lamowski.net>
|
||||
Date: Tue, 22 May 2018 10:11:06 -0400
|
||||
Subject: [PATCH] pjsip: fix compilation error with FFmpeg 2.8.14
|
||||
|
||||
---
|
||||
deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c b/deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c
|
||||
index cf859408..097479f6 100644
|
||||
--- a/deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c
|
||||
+++ b/deps/pjsip/pjmedia/src/pjmedia-codec/ffmpeg_vid_codecs.c
|
||||
@@ -1684,12 +1684,12 @@ static pj_status_t ffmpeg_codec_decode_whole(pjmedia_vid_codec *codec,
|
||||
avpacket.size = (int)input->size;
|
||||
|
||||
/* ffmpeg warns:
|
||||
- * - input buffer padding, at least FF_INPUT_BUFFER_PADDING_SIZE
|
||||
+ * - input buffer padding, at least AV_INPUT_BUFFER_PADDING_SIZE
|
||||
* - null terminated
|
||||
* Normally, encoded buffer is allocated more than needed, so lets just
|
||||
* bzero the input buffer end/pad, hope it will be just fine.
|
||||
*/
|
||||
- pj_bzero(avpacket.data+avpacket.size, FF_INPUT_BUFFER_PADDING_SIZE);
|
||||
+ pj_bzero(avpacket.data+avpacket.size, AV_INPUT_BUFFER_PADDING_SIZE);
|
||||
|
||||
output->bit_info = 0;
|
||||
output->timestamp = input->timestamp;
|
||||
@@ -0,0 +1,173 @@
|
||||
Upstream: https://trac.pjsip.org/repos/changeset/5405/pjproject/trunk/pjmedia/src/pjmedia-codec/openh264.cpp
|
||||
Reason: Support for OpenH264 v1.6.0 codec
|
||||
|
||||
Index: deps/pjsip/pjmedia/src/pjmedia-codec/openh264.cpp
|
||||
===================================================================
|
||||
--- deps/pjsip/pjmedia/src/pjmedia-codec/openh264.cpp (revision 5045)
|
||||
+++ deps/pjsip/pjmedia/src/pjmedia-codec/openh264.cpp (revision 5405)
|
||||
@@ -164,6 +164,6 @@
|
||||
struct SLayerPEncCtx
|
||||
{
|
||||
- pj_int32_t iDLayerQp;
|
||||
- SSliceConfig sSliceCfg;
|
||||
+ pj_int32_t iDLayerQp;
|
||||
+ SSliceArgument sSliceArgument;
|
||||
};
|
||||
|
||||
@@ -471,16 +471,17 @@
|
||||
|
||||
/* Init encoder parameters */
|
||||
- pj_bzero(&eprm, sizeof(eprm));
|
||||
- eprm.iInputCsp = videoFormatI420;
|
||||
+ oh264_data->enc->GetDefaultParams (&eprm);
|
||||
+ eprm.iComplexityMode = MEDIUM_COMPLEXITY;
|
||||
eprm.sSpatialLayers[0].uiProfileIdc = PRO_BASELINE;
|
||||
eprm.iPicWidth = param->enc_fmt.det.vid.size.w;
|
||||
+ eprm.iUsageType = CAMERA_VIDEO_REAL_TIME;
|
||||
eprm.iPicHeight = param->enc_fmt.det.vid.size.h;
|
||||
eprm.fMaxFrameRate = (param->enc_fmt.det.vid.fps.num *
|
||||
1.0f /
|
||||
param->enc_fmt.det.vid.fps.denum);
|
||||
- eprm.uiFrameToBeCoded = (unsigned int) -1;
|
||||
eprm.iTemporalLayerNum = 1;
|
||||
eprm.uiIntraPeriod = 0; /* I-Frame interval in frames */
|
||||
- eprm.bEnableSpsPpsIdAddition = (oh264_data->whole? false : true);
|
||||
+ eprm.eSpsPpsIdStrategy = (oh264_data->whole ? CONSTANT_ID :
|
||||
+ INCREASING_ID);
|
||||
eprm.bEnableFrameCroppingFlag = true;
|
||||
eprm.iLoopFilterDisableIdc = 0;
|
||||
@@ -505,16 +506,17 @@
|
||||
pj_bzero(&elayer_ctx, sizeof (SLayerPEncCtx));
|
||||
elayer_ctx.iDLayerQp = 24;
|
||||
- elayer_ctx.sSliceCfg.uiSliceMode = (oh264_data->whole ?
|
||||
- SM_SINGLE_SLICE : SM_DYN_SLICE);
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceSizeConstraint = param->enc_mtu;
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceNum = 1;
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[0] = 960;
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[1] = 0;
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[2] = 0;
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[3] = 0;
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[4] = 0;
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[5] = 0;
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[6] = 0;
|
||||
- elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[7] = 0;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceMode = (oh264_data->whole ?
|
||||
+ SM_SINGLE_SLICE :
|
||||
+ SM_SIZELIMITED_SLICE);
|
||||
+ elayer_ctx.sSliceArgument.uiSliceSizeConstraint = param->enc_mtu;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceNum = 1;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceMbNum[0] = 960;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceMbNum[1] = 0;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceMbNum[2] = 0;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceMbNum[3] = 0;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceMbNum[4] = 0;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceMbNum[5] = 0;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceMbNum[6] = 0;
|
||||
+ elayer_ctx.sSliceArgument.uiSliceMbNum[7] = 0;
|
||||
|
||||
elayer->iVideoWidth = eprm.iPicWidth;
|
||||
@@ -524,12 +526,12 @@
|
||||
elayer->iSpatialBitrate = eprm.iTargetBitrate;
|
||||
elayer->iDLayerQp = elayer_ctx.iDLayerQp;
|
||||
- elayer->sSliceCfg.uiSliceMode = elayer_ctx.sSliceCfg.uiSliceMode;
|
||||
-
|
||||
- memcpy( &elayer->sSliceCfg,
|
||||
- &elayer_ctx.sSliceCfg,
|
||||
- sizeof (SSliceConfig));
|
||||
- memcpy( &elayer->sSliceCfg.sSliceArgument.uiSliceMbNum[0],
|
||||
- &elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum[0],
|
||||
- sizeof (elayer_ctx.sSliceCfg.sSliceArgument.uiSliceMbNum));
|
||||
+ elayer->sSliceArgument.uiSliceMode = elayer_ctx.sSliceArgument.uiSliceMode;
|
||||
+
|
||||
+ memcpy ( &elayer->sSliceArgument,
|
||||
+ &elayer_ctx.sSliceArgument,
|
||||
+ sizeof (SSliceArgument));
|
||||
+ memcpy ( &elayer->sSliceArgument.uiSliceMbNum[0],
|
||||
+ &elayer_ctx.sSliceArgument.uiSliceMbNum[0],
|
||||
+ sizeof (elayer_ctx.sSliceArgument.uiSliceMbNum));
|
||||
|
||||
/* Init input picture */
|
||||
@@ -553,11 +555,18 @@
|
||||
}
|
||||
|
||||
+ int videoFormat = videoFormatI420;
|
||||
+ rc = oh264_data->enc->SetOption (ENCODER_OPTION_DATAFORMAT, &videoFormat);
|
||||
+ if (rc != cmResultSuccess) {
|
||||
+ PJ_LOG(4,(THIS_FILE, "SVC encoder SetOption videoFormatI420 failed, "
|
||||
+ "rc=%d", rc));
|
||||
+ return PJMEDIA_CODEC_EFAILED;
|
||||
+ }
|
||||
+
|
||||
/*
|
||||
* Decoder
|
||||
*/
|
||||
sDecParam.sVideoProperty.size = sizeof (sDecParam.sVideoProperty);
|
||||
- sDecParam.iOutputColorFormat = videoFormatI420;
|
||||
sDecParam.uiTargetDqLayer = (pj_uint8_t) - 1;
|
||||
- sDecParam.uiEcActiveFlag = 1;
|
||||
+ sDecParam.eEcActiveIdc = ERROR_CON_SLICE_COPY;
|
||||
sDecParam.sVideoProperty.eVideoBsType = VIDEO_BITSTREAM_DEFAULT;
|
||||
|
||||
@@ -575,12 +584,4 @@
|
||||
PJ_LOG(4,(THIS_FILE, "Decoder initialization failed, rc=%d", rc));
|
||||
return PJMEDIA_CODEC_EFAILED;
|
||||
- }
|
||||
-
|
||||
- pj_int32_t color_fmt = videoFormatI420;
|
||||
- rc = oh264_data->dec->SetOption (DECODER_OPTION_DATAFORMAT, &color_fmt);
|
||||
- if (rc) {
|
||||
- PJ_LOG(4,(THIS_FILE,
|
||||
- "Warning: SetOption(DECODER_OPTION_DATAFORMAT) failed, rc=%d",
|
||||
- rc));
|
||||
}
|
||||
|
||||
@@ -662,5 +663,5 @@
|
||||
}
|
||||
|
||||
- if (oh264_data->bsi.eOutputFrameType == videoFrameTypeSkip) {
|
||||
+ if (oh264_data->bsi.eFrameType == videoFrameTypeSkip) {
|
||||
output->size = 0;
|
||||
output->type = PJMEDIA_FRAME_TYPE_NONE;
|
||||
@@ -682,11 +683,11 @@
|
||||
/* Find which layer with biggest payload */
|
||||
oh264_data->ilayer = 0;
|
||||
- payload_size = oh264_data->bsi.sLayerInfo[0].iNalLengthInByte[0];
|
||||
+ payload_size = oh264_data->bsi.sLayerInfo[0].pNalLengthInByte[0];
|
||||
for (i=0; i < (unsigned)oh264_data->bsi.iLayerNum; ++i) {
|
||||
unsigned j;
|
||||
pLayerBsInfo = &oh264_data->bsi.sLayerInfo[i];
|
||||
for (j=0; j < (unsigned)pLayerBsInfo->iNalCount; ++j) {
|
||||
- if (pLayerBsInfo->iNalLengthInByte[j] > (int)payload_size) {
|
||||
- payload_size = pLayerBsInfo->iNalLengthInByte[j];
|
||||
+ if (pLayerBsInfo->pNalLengthInByte[j] > (int)payload_size) {
|
||||
+ payload_size = pLayerBsInfo->pNalLengthInByte[j];
|
||||
oh264_data->ilayer = i;
|
||||
}
|
||||
@@ -704,5 +705,5 @@
|
||||
payload_size = 0;
|
||||
for (int inal = pLayerBsInfo->iNalCount - 1; inal >= 0; --inal) {
|
||||
- payload_size += pLayerBsInfo->iNalLengthInByte[inal];
|
||||
+ payload_size += pLayerBsInfo->pNalLengthInByte[inal];
|
||||
}
|
||||
|
||||
@@ -761,5 +762,5 @@
|
||||
output->size = payload_len;
|
||||
|
||||
- if (oh264_data->bsi.eOutputFrameType == videoFrameTypeIDR) {
|
||||
+ if (oh264_data->bsi.eFrameType == videoFrameTypeIDR) {
|
||||
output->bit_info |= PJMEDIA_VID_FRM_KEYFRAME;
|
||||
}
|
||||
@@ -783,5 +784,5 @@
|
||||
oh264_data->enc_frame_size = 0;
|
||||
for (int inal = pLayerBsInfo->iNalCount - 1; inal >= 0; --inal) {
|
||||
- oh264_data->enc_frame_size += pLayerBsInfo->iNalLengthInByte[inal];
|
||||
+ oh264_data->enc_frame_size += pLayerBsInfo->pNalLengthInByte[inal];
|
||||
}
|
||||
|
||||
@@ -810,5 +811,5 @@
|
||||
output->size = payload_len;
|
||||
|
||||
- if (oh264_data->bsi.eOutputFrameType == videoFrameTypeIDR) {
|
||||
+ if (oh264_data->bsi.eFrameType == videoFrameTypeIDR) {
|
||||
output->bit_info |= PJMEDIA_VID_FRM_KEYFRAME;
|
||||
}
|
||||
@@ -48,6 +48,8 @@ DEPENDENCIES="
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
"${FILES}"/${PNV}-fix-build.patch
|
||||
"${FILES}"/${PNV}-pjmedia-ffmpeg-fix.patch
|
||||
-p0 "${FILES}"/${PNV}-pjmedia-openh264-1.6.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
|
||||
15
packages/dev-ruby/msgpack/msgpack-1.2.4.exheres-0
Normal file
15
packages/dev-ruby/msgpack/msgpack-1.2.4.exheres-0
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require gem
|
||||
|
||||
SUMMARY="Binary-based efficient data interchange format for ruby binding"
|
||||
HOMEPAGE="https://msgpack.org"
|
||||
|
||||
LICENCES="Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
23
packages/dev-ruby/neovim-ruby/neovim-ruby-0.7.1.exheres-0
Normal file
23
packages/dev-ruby/neovim-ruby/neovim-ruby-0.7.1.exheres-0
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require gem [ pn=neovim ]
|
||||
|
||||
SUMMARY="Ruby bindings for Neovim"
|
||||
HOMEPAGE="https://github.com/alexgenco/neovim-ruby"
|
||||
|
||||
LICENCES="MIT"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-ruby/msgpack[~>1.1]
|
||||
dev-ruby/multi_json[~>1.0]
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
REMOTE_IDS+=" github:alexgenco/neovim-ruby"
|
||||
|
||||
20
packages/sys-apps/fd/fd-7.0.0.exheres-0
Normal file
20
packages/sys-apps/fd/fd-7.0.0.exheres-0
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cargo [ channel=stable ]
|
||||
require github [ user=sharkdp tag="v${PV}" ]
|
||||
|
||||
SUMMARY="A simple, fast and user-friendly alternative to 'find'"
|
||||
HOMEPAGE="http://crates.io/crates/fd ${HOMEPAGE}"
|
||||
|
||||
# not sure if this is choice or both
|
||||
LICENCES="MIT Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
20
packages/sys-apps/fd/fd-scm.exheres-0
Normal file
20
packages/sys-apps/fd/fd-scm.exheres-0
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user=sharkdp tag="v${PV}" ]
|
||||
require cargo [ channel=stable ]
|
||||
|
||||
SUMMARY="A simple, fast and user-friendly alternative to 'find'"
|
||||
HOMEPAGE="https://github.com/sharkdp/fd ${HOMEPAGE}"
|
||||
|
||||
# not sure if this is choice or both
|
||||
LICENCES="MIT Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
19
packages/sys-apps/ripgrep/ripgrep-0.9.0.exheres-0
Normal file
19
packages/sys-apps/ripgrep/ripgrep-0.9.0.exheres-0
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cargo [ channel=nightly ]
|
||||
require github [ user=BurntSushi ]
|
||||
|
||||
SUMMARY="ripgrep recursively searches directories for a regex pattern"
|
||||
HOMEPAGE="https://crates.io/crates/ripgrep ${HOMEPAGE}"
|
||||
|
||||
LICENCES="MIT"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
19
packages/sys-apps/ripgrep/ripgrep-scm.exheres-0
Normal file
19
packages/sys-apps/ripgrep/ripgrep-scm.exheres-0
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user=BurntSushi ]
|
||||
require cargo [ channel=stable ]
|
||||
|
||||
SUMMARY="ripgrep recursively searches directories for a regex pattern"
|
||||
HOMEPAGE="https://github.com/BurntSushi/ripgrep ${HOMEPAGE}"
|
||||
|
||||
LICENCES="MIT"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
Reference in New Issue
Block a user