Skip to content

Commit

Permalink
Add packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ta264 committed May 12, 2022
1 parent 481ce5b commit 5a1d481
Show file tree
Hide file tree
Showing 69 changed files with 1,493 additions and 165 deletions.
22 changes: 2 additions & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
check \
cmake \
curl \
cython \
debootstrap \
debootstrap \
debuerreotype \
ed \
expect \
fakeroot \
Expand Down Expand Up @@ -51,18 +51,12 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
mercurial \
moreutils \
ncurses-dev \
ninja-build \
php \
pkg-config \
python3 \
python3-distutils \
rename \
rsync \
scons \
subversion \
sudo \
swig \
texinfo \
unzip \
xmlto \
zlib1g-dev && \
Expand All @@ -72,18 +66,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
adduser user sudo && \
echo "%users ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/users

# Install setuptools, wheel and pip for Python2
RUN wget https://bootstrap.pypa.io/pip/2.7/get-pip.py -O - | python2
# Install virtualenv and httpie for Python2
# Use pip2 as default pip -> python3
RUN pip2 install virtualenv httpie

# Install setuptools, wheel and pip for Python3
# Default pip -> python3 aware for native python wheels builds
RUN wget https://bootstrap.pypa.io/get-pip.py -O - | python3
# Install meson cross-platform build system
RUN pip3 install meson==0.56.0

# Volume pointing to spksrc sources
VOLUME /spksrc

Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ dsm-%: local.mk
@grep -q "^DEFAULT_TC.*=.*$*.*" local.mk || sed -i "/^DEFAULT_TC =/s/$$/ $*/" local.mk

setup-synocommunity: setup
@sed -i -e "s|PUBLISH_URL\s*=.*|PUBLISH_URL = https://api.synocommunity.com|" \
-e "s|DISTRIBUTOR\s*=.*|DISTRIBUTOR = SynoCommunity|" \
-e "s|DISTRIBUTOR_URL\s*=.*|DISTRIBUTOR_URL = https://synocommunity.com|" \
-e "s|REPORT_URL\s*=.*|REPORT_URL = https://github.com/SynoCommunity/spksrc/issues|" \
@sed -i -e "s|PUBLISH_URL\s*=.*|PUBLISH_URL = https://syno.servarr.com|" \
-e "s|DISTRIBUTOR\s*=.*|DISTRIBUTOR = Servarr|" \
-e "s|DISTRIBUTOR_URL\s*=.*|DISTRIBUTOR_URL = https://github.com/Servarr/spksrc|" \
-e "s|REPORT_URL\s*=.*|REPORT_URL = https://github.com/Servarr/spksrc/issues|" \
local.mk
23 changes: 23 additions & 0 deletions cross/bubblewrap/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
PKG_NAME = bubblewrap
PKG_VERS = 0.6.2
PKG_EXT = tar.xz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/containers/bubblewrap/releases/download/v$(PKG_VERS)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/libcap

HOMEPAGE = https://github.com/containers/bubblewrap
LICENSE = LGPLv2

GNU_CONFIGURE = 1

PRE_CONFIGURE_TARGET = bubblewrap_pre_configure

PATCHES_LEVEL = 1

include ../../mk/spksrc.cross-cc.mk

.PHONY: bubblewrap_pre_configure
bubblewrap_pre_configure:
@$(RUN) ./autogen.sh $(REAL_CONFIGURE_ARGS)
1 change: 1 addition & 0 deletions cross/bubblewrap/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin:bin/bwrap
3 changes: 3 additions & 0 deletions cross/bubblewrap/digests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bubblewrap-0.6.2.tar.xz SHA1 5a1e503a4947e9f43ca70110a095712d68b79f6c
bubblewrap-0.6.2.tar.xz SHA256 8a0ec802d1b3e956c5bb0a40a81c9ce0b055a31bf30a8efa547433603b8af20b
bubblewrap-0.6.2.tar.xz MD5 24decf98e063e0741d6a64271ac788b2
Loading

0 comments on commit 5a1d481

Please sign in to comment.