Compare commits
5 Commits
bce6ee0029
...
0649745079
Author | SHA1 | Date |
---|---|---|
Jesus P Rey (Chuso) | 0649745079 | |
Jesus P Rey (Chuso) | 22299d47e9 | |
Jesus P Rey (Chuso) | b8d29ad3aa | |
Jesus P Rey (Chuso) | fa9edc19ce | |
Jesus P Rey (Chuso) | f3ccd96704 |
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>git@chuso.net</email>
|
||||
<name>Jesus Perez Rey</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="Group for Mobilizon"
|
||||
ACCT_GROUP_ID=-1
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>git@chuso.net</email>
|
||||
<name>Jesus Perez Rey</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit acct-user
|
||||
|
||||
DESCRIPTION="User for Mobilizon"
|
||||
ACCT_USER_ID=-1
|
||||
ACCT_USER_GROUPS=( mobilizon )
|
||||
|
||||
acct-user_add_deps
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
EAPI=6
|
||||
inherit autotools
|
||||
|
||||
MY_P=CEGUI-${PV%b}
|
||||
DESCRIPTION="Crazy Eddie's GUI System"
|
||||
|
@ -36,11 +36,14 @@ DEPEND="${RDEPEND}
|
|||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gcc43.patch
|
||||
"${FILESDIR}"/${P}-dups.patch
|
||||
"${FILESDIR}"/${P}-gcc46.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-gcc43.patch \
|
||||
"${FILESDIR}"/${P}-dups.patch \
|
||||
"${FILESDIR}"/${P}-gcc46.patch
|
||||
default
|
||||
sed -i \
|
||||
-e 's/ILvoid/void/g' \
|
||||
ImageCodecModules/DevILImageCodec/CEGUIDevILImageCodec.cpp || die
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- RendererModules/directfbRenderer/directfb-renderer.h
|
||||
+++ RendererModules/directfbRenderer/directfb-renderer.h
|
||||
--- CEGUI-0.6.2/RendererModules/directfbRenderer/directfb-renderer.h
|
||||
+++ CEGUI-0.6.2/RendererModules/directfbRenderer/directfb-renderer.h
|
||||
@@ -28,6 +28,7 @@
|
||||
#include "CEGUIBase.h"
|
||||
#include <directfb.h>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- src/overworld/world_manager.cpp.old 2012-11-14 17:05:19.759087973 +0100
|
||||
+++ src/overworld/world_manager.cpp 2012-11-14 17:06:55.365644219 +0100
|
||||
--- smc-1.9/src/overworld/world_manager.cpp.old 2012-11-14 17:05:19.759087973 +0100
|
||||
+++ smc-1.9/src/overworld/world_manager.cpp 2012-11-14 17:06:55.365644219 +0100
|
||||
@@ -111,14 +111,14 @@
|
||||
void cOverworld_Manager :: Load_Dir( const std::string &dir, bool user_dir /* = 0 */ )
|
||||
{
|
||||
|
@ -17,8 +17,8 @@
|
|||
|
||||
// only directories with an existing description
|
||||
if( fs::is_directory( *dir_itr ) && File_Exists( dir + "/" + current_dir + "/description.xml" ) )
|
||||
--- src/video/video.cpp.old 2012-11-14 17:10:26.448625365 +0100
|
||||
+++ src/video/video.cpp 2012-11-14 17:11:37.486580531 +0100
|
||||
--- smc-1.9/src/video/video.cpp.old 2012-11-14 17:10:26.448625365 +0100
|
||||
+++ smc-1.9/src/video/video.cpp 2012-11-14 17:11:37.486580531 +0100
|
||||
@@ -749,7 +749,7 @@
|
||||
{
|
||||
try
|
||||
|
@ -37,8 +37,8 @@
|
|||
}
|
||||
// cache available
|
||||
else
|
||||
--- src/core/filesystem/filesystem.cpp.old 2012-11-14 09:00:41.965617165 +0100
|
||||
+++ src/core/filesystem/filesystem.cpp 2012-11-14 16:57:11.282043980 +0100
|
||||
--- smc-1.9/src/core/filesystem/filesystem.cpp.old 2012-11-14 09:00:41.965617165 +0100
|
||||
+++ smc-1.9/src/core/filesystem/filesystem.cpp 2012-11-14 16:57:11.282043980 +0100
|
||||
@@ -64,7 +64,7 @@
|
||||
|
||||
bool Dir_Exists( const std::string &dir )
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit autotools desktop flag-o-matic
|
||||
EAPI=6
|
||||
inherit autotools desktop
|
||||
|
||||
MUSIC_P=SMC_Music_4.1_high
|
||||
DESCRIPTION="Secret Maryo Chronicles"
|
||||
|
@ -30,6 +30,16 @@ DEPEND="${RDEPEND}
|
|||
virtual/pkgconfig
|
||||
music? ( app-arch/unzip )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-boost150.patch
|
||||
"${FILESDIR}"/${P}-underlink.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.bz2
|
||||
if use music; then
|
||||
|
@ -38,13 +48,6 @@ src_unpack() {
|
|||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-boost150.patch \
|
||||
"${FILESDIR}"/${P}-underlink.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use doc; then
|
||||
DOCS="docs/*.txt docs/*.html"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
DIST mobilizon_3.0.1_arm.tar.gz 60846051 BLAKE2B 827789ebc010716267b836fd610761b22b8b0f6270a33acbd2a2d5873b04c4eb2e4b345a3af41aea094b08cb7b42b71e442b34859ddf770febfd69e344e7ee51 SHA512 7f50715571d5035d968f9d21bdf86ea69cc36ac62f4db0463e59ffcac44c64faf5e315200ca40473caeb32fe8a21dc8a00e87097b0e7eaa12e1fbfd78fac57ba
|
|
@ -0,0 +1,26 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
description="Mobilizon Service"
|
||||
|
||||
depend() {
|
||||
need localmount net
|
||||
use logger
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting ${SVCNAME}"
|
||||
start-stop-daemon --start --user mobilizon \
|
||||
--exec /opt/mobilizon/bin/mobilizon \
|
||||
--chdir /opt/mobilizon \
|
||||
--env "MIX_ENV=prod" --background -- start
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping ${SVCNAME}"
|
||||
start-stop-daemon --user mobilizon \
|
||||
--exec /opt/mobilizon/bin/mobilizon \
|
||||
--chdir /opt/mobilizon \
|
||||
--env "MIX_ENV=prod" -- stop
|
||||
eend $?
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>git@chuso.net</email>
|
||||
<name>Jesus Perez Rey</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -0,0 +1,54 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_P="${PN/-bin/}_${PV}"
|
||||
|
||||
inherit systemd
|
||||
|
||||
DESCRIPTION="This is a sample skeleton ebuild file"
|
||||
HOMEPAGE="https://joinmobilizon.org"
|
||||
SRC_URI="https://packages.joinmobilizon.org/${PV}/${MY_P}_${ARCH}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm"
|
||||
|
||||
RDEPEND="acct-user/mobilizon
|
||||
dev-db/postgis
|
||||
media-gfx/gifsicle
|
||||
media-gfx/imagemagick
|
||||
media-gfx/jpegoptim
|
||||
media-gfx/optipng
|
||||
media-gfx/pngquant
|
||||
media-libs/libwebp
|
||||
sys-apps/file
|
||||
virtual/httpd-basic"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
systemd_newunit mobilizon/support/systemd/mobilizon-release.service mobilizon.service
|
||||
newinitd "${FILESDIR}/mobilizon.initd" mobilizon
|
||||
dodoc -r mobilizon/support
|
||||
rm -fr mobilizon/support || die
|
||||
insinto /opt
|
||||
doins -r mobilizon
|
||||
keepdir /var/lib/mobilizon/uploads /var/lib/mobilizon/uploads/exports/csv /var/lib/mobilizon/data
|
||||
fowners -R mobilizon:mobilizon /var/lib/mobilizon/uploads /var/lib/mobilizon/uploads/exports/csv /var/lib/mobilizon/data
|
||||
fperms 0755 \
|
||||
/opt/mobilizon/bin/* \
|
||||
/opt/mobilizon/erts-*/bin/* \
|
||||
/opt/mobilizon/lib/*/priv/{bin,lib}/* \
|
||||
/opt/mobilizon/lib/fast_html-2.0.5/priv/fasthtml_worker \
|
||||
/opt/mobilizon/lib/argon2_elixir-3.0.0/priv/argon2_nif.so \
|
||||
/opt/mobilizon/lib/inets-8.1/priv/bin/runcgi.sh \
|
||||
/opt/mobilizon/lib/eblurhash-1.2.2/priv/blurhash \
|
||||
/opt/mobilizon/releases/3.0.1/iex \
|
||||
/opt/mobilizon/releases/3.0.1/elixir
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Please check https://docs.joinmobilizon.org/administration/install/release/#configuration for the configuration instructions"
|
||||
}
|
Loading…
Reference in New Issue