forked from hasufell/hasufell-repository
Compare commits
62 Commits
prompt_too
...
universal-
| Author | SHA1 | Date | |
|---|---|---|---|
| 3f8de36dcd | |||
| 322a49adb5 | |||
| 3fc116d181 | |||
| 108e3b8a1c | |||
| b1186738b0 | |||
| fb3aed63f7 | |||
| aa95a77efe | |||
| 01be3c84ea | |||
| a7e517cd13 | |||
| a5d09fa690 | |||
| 32e298f7cb | |||
| 01f412b778 | |||
| b2e54b1ee2 | |||
| b7c1fc9985 | |||
| a59fca3cb8 | |||
| 17f6253ca1 | |||
| 242ac1895b | |||
| 7d526fa805 | |||
| cd4df8af01 | |||
| 2ba0cf6c75 | |||
| b1d5ce4889 | |||
| 281ffd93c8 | |||
| 479e65c679 | |||
| 10cdc64b8d | |||
| 311fcccbb6 | |||
| 2bb4626ff5 | |||
| c0a73b592e | |||
| 4321244cb9 | |||
| 757a282b04 | |||
| c7e36f08c5 | |||
| 5a85853750 | |||
| c50e57ea44 | |||
| ac91960a21 | |||
| fefc82e8b6 | |||
| 49661d4881 | |||
| 64db104f2b | |||
| 3367b48f93 | |||
| d38a0069c4 | |||
| a49dfb90fc | |||
| 6ab7c13396 | |||
| d13355937f | |||
| 0f26b1a4f8 | |||
|
|
23a73f4ab8 | ||
| 47dfd9d03b | |||
| c5233d46b1 | |||
| ca9904a7c9 | |||
| 36b4e348cc | |||
| 62a4c782ab | |||
| 3716ee38e4 | |||
| 117aad5206 | |||
| fab380486a | |||
| a60998346f | |||
| 712c6622d6 | |||
| 5987bdd5a6 | |||
| ab19b51c47 | |||
| 83ee221670 | |||
| 26ccd7f400 | |||
| 28dfe88c86 | |||
| a8b12895d3 | |||
| 3874fdea53 | |||
| 5d05c0ce15 | |||
| 7155255e4b |
81
exlibs/gog.exlib
Normal file
81
exlibs/gog.exlib
Normal file
@@ -0,0 +1,81 @@
|
||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Purpose: an exlib dealing with installation of GOG games
|
||||
# Maintainer: Julian Ospald <hasufell@posteo.de>
|
||||
# Exports: pkg_nofetch, pkg_setup, src_unpack
|
||||
# Side-effects: - adds build dependencies
|
||||
# - sets $WORK, $DOWNLOADS, $LICENSES, $RESTRICT and $HOMEPAGE
|
||||
#
|
||||
# Usage
|
||||
# exparams: - installer: the shell script installer (required)
|
||||
# - unzip: whether to unzip and add unzip dependency (default: true)
|
||||
# - install_dir: installation dir (default: /opt/${PN})
|
||||
# variables: - GOG_SH: set to exparam installer
|
||||
# - GOG_INSTALL_DIR: set to exparam install_dir, use this in src_install
|
||||
|
||||
|
||||
myexparam installer=
|
||||
myexparam -b unzip=true
|
||||
myexparam install_dir=/opt/${PN}
|
||||
|
||||
exparam -v GOG_SH installer
|
||||
exparam -v GOG_INSTALL_DIR install_dir
|
||||
|
||||
if [[ -z $(exparam installer) ]]; then
|
||||
die "installer needs to be set!"
|
||||
fi
|
||||
|
||||
if [[ "$GOG_INSTALL_DIR" != /* ]]; then
|
||||
die "${GOG_INSTALL_DIR} must be absolute!"
|
||||
fi
|
||||
|
||||
export_exlib_phases pkg_nofetch pkg_setup src_unpack
|
||||
|
||||
|
||||
HOMEPAGE="https://www.gog.com"
|
||||
DOWNLOADS="manual: ${GOG_SH}"
|
||||
|
||||
LICENCES="all-rights-reserved GOG-EULA"
|
||||
RESTRICT="fetch"
|
||||
|
||||
if exparam -b unzip ; then
|
||||
DEPENDENCIES+="
|
||||
build:
|
||||
virtual/unzip
|
||||
"
|
||||
fi
|
||||
|
||||
WORK="${WORKBASE}/data/noarch"
|
||||
|
||||
# Exported 'pkg_nofetch'.
|
||||
#
|
||||
# Arguments: none
|
||||
# Side-effects: prints einfo
|
||||
gog_pkg_nofetch() {
|
||||
einfo
|
||||
einfo "Please buy & download \"${GOG_SH}\""
|
||||
einfo "from:"
|
||||
einfo " ${HOMEPAGE}"
|
||||
einfo "and move/link it to \"${FETCHEDDIR}\""
|
||||
einfo
|
||||
}
|
||||
|
||||
# Exported 'pkg_setup'.
|
||||
#
|
||||
# Arguments: none
|
||||
# Side-effects: makes sure /opt is allowed to be installed into
|
||||
gog_pkg_setup() {
|
||||
exdirectory --allow "$(dirname "${GOG_INSTALL_DIR}")"
|
||||
}
|
||||
|
||||
# Exported 'src_unpack'.
|
||||
#
|
||||
# Arguments: none
|
||||
# Side-effects: unpacks the data
|
||||
gog_src_unpack() {
|
||||
if exparam -b unzip ; then
|
||||
unzip -qo "${FETCHEDDIR}/${GOG_SH}"
|
||||
[[ $? -le 1 ]] || die "unpacking ${GOG_SH} failed!"
|
||||
fi
|
||||
}
|
||||
@@ -15,6 +15,7 @@ dev-haskell
|
||||
dev-java
|
||||
dev-lang
|
||||
dev-libs
|
||||
dev-lua
|
||||
dev-ocaml
|
||||
dev-perl
|
||||
dev-python
|
||||
@@ -55,6 +56,7 @@ virtual
|
||||
voip
|
||||
www-apps
|
||||
www-servers
|
||||
x11-apps
|
||||
x11-misc
|
||||
x11-themes
|
||||
xfce-extra
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
games-rpg/flare[~scm]
|
||||
games-rpg/valyriatear[~scm]
|
||||
games-strategy/freesynd[~scm]
|
||||
games-strategy/s25rttr[~scm]
|
||||
media-gfx/pinta[~scm]
|
||||
media-sound/pnmixer-rs[~scm]
|
||||
media-sound/pnmixer[~scm]
|
||||
@@ -19,6 +20,7 @@
|
||||
net-im/gajim-omemo[~scm]
|
||||
net-im/lurch[~scm]
|
||||
net-im/pidgin-opensteamworks[~scm]
|
||||
net-im/purple-xmpp-http-upload[~scm]
|
||||
net-misc/remmina[~scm]
|
||||
net-misc/trickle[~scm]
|
||||
sys-apps/fd[~scm]
|
||||
@@ -27,6 +29,7 @@
|
||||
x11-apps/terminator[~scm]
|
||||
x11-misc/cbatticon[~scm]
|
||||
x11-misc/fsearch[~scm]
|
||||
x11-misc/polybar[~scm]
|
||||
x11-wm/i3[~scm]
|
||||
) [[
|
||||
*author = [ Julian Ospald <hasufell@posteo.de> ]
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user='mattn' tag="v${PV}" ]
|
||||
|
||||
SUMMARY="General purpose Language Server"
|
||||
|
||||
LICENCES="MIT"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
dev-lang/go
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${WORK}"/.gopath
|
||||
export GOBIN="${WORK}"/.bin
|
||||
esandbox disable_net
|
||||
edo go get ./...
|
||||
edo go build
|
||||
esandbox enable_net
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin efm-langserver-${PV} efm-langserver
|
||||
emagicdocs
|
||||
}
|
||||
55
packages/app-editors/focuswriter/focuswriter-1.7.3.exheres-0
Normal file
55
packages/app-editors/focuswriter/focuswriter-1.7.3.exheres-0
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require qmake [ slot=5 ]
|
||||
require github [ user="gottcode" ]
|
||||
require gtk-icon-cache freedesktop-desktop
|
||||
|
||||
SUMMARY="Fullscreen and distraction-free word processor"
|
||||
DESCRIPTION="
|
||||
FocusWriter is a simple, distraction-free writing environment. It utilizes a hide-away interface that you access by moving your mouse to the edges of the screen, allowing the program to have a familiar look and feel to it while still getting out of the way so that you can immerse yourself in your work. It’s available for Linux, Windows, and Mac OS X, and has been translated into many different languages.
|
||||
"
|
||||
HOMEPAGE="https://gottcode.org/${PN}/ ${HOMEPAGE}"
|
||||
DOWNLOADS="https://gottcode.org/${PN}/${PNV}-src.tar.bz2"
|
||||
|
||||
LICENCES="GPL-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
app-spell/hunspell:=
|
||||
sys-libs/zlib
|
||||
x11-libs/qtbase:5
|
||||
x11-libs/qtmultimedia:5
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
UPSTREAM_CHANGELOG="https://github.com/gottcode/${PN}/blob/master/ChangeLog"
|
||||
|
||||
DEFAULT_SRC_INSTALL_PARAMS=(
|
||||
INSTALL_ROOT="${IMAGE}"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
EQMAKE_PARAMS=(
|
||||
PREFIX=/usr
|
||||
BINDIR=/usr/$(exhost --target)/bin
|
||||
)
|
||||
qmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gtk-icon-cache_pkg_postinst
|
||||
freedesktop-desktop_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gtk-icon-cache_pkg_postrm
|
||||
freedesktop-desktop_pkg_postrm
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require neovim-gtk
|
||||
require neovim-gtk gtk-icon-cache
|
||||
|
||||
DOWNLOADS=""
|
||||
|
||||
@@ -30,9 +30,12 @@ src_install() {
|
||||
insinto /usr/share/applications
|
||||
doins desktop/*.desktop
|
||||
|
||||
insinto /usr/share/icons/hicolor/128x128/apps
|
||||
newins desktop/org.daa.NeovimGtk_128.png org.daa.NeovimGtk.png
|
||||
insinto /usr/share/icons/hicolor/48x48/apps
|
||||
doins desktop/org.daa.NeovimGtk.png
|
||||
|
||||
newins desktop/org.daa.NeovimGtk_48.png org.daa.NeovimGtk.png
|
||||
insinto /usr/share/icons/hicolor/scalable/apps
|
||||
doins desktop/org.daa.NeovimGtk.svg
|
||||
newins desktop/org.daa.NeovimGtk.svg org.daa.NeovimGtk.png
|
||||
insinto /usr/share/icons/hicolor/symbolic/apps
|
||||
newins desktop/org.daa.NeovimGtk-symbolic.svg org.daa.NeovimGtk.png
|
||||
}
|
||||
|
||||
23
packages/app-misc/hunter/hunter-1.3.5.exheres-0
Normal file
23
packages/app-misc/hunter/hunter-1.3.5.exheres-0
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user=rabite0 tag="v${PV}" ]
|
||||
require cargo [ channel=nightly ]
|
||||
|
||||
SUMMARY="Ranger-like file browser written in rust"
|
||||
|
||||
LICENCES="WTFPL-2"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-libs/glib:2
|
||||
media-libs/gstreamer
|
||||
media-libs/libsixel
|
||||
media-plugins/gst-plugins-base
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
20
packages/app-misc/ripgrep-all/ripgrep-all-0.9.3.exheres-0
Normal file
20
packages/app-misc/ripgrep-all/ripgrep-all-0.9.3.exheres-0
Normal file
@@ -0,0 +1,20 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user=phiresky ] cargo
|
||||
|
||||
SUMMARY="rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc."
|
||||
|
||||
LICENCES="AGPL-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64"
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
dev-rust/ripgrep
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
WORK=${WORKBASE}/ripgrep_all-${PV}
|
||||
|
||||
23
packages/app-misc/tldr-hs/tldr-hs-0.6.2.exheres-0
Normal file
23
packages/app-misc/tldr-hs/tldr-hs-0.6.2.exheres-0
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
SUMMARY="Haskell tldr client with support for viewing tldr pages"
|
||||
HOMEPAGE="https://github.com/psibi/tldr-hs"
|
||||
DOWNLOADS="https://github.com/psibi/tldr-hs/releases/download/v${PV}/tldr-linux-v${PV}.tar.gz"
|
||||
|
||||
LICENCES="BSD-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
WORK=${WORKBASE}
|
||||
|
||||
src_install() {
|
||||
newbin tldr tldr-hs
|
||||
}
|
||||
|
||||
@@ -12,12 +12,13 @@ MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
virtual/GHC
|
||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||
!dev-haskell/cabal-install [[
|
||||
description = [ Both install the same binary ]
|
||||
resolution = uninstall-blocked-after
|
||||
]]
|
||||
recommendation:
|
||||
virtual/GHC
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
@@ -12,12 +12,13 @@ MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
virtual/GHC
|
||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||
!dev-haskell/cabal-install [[
|
||||
description = [ Both install the same binary ]
|
||||
resolution = uninstall-blocked-after
|
||||
]]
|
||||
recommendation:
|
||||
virtual/GHC
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
@@ -0,0 +1,31 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
SUMMARY="cabal-install is the command line interface to Cabal and hackage"
|
||||
HOMEPAGE="https://www.haskell.org/cabal/"
|
||||
DOWNLOADS="https://downloads.haskell.org/~cabal/cabal-install-${PV}/cabal-install-${PV}-x86_64-unknown-linux.tar.xz"
|
||||
|
||||
LICENCES="BSD-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="-* ~amd64"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||
!dev-haskell/cabal-install [[
|
||||
description = [ Both install the same binary ]
|
||||
resolution = uninstall-blocked-after
|
||||
]]
|
||||
recommendation:
|
||||
virtual/GHC
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
WORK=${WORKBASE}
|
||||
|
||||
src_install() {
|
||||
dobin cabal
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@ MYOPTIONS=""
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||
virtual/GHC
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
184
packages/dev-lang/GHC/GHC-8.8.1.exheres-0
Normal file
184
packages/dev-lang/GHC/GHC-8.8.1.exheres-0
Normal file
@@ -0,0 +1,184 @@
|
||||
# Copyright 2008 Santiago M. Mola
|
||||
# Copyright 2008, 2009, 2010, 2011 Ingmar Vanhassel
|
||||
# Copyright 2011 Markus Rothe
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# Based in part upon 'ghc-6.8.2.ebuild' from Gentoo, which is:
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
|
||||
MY_PN="ghc"
|
||||
MY_PNV="${MY_PN}-${PV}"
|
||||
MY_PNVR="${MY_PN}-${PVR}"
|
||||
BOOTSTRAP_PV="8.6.5"
|
||||
|
||||
require bash-completion flag-o-matic alternatives
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
|
||||
SUMMARY="The Glorious Glasgow Haskell Compilation System (non-haskell packages version)"
|
||||
DESCRIPTION="
|
||||
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
|
||||
language Haskell.
|
||||
"
|
||||
HOMEPAGE="https://www.haskell.org/ghc/"
|
||||
DOWNLOADS="
|
||||
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-src.tar.xz
|
||||
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-testsuite.tar.xz
|
||||
https://downloads.haskell.org/~ghc/${BOOTSTRAP_PV}/ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz
|
||||
"
|
||||
|
||||
PLATFORMS="-* ~amd64"
|
||||
|
||||
BUGS_TO=""
|
||||
REMOTE_IDS="freecode:${MY_PN}"
|
||||
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${MY_PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||
|
||||
LICENCES="BSD-3"
|
||||
SLOT="${PV}"
|
||||
MYOPTIONS="
|
||||
doc
|
||||
llvm [[ description = [ Code generation using LLVM ] ]]
|
||||
"
|
||||
|
||||
# `make test` takes really long, so disable it. It also succeeds (i.e. returned value is zero) in
|
||||
# case of unexpected failures. There are always unexpected failures.
|
||||
# If you really want to run the tests, then enable expensive tests in order to run `make fulltest`,
|
||||
# which runs the same tests as `make test`, but includes more test cases per test.
|
||||
RESTRICT="test"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
dev-python/Sphinx
|
||||
build+run:
|
||||
dev-lang/perl:*[>=5.6.1]
|
||||
dev-libs/gmp:=[>=5]
|
||||
dev-libs/libffi
|
||||
llvm? ( dev-lang/llvm[>=2.7] )
|
||||
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
||||
!dev-lang/ghc-bin [[ resolution = uninstall-blocked-before ]]
|
||||
"
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
"${FILES}"/${PNV}-no-alex.patch
|
||||
)
|
||||
|
||||
WORK=${WORKBASE}/${MY_PNV}
|
||||
|
||||
src_unpack() {
|
||||
unpack ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz
|
||||
edo mv ghc-${BOOTSTRAP_PV} "bootstrap-ghc"
|
||||
unpack ${MY_PNV}-src.tar.xz
|
||||
unpack ${MY_PNV}-testsuite.tar.xz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# prepare pre-built ghc
|
||||
edo pushd "${WORKBASE}/bootstrap-ghc"
|
||||
edo ./configure \
|
||||
--prefix="${TEMP}/ghc-pre" \
|
||||
--target=$(exhost --target)
|
||||
emake install
|
||||
edo popd
|
||||
|
||||
autotools_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Initialize build.mk
|
||||
echo '# Exherbo changes' > mk/build.mk
|
||||
|
||||
cat <<EOF >> mk/build.mk
|
||||
# Put docs into the right place
|
||||
docdir = /usr/share/doc/${MY_PNVR}
|
||||
htmldir = /usr/share/doc/${MY_PNVR}/html
|
||||
EOF
|
||||
|
||||
if option doc; then
|
||||
echo "BUILD_SPHINX_HTML=YES" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||
echo "HADDOCK_DOCS=YES" >> mk/build.mk
|
||||
else
|
||||
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
export PATH="${WORKBASE}/usr/bin:${PATH}"
|
||||
|
||||
if option llvm; then
|
||||
echo "GhcWithLlvmCodeGen=YES" >> mk/build.mk
|
||||
else
|
||||
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
GHC_SRC_CONFIGURE_OPTIONS+=(
|
||||
--with-system-libffi
|
||||
--with-ffi-includes=$(${PKG_CONFIG} --variable includedir libffi)
|
||||
)
|
||||
|
||||
# host and build cause compilation (at least for 7.6.1) to fail, as they're intended for
|
||||
# cross-compilation.
|
||||
GHC=${TEMP}/ghc-pre/bin/ghc econf \
|
||||
AR=${AR} \
|
||||
CC=${CC} \
|
||||
--target=$(exhost --target) \
|
||||
"${GHC_SRC_CONFIGURE_OPTIONS[@]}"
|
||||
|
||||
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||
echo "STRIP_CMD = :" >> mk/build.mk
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# libraries/ is a partial dupe of the html/ dir hierarchy, but
|
||||
# containing only LICENSE files
|
||||
edo rm -rf "${IMAGE}"/usr/share/doc/${MY_PNVR}/{LICENSE,libraries}
|
||||
|
||||
dobashcompletion "${FILES}/ghc-bash-completion"
|
||||
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
|
||||
|
||||
# some scripts are not versioned, move
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
|
||||
|
||||
# remove unversioned symlinks, we create alternatives later
|
||||
local ghc_bin
|
||||
for ghc_bin in ghc ghci ghc-pkg $(optionq doc && echo "haddock") runghc runhaskell ; do
|
||||
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
|
||||
done
|
||||
unset ghc_bin
|
||||
|
||||
# create alternatives for scripts/binaries
|
||||
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
|
||||
$(optionq doc && echo "/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}}") \
|
||||
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
||||
|
||||
# alternatives for manpages
|
||||
if [[ -d ${IMAGE}/usr/share/man ]]; then
|
||||
local file alternatives=()
|
||||
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||
alternatives+=(
|
||||
${file#${IMAGE}}
|
||||
${file#${IMAGE}}-${SLOT}
|
||||
)
|
||||
done
|
||||
|
||||
alternatives_for \
|
||||
ghc ${SLOT} ${SLOT} \
|
||||
"${alternatives[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test_expensive() {
|
||||
emake fulltest
|
||||
}
|
||||
|
||||
180
packages/dev-lang/GHC/GHC-8.8.2.exheres-0
Normal file
180
packages/dev-lang/GHC/GHC-8.8.2.exheres-0
Normal file
@@ -0,0 +1,180 @@
|
||||
# Copyright 2008 Santiago M. Mola
|
||||
# Copyright 2008, 2009, 2010, 2011 Ingmar Vanhassel
|
||||
# Copyright 2011 Markus Rothe
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# Based in part upon 'ghc-6.8.2.ebuild' from Gentoo, which is:
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
|
||||
MY_PN="ghc"
|
||||
MY_PNV="${MY_PN}-${PV}"
|
||||
MY_PNVR="${MY_PN}-${PVR}"
|
||||
BOOTSTRAP_PV="8.6.5"
|
||||
|
||||
require bash-completion flag-o-matic alternatives
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
|
||||
SUMMARY="The Glorious Glasgow Haskell Compilation System (non-haskell packages version)"
|
||||
DESCRIPTION="
|
||||
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
|
||||
language Haskell.
|
||||
"
|
||||
HOMEPAGE="https://www.haskell.org/ghc/"
|
||||
DOWNLOADS="
|
||||
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-src.tar.xz
|
||||
https://downloads.haskell.org/~ghc/${PV}/${MY_PNV}-testsuite.tar.xz
|
||||
https://downloads.haskell.org/~ghc/${BOOTSTRAP_PV}/ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz
|
||||
"
|
||||
|
||||
PLATFORMS="-* ~amd64"
|
||||
|
||||
BUGS_TO=""
|
||||
REMOTE_IDS="freecode:${MY_PN}"
|
||||
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${MY_PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||
|
||||
LICENCES="BSD-3"
|
||||
SLOT="${PV}"
|
||||
MYOPTIONS="
|
||||
doc
|
||||
llvm [[ description = [ Code generation using LLVM ] ]]
|
||||
"
|
||||
|
||||
# `make test` takes really long, so disable it. It also succeeds (i.e. returned value is zero) in
|
||||
# case of unexpected failures. There are always unexpected failures.
|
||||
# If you really want to run the tests, then enable expensive tests in order to run `make fulltest`,
|
||||
# which runs the same tests as `make test`, but includes more test cases per test.
|
||||
RESTRICT="test"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
dev-python/Sphinx
|
||||
build+run:
|
||||
dev-lang/perl:*[>=5.6.1]
|
||||
dev-libs/gmp:=[>=5]
|
||||
dev-libs/libffi
|
||||
llvm? ( dev-lang/llvm[>=2.7] )
|
||||
!dev-lang/ghc [[ resolution = uninstall-blocked-before ]]
|
||||
!dev-lang/ghc-bin [[ resolution = uninstall-blocked-before ]]
|
||||
"
|
||||
|
||||
WORK=${WORKBASE}/${MY_PNV}
|
||||
|
||||
src_unpack() {
|
||||
unpack ghc-${BOOTSTRAP_PV}-x86_64-fedora27-linux.tar.xz
|
||||
edo mv ghc-${BOOTSTRAP_PV} "bootstrap-ghc"
|
||||
unpack ${MY_PNV}-src.tar.xz
|
||||
unpack ${MY_PNV}-testsuite.tar.xz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# prepare pre-built ghc
|
||||
edo pushd "${WORKBASE}/bootstrap-ghc"
|
||||
edo ./configure \
|
||||
--prefix="${TEMP}/ghc-pre" \
|
||||
--target=$(exhost --target)
|
||||
emake install
|
||||
edo popd
|
||||
|
||||
autotools_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Initialize build.mk
|
||||
echo '# Exherbo changes' > mk/build.mk
|
||||
|
||||
cat <<EOF >> mk/build.mk
|
||||
# Put docs into the right place
|
||||
docdir = /usr/share/doc/${MY_PNVR}
|
||||
htmldir = /usr/share/doc/${MY_PNVR}/html
|
||||
EOF
|
||||
|
||||
if option doc; then
|
||||
echo "BUILD_SPHINX_HTML=YES" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||
echo "HADDOCK_DOCS=YES" >> mk/build.mk
|
||||
else
|
||||
echo "BUILD_SPHINX_HTML=NO" >> mk/build.mk
|
||||
echo "BUILD_SPHINX_PDF=NO" >> mk/build.mk
|
||||
echo "HADDOCK_DOCS=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
export PATH="${WORKBASE}/usr/bin:${PATH}"
|
||||
|
||||
if option llvm; then
|
||||
echo "GhcWithLlvmCodeGen=YES" >> mk/build.mk
|
||||
else
|
||||
echo "GhcWithLlvmCodeGen=NO" >> mk/build.mk
|
||||
fi
|
||||
|
||||
GHC_SRC_CONFIGURE_OPTIONS+=(
|
||||
--with-system-libffi
|
||||
--with-ffi-includes=$(${PKG_CONFIG} --variable includedir libffi)
|
||||
)
|
||||
|
||||
# host and build cause compilation (at least for 7.6.1) to fail, as they're intended for
|
||||
# cross-compilation.
|
||||
GHC=${TEMP}/ghc-pre/bin/ghc econf \
|
||||
AR=${AR} \
|
||||
CC=${CC} \
|
||||
--target=$(exhost --target) \
|
||||
"${GHC_SRC_CONFIGURE_OPTIONS[@]}"
|
||||
|
||||
# don't strip anything. Very useful when stage2 SIGSEGVs on you
|
||||
echo "STRIP_CMD = :" >> mk/build.mk
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# libraries/ is a partial dupe of the html/ dir hierarchy, but
|
||||
# containing only LICENSE files
|
||||
edo rm -rf "${IMAGE}"/usr/share/doc/${MY_PNVR}/{LICENSE,libraries}
|
||||
|
||||
dobashcompletion "${FILES}/ghc-bash-completion"
|
||||
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
|
||||
|
||||
# some scripts are not versioned, move
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
|
||||
|
||||
# remove unversioned symlinks, we create alternatives later
|
||||
local ghc_bin
|
||||
for ghc_bin in ghc ghci ghc-pkg $(optionq doc && echo "haddock") runghc runhaskell ; do
|
||||
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
|
||||
done
|
||||
unset ghc_bin
|
||||
|
||||
# create alternatives for scripts/binaries
|
||||
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
|
||||
$(optionq doc && echo "/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}}") \
|
||||
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
||||
|
||||
# alternatives for manpages
|
||||
if [[ -d ${IMAGE}/usr/share/man ]]; then
|
||||
local file alternatives=()
|
||||
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||
alternatives+=(
|
||||
${file#${IMAGE}}
|
||||
${file#${IMAGE}}-${SLOT}
|
||||
)
|
||||
done
|
||||
|
||||
alternatives_for \
|
||||
ghc ${SLOT} ${SLOT} \
|
||||
"${alternatives[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test_expensive() {
|
||||
emake fulltest
|
||||
}
|
||||
|
||||
33
packages/dev-lang/GHC/files/GHC-8.8.1-no-alex.patch
Normal file
33
packages/dev-lang/GHC/files/GHC-8.8.1-no-alex.patch
Normal file
@@ -0,0 +1,33 @@
|
||||
https://github.com/gentoo-haskell/gentoo-haskell/issues/959
|
||||
|
||||
From 144abba394c6a23eb877fbde727111a5e75b9d47 Mon Sep 17 00:00:00 2001
|
||||
From: Ben Gamari <ben@smart-cactus.org>
|
||||
Date: Wed, 18 Sep 2019 23:50:20 -0400
|
||||
Subject: [PATCH] configure: Don't depend upon alex in source dist build
|
||||
|
||||
This fixes #16860 by verifying that the generated sources don't already
|
||||
exist before asserting that the `alex` executable was found. This
|
||||
replicates the logic already used for `happy` in the case of `alex`.
|
||||
---
|
||||
aclocal.m4 | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/aclocal.m4
|
||||
+++ b/aclocal.m4
|
||||
@@ -984,8 +984,11 @@ else
|
||||
fi;
|
||||
changequote([, ])dnl
|
||||
])
|
||||
-FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.7],
|
||||
- [AC_MSG_ERROR([Alex version 3.1.7 or later is required to compile GHC.])])[]
|
||||
+if test ! -f compiler/parser/Lexer.hs
|
||||
+then
|
||||
+ FP_COMPARE_VERSIONS([$fptools_cv_alex_version],[-lt],[3.1.7],
|
||||
+ [AC_MSG_ERROR([Alex version 3.1.7 or later is required to compile GHC.])])[]
|
||||
+fi
|
||||
AlexVersion=$fptools_cv_alex_version;
|
||||
AC_SUBST(AlexVersion)
|
||||
])
|
||||
--
|
||||
2.23.0
|
||||
|
||||
62
packages/dev-lang/coconut/coconut-1.4.2.exheres-0
Normal file
62
packages/dev-lang/coconut/coconut-1.4.2.exheres-0
Normal file
@@ -0,0 +1,62 @@
|
||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user="evhub" tag="v${PV}" ]
|
||||
require pypi setup-py [ import=setuptools ]
|
||||
|
||||
SUMMARY="Simple, elegant, Pythonic functional programming"
|
||||
DESCRIPTION="
|
||||
Coconut is a functional programming language that compiles to Python. Since all
|
||||
valid Python is valid Coconut, using Coconut will only extend and enhance what
|
||||
you're already capable of in Python.
|
||||
|
||||
Why use Coconut? Coconut is built to be fundamentally useful. Coconut enhances
|
||||
the repertoire of Python programmers to include the tools of modern functional
|
||||
programming, in such a way that those tools are easy to use and immensely
|
||||
powerful; that is, Coconut does to functional programming what Python did to
|
||||
imperative programming. And Coconut code runs the same on any Python version,
|
||||
making the Python 2/3 split a thing of the past.
|
||||
"
|
||||
HOMEPAGE="http://coconut-lang.org/ ${HOMEPAGE}"
|
||||
|
||||
LICENCES="Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
RESTRICT="test" # missing deps
|
||||
|
||||
# python setup.py egg_info
|
||||
# cat coconut.egg-info/requires.txt
|
||||
# we ignore upper bounds of:
|
||||
# * cPyparsing
|
||||
# * mypy
|
||||
# * prompt_toolkit[python_abis:2.7]
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-python/Pygments[>=2.3.1][python_abis:*(-)?]
|
||||
dev-python/prompt_toolkit[>=1.0][python_abis:*(-)?]
|
||||
dev-python/cPyparsing[>=2.4.5.0.1.1][python_abis:*(-)?]
|
||||
python_abis:2.7? (
|
||||
dev-python/futures[>=3.3][python_abis:2.7]
|
||||
dev-python/prompt_toolkit[>=1.0][python_abis:*(-)?]
|
||||
)
|
||||
suggestion:
|
||||
dev-python/mypy[>=0.540] [[ description = [ coconut can run mypy on the compiled python code ] ]]
|
||||
dev-python/psutil[>=5] [[ description = [ improves use of the --jobs flag ] ]]
|
||||
dev-python/watchdog[>=0.9] [[ description = [ enables use of the --watch flag ] ]]
|
||||
python_abis:2.7? (
|
||||
dev-python/trollius[>=2.2] [[ description = [ enables use of the asyncio library on Python 2 versions by making use of trollius ] ]]
|
||||
)
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
prepare_one_multibuild() {
|
||||
python_prepare_one_multibuild
|
||||
|
||||
# https://github.com/evhub/coconut/issues/527
|
||||
edo iconv -c -f utf-8 -t ascii README.rst > "${TEMP}"/README.rst
|
||||
edo $(exhost --tool-prefix)strings "${TEMP}"/README.rst > README.rst
|
||||
}
|
||||
|
||||
96
packages/dev-lang/ghc-bin/ghc-bin-8.8.1.exheres-0
Normal file
96
packages/dev-lang/ghc-bin/ghc-bin-8.8.1.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 bash-completion alternatives
|
||||
|
||||
SUMMARY="The Glorious Glasgow Haskell Compilation System"
|
||||
DESCRIPTION="
|
||||
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
|
||||
language Haskell."
|
||||
HOMEPAGE="https://www.haskell.org/ghc/"
|
||||
DOWNLOADS="https://downloads.haskell.org/~ghc/${PV}/ghc-${PV}-x86_64-fedora27-linux.tar.xz"
|
||||
|
||||
LICENCES="BSD-3"
|
||||
SLOT="${PV}"
|
||||
PLATFORMS="-* ~amd64"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-lang/perl:*[>=5.6.1]
|
||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
|
||||
!dev-lang/GHC [[
|
||||
description = [ different provider ]
|
||||
resolution = uninstall-blocked-after
|
||||
]]
|
||||
!dev-lang/ghc [[
|
||||
description = [ Both install the same binaries/libs and alternatives ]
|
||||
resolution = uninstall-blocked-before
|
||||
]]
|
||||
suggestion:
|
||||
dev-haskell/cabal-install-bin [[ description = [ the cabal binary for installing packages ] ]]
|
||||
dev-lang/llvm[>=2.7] [[ description = [ LLVM can be used for code generation and linking ] ]]
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
REMOTE_IDS="freecode:${PN}"
|
||||
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
WORK=${WORKBASE}/ghc-${PV}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--target=$(exhost --target)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# bashcomp
|
||||
dobashcompletion "${FILES}/ghc-bash-completion"
|
||||
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
|
||||
|
||||
# some scripts are not versioned, move
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
|
||||
|
||||
# remove unversioned symlinks, we create alternatives later
|
||||
local ghc_bin
|
||||
for ghc_bin in ghc ghci ghc-pkg haddock runghc runhaskell ; do
|
||||
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
|
||||
done
|
||||
unset ghc_bin
|
||||
|
||||
# create alternatives for scripts/binaries
|
||||
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
||||
|
||||
# alternatives for manpages
|
||||
local file alternatives=()
|
||||
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||
alternatives+=(
|
||||
${file#${IMAGE}}
|
||||
${file#${IMAGE}}-${SLOT}
|
||||
)
|
||||
done
|
||||
alternatives_for \
|
||||
ghc ${SLOT} ${SLOT} \
|
||||
"${alternatives[@]}"
|
||||
}
|
||||
96
packages/dev-lang/ghc-bin/ghc-bin-8.8.2.exheres-0
Normal file
96
packages/dev-lang/ghc-bin/ghc-bin-8.8.2.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 bash-completion alternatives
|
||||
|
||||
SUMMARY="The Glorious Glasgow Haskell Compilation System"
|
||||
DESCRIPTION="
|
||||
GHC is a state-of-the-art, open source, compiler and interactive environment for the functional
|
||||
language Haskell."
|
||||
HOMEPAGE="https://www.haskell.org/ghc/"
|
||||
DOWNLOADS="https://downloads.haskell.org/~ghc/${PV}/ghc-${PV}-x86_64-fedora27-linux.tar.xz"
|
||||
|
||||
LICENCES="BSD-3"
|
||||
SLOT="${PV}"
|
||||
PLATFORMS="-* ~amd64"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-lang/perl:*[>=5.6.1]
|
||||
dev-libs/gmp[>=6.1] [[ note = [ depends on libgmp.so.10 ] ]]
|
||||
sys-libs/ncurses[>=6.1-r2] [[ note = [ Only these include libtinfo.so symlinks ] ]]
|
||||
!dev-lang/GHC [[
|
||||
description = [ different provider ]
|
||||
resolution = uninstall-blocked-after
|
||||
]]
|
||||
!dev-lang/ghc [[
|
||||
description = [ Both install the same binaries/libs and alternatives ]
|
||||
resolution = uninstall-blocked-before
|
||||
]]
|
||||
suggestion:
|
||||
dev-haskell/cabal-install-bin [[ description = [ the cabal binary for installing packages ] ]]
|
||||
dev-lang/llvm[>=2.7] [[ description = [ LLVM can be used for code generation and linking ] ]]
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
REMOTE_IDS="freecode:${PN}"
|
||||
UPSTREAM_RELEASE_NOTES="http://www.haskell.org/${PN}/docs/${PV}/html/users_guide/release-${PV//./-}.html"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
WORK=${WORKBASE}/ghc-${PV}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--target=$(exhost --target)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# bashcomp
|
||||
dobashcompletion "${FILES}/ghc-bash-completion"
|
||||
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||
/usr/share/bash-completion/completions/ghc-bin{,-${SLOT}}
|
||||
|
||||
# some scripts are not versioned, move
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hp2ps,hp2ps-${SLOT}}
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hpc,hpc-${SLOT}}
|
||||
edo mv "${IMAGE}"/usr/$(exhost --target)/bin/{hsc2hs,hsc2hs-${SLOT}}
|
||||
|
||||
# remove unversioned symlinks, we create alternatives later
|
||||
local ghc_bin
|
||||
for ghc_bin in ghc ghci ghc-pkg haddock runghc runhaskell ; do
|
||||
edo rm "${IMAGE}"/usr/$(exhost --target)/bin/${ghc_bin}
|
||||
done
|
||||
unset ghc_bin
|
||||
|
||||
# create alternatives for scripts/binaries
|
||||
alternatives_for ghc ${SLOT} ${SLOT} \
|
||||
/usr/$(exhost --target)/bin/ghc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/ghci{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/ghc-pkg{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/haddock{,-ghc-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hp2ps{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hpc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/hsc2hs{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/runghc{,-${SLOT}} \
|
||||
/usr/$(exhost --target)/bin/runhaskell /usr/$(exhost --target)/bin/runghc-${SLOT}
|
||||
|
||||
# alternatives for manpages
|
||||
local file alternatives=()
|
||||
for file in "${IMAGE}"/usr/share/man/*/*; do
|
||||
alternatives+=(
|
||||
${file#${IMAGE}}
|
||||
${file#${IMAGE}}-${SLOT}
|
||||
)
|
||||
done
|
||||
alternatives_for \
|
||||
ghc ${SLOT} ${SLOT} \
|
||||
"${alternatives[@]}"
|
||||
}
|
||||
35
packages/dev-lua/luv/luv-1.30.1_p1.exheres-0
Normal file
35
packages/dev-lua/luv/luv-1.30.1_p1.exheres-0
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
MY_PV=${PV/_p/-}
|
||||
WORK=${WORKBASE}/${PN}-${MY_PV}
|
||||
|
||||
require cmake [ api=2 ]
|
||||
|
||||
SUMMARY="Bare libuv bindings for lua"
|
||||
HOMEPAGE="https://github.com/luvit/luv"
|
||||
DOWNLOADS="https://github.com/luvit/luv/releases/download/${MY_PV}/luv-${MY_PV}.tar.gz"
|
||||
|
||||
LICENCES="Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-lang/LuaJIT
|
||||
dev-libs/libuv
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
-DBUILD_MODULE=OFF
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DLUA_BUILD_TYPE=System
|
||||
-DWITH_LUA_ENGINE="LuaJIT"
|
||||
-DWITH_SHARED_LIBUV=ON
|
||||
)
|
||||
|
||||
35
packages/dev-lua/luv/luv-1.34.1_p0.exheres-0
Normal file
35
packages/dev-lua/luv/luv-1.34.1_p0.exheres-0
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
MY_PV=${PV/_p/-}
|
||||
WORK=${WORKBASE}/${PN}-${MY_PV}
|
||||
|
||||
require cmake [ api=2 ]
|
||||
|
||||
SUMMARY="Bare libuv bindings for lua"
|
||||
HOMEPAGE="https://github.com/luvit/luv"
|
||||
DOWNLOADS="https://github.com/luvit/luv/releases/download/${MY_PV}/luv-${MY_PV}.tar.gz"
|
||||
|
||||
LICENCES="Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-lang/LuaJIT
|
||||
dev-libs/libuv
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_PARAMS=(
|
||||
-DBUILD_MODULE=OFF
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DLUA_BUILD_TYPE=System
|
||||
-DWITH_LUA_ENGINE="LuaJIT"
|
||||
-DWITH_SHARED_LIBUV=ON
|
||||
)
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require pypi setup-py [ import=setuptools ]
|
||||
|
||||
SUMMARY="Cython implementation of PyParsing created for use in Coconut and Undebt"
|
||||
|
||||
LICENCES="BSD-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
MY_PNV="${PN}-${PV/_p/.post}"
|
||||
|
||||
require setup-py [ import=setuptools work="${MY_PNV}" ]
|
||||
require pypi
|
||||
|
||||
SUMMARY="Easily include Font Awesome icons in your python scripts"
|
||||
|
||||
LICENCES="Apache-2.0 OFL-1.1"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
prepare_one_multibuild() {
|
||||
edo sed -i \
|
||||
-e '/pypandoc/d' \
|
||||
setup.py
|
||||
|
||||
setup-py_prepare_one_multibuild
|
||||
}
|
||||
|
||||
@@ -23,35 +23,29 @@ MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-python/typed-ast[>=1.3.1&<1.4.0][python_abis:*(-)?]
|
||||
dev-python/typed-ast[>=1.4.0&<1.5.0][python_abis:*(-)?]
|
||||
dev-python/mypy_extensions[>=0.4.0&<0.5.0][python_abis:*(-)?]
|
||||
python_abis:3.4? (
|
||||
dev-python/typing[>=3.5.3][python_abis:3.4]
|
||||
)
|
||||
dev-python/typing-extensions[>=3.7.4][python_abis:*(-)?]
|
||||
test:
|
||||
dev-python/attrs[>=18.0][python_abis:*(-)?]
|
||||
dev-python/flake8[>=3.7][python_abis:*(-)?]
|
||||
dev-python/lxml[>=4.2.4][python_abis:*(-)?]
|
||||
dev-python/psutil[>=4.0][python_abis:*(-)?]
|
||||
dev-python/py[>=1.5.2][python_abis:*(-)?]
|
||||
dev-python/pytest[>=3.0][python_abis:*(-)?]
|
||||
dev-python/pytest[>=4.4][python_abis:*(-)?]
|
||||
dev-python/pytest-cov[>=2.4.0][python_abis:*(-)?]
|
||||
dev-python/pytest-xdist[>=1.18][python_abis:*(-)?]
|
||||
dev-python/pytest-xdist[>=1.22][python_abis:*(-)?]
|
||||
dev-python/virtualenv[python_abis:*(-)?]
|
||||
suggestion:
|
||||
dev-python/psutil[>=5.4.0&<5.5.0][python_abis:*(-)?] [[
|
||||
dev-python/psutil[>=4.0][python_abis:*(-)?] [[
|
||||
description = [ Show memory stats in 'dmypy status -v' ] ]]
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
# Require unpackaged: flake8-bugbear, flake8-pyi
|
||||
# Require unpackaged: flake8-bugbear, flake8-pyi, pytest 4.4+
|
||||
RESTRICT="test"
|
||||
|
||||
prepare_one_multibuild() {
|
||||
edo sed -i \
|
||||
-e "/target = /s|lib|$(exhost --target)/lib|" \
|
||||
setup.py
|
||||
|
||||
setup-py_prepare_one_multibuild
|
||||
}
|
||||
|
||||
test_one_multibuild() {
|
||||
PYTHONPATH="${PWD}" edo ${PYTHON} -B runtests.py -x lint
|
||||
}
|
||||
@@ -7,11 +7,9 @@ SUMMARY="Experimental type system extensions for programs checked with the mypy
|
||||
|
||||
LICENCES="MIT"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
python_abis:3.4? ( dev-python/typing[>=3.5.3][python_abis:3.4] )
|
||||
"
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
From 8e0874b1be515abc8845e3ad41c4332f992e5687 Mon Sep 17 00:00:00 2001
|
||||
From: Julian Ospald <hasufell@posteo.de>
|
||||
Date: Tue, 24 Dec 2019 22:17:28 +0100
|
||||
Subject: [PATCH] Fix build with LibreSSL 2.7
|
||||
Upstream: submitted, https://github.com/AGProjects/python-sipsimple/pull/8
|
||||
|
||||
---
|
||||
deps/pjsip/third_party/zsrtp/include/openssl_compat.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/deps/pjsip/third_party/zsrtp/include/openssl_compat.h b/deps/pjsip/third_party/zsrtp/include/openssl_compat.h
|
||||
index 5b6e183e..aebbf996 100644
|
||||
--- a/deps/pjsip/third_party/zsrtp/include/openssl_compat.h
|
||||
+++ b/deps/pjsip/third_party/zsrtp/include/openssl_compat.h
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include <openssl/hmac.h>
|
||||
|
||||
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER)
|
||||
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
|
||||
static HMAC_CTX *HMAC_CTX_new(void)
|
||||
{
|
||||
HMAC_CTX *ctx = (HMAC_CTX*)OPENSSL_malloc(sizeof(HMAC_CTX));
|
||||
--
|
||||
2.24.1
|
||||
|
||||
@@ -49,6 +49,7 @@ DEPENDENCIES="
|
||||
|
||||
DEFAULT_SRC_PREPARE_PATCHES=(
|
||||
"${FILES}"/${PNV}-fix-build.patch
|
||||
"${FILES}"/0001-Fix-build-with-LibreSSL-2.7.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require typed-ast
|
||||
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require typed-ast
|
||||
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
# Copyright 2017 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user="python" project="typed_ast" ]
|
||||
require pypi
|
||||
require setup-py [ import=setuptools blacklist=2 ]
|
||||
MY_PN="typed_ast"
|
||||
MY_PNV="${MY_PN}-${PV}"
|
||||
|
||||
require github [ user="python" project="${MY_PN}" ]
|
||||
require pypi [ pnv="${MY_PNV}" ]
|
||||
require setup-py [ import=setuptools blacklist=2 work="${MY_PNV}" ]
|
||||
|
||||
SUMMARY="A fork of Python 2 and 3 ast modules with type comment support"
|
||||
DESCRIPTION="
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cargo [ channel=stable ]
|
||||
require github [ user=MitMaro tag="${PV}" ]
|
||||
|
||||
SUMMARY="Native cross platform full feature terminal based sequence editor for git interactive rebase"
|
||||
HOMEPAGE="https://crates.io/crates/git-interactive-rebase-tool ${HOMEPAGE}"
|
||||
|
||||
LICENCES="GPL-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
19
packages/dev-util/rusty-tags/rusty-tags-3.5.1.exheres-0
Normal file
19
packages/dev-util/rusty-tags/rusty-tags-3.5.1.exheres-0
Normal file
@@ -0,0 +1,19 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cargo [ channel=stable ]
|
||||
require github [ user="dan-t" tag="v${PV}" ]
|
||||
|
||||
SUMMARY="Create ctags/etags for a cargo project"
|
||||
HOMEPAGE="https://crates.io/crates/rusty-tags ${HOMEPAGE}"
|
||||
|
||||
LICENCES="BSD-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
@@ -2,38 +2,41 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require alternatives github [ user='universal-ctags' pn='ctags' ]
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
|
||||
|
||||
SUMMARY="Universal ctags"
|
||||
|
||||
LICENCES="GPL-2"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS="json xml yaml"
|
||||
MYOPTIONS="
|
||||
json [[ description = [ Add support for JSON format as output ] ]]
|
||||
seccomp [[ description = [ Add support for libseccomp library ] ]]
|
||||
xml
|
||||
yaml [[ description = [ Add support for YAML format as output ] ]]
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
json? ( dev-libs/jansson )
|
||||
xml? ( dev-libs/libxml2:2.0 )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
xml? ( dev-libs/libxml2:2.0[>=2.7.7] )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
build:
|
||||
dev-python/docutils
|
||||
virtual/pkg-config
|
||||
"
|
||||
|
||||
# input-encoding-option and output-encoding-option fail as of 20-03-2020
|
||||
RESTRICT="test"
|
||||
|
||||
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=(
|
||||
'json'
|
||||
'seccomp'
|
||||
'xml'
|
||||
'yaml'
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# autogen.sh usually runs this
|
||||
edo ./misc/dist-test-cases > makefiles/test-cases.mak
|
||||
|
||||
autotools_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require gog [ installer="stardew_valley_1_4_3_379_34693.sh" ]
|
||||
require desktop-utils
|
||||
|
||||
SUMMARY="Stardew Valley is a farming simulation role-playing video game"
|
||||
HOMEPAGE="https://www.gog.com/game/stardew_valley"
|
||||
|
||||
SLOT="0"
|
||||
PLATFORMS="-* ~amd64 ~x86"
|
||||
MYOPTIONS="
|
||||
( platform: amd64 x86 )
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-apps/xterm
|
||||
x11-dri/mesa
|
||||
"
|
||||
|
||||
src_install() {
|
||||
local arch=$(option platform:amd64 "x86_64" "x86")
|
||||
local noarch=$(option platform:amd64 "x86" "x86_64")
|
||||
local nolib=$(option platform:amd64 "lib" "lib64")
|
||||
|
||||
herebin ${PN} <<EOF
|
||||
#!/bin/sh
|
||||
cd "${GOG_INSTALL_DIR}/game"
|
||||
export TERM=xterm
|
||||
exec "./StardewValley.bin.${arch}" "\$@"
|
||||
EOF
|
||||
|
||||
install_desktop_entry "Name=Stardew Valley"
|
||||
|
||||
edo rm "${WORK}/game/StardewValley.bin.${noarch}"
|
||||
edo rm -r "${WORK}/game/${nolib}"
|
||||
|
||||
insinto "${GOG_INSTALL_DIR}"
|
||||
doins -r "${WORK}/game"
|
||||
edo chmod +x "${IMAGE%/}${GOG_INSTALL_DIR}/game/StardewValley.bin.${arch}"
|
||||
edo ln -sf mcs.bin.${arch} "${IMAGE%/}${GOG_INSTALL_DIR}"/game/mcs
|
||||
}
|
||||
|
||||
@@ -43,9 +43,6 @@ MV_FILES=(
|
||||
/usr/share/applications/openra-cnc.desktop
|
||||
/usr/share/applications/openra-ra.desktop
|
||||
/usr/share/applications/openra-d2k.desktop
|
||||
/usr/share/applications/openra-cnc-join-servers.desktop
|
||||
/usr/share/applications/openra-ra-join-servers.desktop
|
||||
/usr/share/applications/openra-d2k-join-servers.desktop
|
||||
|
||||
/usr/share/icons/hicolor/128x128/apps/openra-cnc.png
|
||||
/usr/share/icons/hicolor/16x16/apps/openra-cnc.png
|
||||
@@ -73,7 +70,7 @@ openra-build_src_unpack() {
|
||||
|
||||
edo cd "${WORK}"/thirdparty
|
||||
edo sed -i \
|
||||
-e 's|curl .*$|: |' \
|
||||
-e 's|^[[:space:]]+curl .*$|: |' \
|
||||
fetch-thirdparty-deps.sh
|
||||
|
||||
cat <<EOF > noget.sh
|
||||
@@ -141,7 +138,7 @@ openra-build_src_install() {
|
||||
local i
|
||||
for i in /usr/$(exhost --target)/bin/openra-{ra,cnc,d2k} \
|
||||
/usr/$(exhost --target)/bin/openra-{ra,cnc,d2k}-server \
|
||||
/usr/share/mime/packages/openra.xml \
|
||||
/usr/share/mime/packages/openra-{ra,cnc,d2k}.xml \
|
||||
/usr/share/appdata/openra-{ra,cnc,d2k}.appdata.xml
|
||||
do
|
||||
edo mv "${IMAGE%/}"${i} "${IMAGE%/}"${i}-${SLOT}
|
||||
@@ -163,7 +160,9 @@ openra-build_src_install() {
|
||||
/usr/share/appdata/openra-cnc.appdata.xml{,-${SLOT}} \
|
||||
/usr/share/appdata/openra-ra.appdata.xml{,-${SLOT}} \
|
||||
/usr/share/appdata/openra-d2k.appdata.xml{,-${SLOT}} \
|
||||
/usr/share/mime/packages/openra.xml{,-${SLOT}}
|
||||
/usr/share/mime/packages/openra-cnc.xml{,-${SLOT}} \
|
||||
/usr/share/mime/packages/openra-ra.xml{,-${SLOT}} \
|
||||
/usr/share/mime/packages/openra-d2k.xml{,-${SLOT}}
|
||||
}
|
||||
|
||||
openra-build_pkg_postinst() {
|
||||
|
||||
49
packages/media-libs/libsixel/libsixel-1.8.6.exheres-0
Normal file
49
packages/media-libs/libsixel/libsixel-1.8.6.exheres-0
Normal file
@@ -0,0 +1,49 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user="saitoha" release="v${PV}" suffix="tar.gz" ]
|
||||
require bash-completion zsh-completion
|
||||
|
||||
SUMMARY="A lightweight, fast implementation of DEC SIXEL graphics codec"
|
||||
|
||||
LICENCES="MIT public-domain"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS="
|
||||
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-libs/glib:2
|
||||
media-libs/gd
|
||||
media-libs/libpng:=
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
x11-libs/gdk-pixbuf:2.0
|
||||
providers:ijg-jpeg? ( media-libs/jpeg:= )
|
||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
DEFAULT_SRC_CONFIGURE_PARAMS=(
|
||||
--disable-python
|
||||
--with-bash-completion-dir=${BASHCOMPLETIONDIR}
|
||||
--with-curl
|
||||
--with-gd
|
||||
--with-gdk-pixbuf2
|
||||
--with-jpeg
|
||||
--with-png
|
||||
--with-zshcompletiondir=${ZSHCOMPLETIONDIR}
|
||||
)
|
||||
|
||||
WORK=${WORKBASE}/sixel-${PV}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
emagicdocs
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user="hoehermann" ]
|
||||
|
||||
SUMMARY="Pidgin/libpurple plugin for WhatsApp Web"
|
||||
|
||||
LICENCES="GPL-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
dev-lang/go
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-libs/glib:2
|
||||
net-im/pidgin
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
edo sed -i -e \
|
||||
"s/\$(GO) build/\$(GO) build -ldflags=\"-extar \/usr\/host\/bin\/$(exhost --target)-ar\"/" \
|
||||
Makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${WORK}"/.gopath
|
||||
esandbox disable_net
|
||||
default
|
||||
esandbox enable_net
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
# Copyright 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user='Junker' ]
|
||||
|
||||
SUMMARY="HTTP File Upload plugin for libpurple (XMPP Protocol)"
|
||||
|
||||
LICENCES="GPL-3"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
net-im/pidgin
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/Junker/purple-xmpp-http-upload/pull/14
|
||||
edo sed -i -e \
|
||||
"s/pkg-config/$(exhost --tool-prefix)pkg-config/" \
|
||||
makefile
|
||||
export CFLAGS="${CFLAGS} -fPIC"
|
||||
export LDFLAGS="${LDFLAGS} -ldl -lm -ljabber"
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user="majn" release="v${PV}" pnv="${PN}_${PV}.orig" suffix="tar.gz" ]
|
||||
|
||||
SUMMARY="Adds support for Telegram to Pidgin, Adium, Finch and other Libpurple based messengers"
|
||||
|
||||
LICENCES="GPL-2"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
sys-devel/gettext
|
||||
virtual/pkg-config
|
||||
build+run:
|
||||
dev-libs/glib:2
|
||||
dev-libs/libgcrypt
|
||||
media-libs/libpng:=
|
||||
media-libs/libwebp:=
|
||||
net-im/pidgin
|
||||
sys-libs/zlib
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
WORK="${WORKBASE}/${PN}"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
edo rmdir "${IMAGE}"/etc/telegram-purple
|
||||
edo rmdir "${IMAGE}"/etc
|
||||
}
|
||||
@@ -6,6 +6,7 @@ require github [ user=haiwen tag="v${PV}" ]
|
||||
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
||||
|
||||
SUMMARY="A simple C language RPC framework (including both server side & client side)"
|
||||
DOWNLOADS="https://github.com/haiwen/libsearpc/archive/v3.2-latest.tar.gz -> ${PNV}.tar.gz"
|
||||
|
||||
LICENCES="Apache-2.0"
|
||||
SLOT="0"
|
||||
@@ -19,11 +20,14 @@ DEPENDENCIES="
|
||||
dev-libs/glib:2
|
||||
dev-libs/jansson
|
||||
run:
|
||||
dev-python/future[python_abis:*(-)?]
|
||||
dev-python/simplejson[python_abis:*(-)?]
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
WORK=${WORKBASE}/libsearpc-3.2-latest
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
edo sed -i -e "s/(DESTDIR)//" ${PN}.pc.in
|
||||
@@ -29,6 +29,8 @@ DEPENDENCIES="
|
||||
sys-libs/zlib
|
||||
providers:libressl? ( dev-libs/libressl:= )
|
||||
providers:openssl? ( dev-libs/openssl )
|
||||
run:
|
||||
dev-python/future[python_abis:*(-)?]
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
@@ -0,0 +1,8 @@
|
||||
# Copyright 2018 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
GITHUB_REVISION=596bb13f2bc323fc8e7783b8dcba627de4969e07
|
||||
require trickle
|
||||
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
@@ -1,30 +1,7 @@
|
||||
# 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 ] ]
|
||||
require trickle
|
||||
|
||||
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
|
||||
)
|
||||
|
||||
|
||||
29
packages/net-misc/trickle/trickle.exlib
Normal file
29
packages/net-misc/trickle/trickle.exlib
Normal file
@@ -0,0 +1,29 @@
|
||||
# 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.16 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"
|
||||
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
|
||||
)
|
||||
|
||||
9
packages/sys-apps/lsd/lsd-0.16.0.exheres-0
Normal file
9
packages/sys-apps/lsd/lsd-0.16.0.exheres-0
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cargo [ channel=stable ]
|
||||
require github [ user=Peltoche tag="${PV}" ]
|
||||
require lsd
|
||||
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
|
||||
@@ -3,17 +3,7 @@
|
||||
|
||||
require github [ user=Peltoche tag="${PV}" ]
|
||||
require cargo [ channel=stable ]
|
||||
require lsd
|
||||
|
||||
SUMMARY="The next gen ls command"
|
||||
HOMEPAGE="https://crates.io/crates/lsd ${HOMEPAGE}"
|
||||
|
||||
LICENCES="Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
"
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
# Copyright 2019 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require cargo [ channel=stable ]
|
||||
require github [ user=Peltoche tag="${PV}" ]
|
||||
require bash-completion zsh-completion
|
||||
|
||||
SUMMARY="The next gen ls command"
|
||||
HOMEPAGE="https://crates.io/crates/lsd ${HOMEPAGE}"
|
||||
|
||||
LICENCES="Apache-2.0"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64 ~x86"
|
||||
MYOPTIONS=""
|
||||
|
||||
DEPENDENCIES="
|
||||
@@ -17,6 +15,20 @@ DEPENDENCIES="
|
||||
|
||||
BUGS_TO="hasufell@posteo.de"
|
||||
|
||||
BASH_COMPLETIONS=( "${WORK}/completions/${PN}.bash" )
|
||||
ZSH_COMPLETIONS=( "${WORK}/completions/_${PN}" )
|
||||
|
||||
src_compile() {
|
||||
SHELL_COMPLETIONS_DIR="${WORK}/completions" \
|
||||
cargo_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
bash-completion_src_install
|
||||
zsh-completion_src_install
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local test_socket="unix:${TEMP}/test_socket_type.*/socket.tmp"
|
||||
esandbox allow_net --bind "${test_socket}"
|
||||
@@ -7,8 +7,8 @@ SUMMARY="TeamSpeak Client - Voice Communication Software"
|
||||
HOMEPAGE="http://www.teamspeak.com/"
|
||||
DOWNLOADS="
|
||||
listed-only:
|
||||
platform:amd64? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
|
||||
platform:x86? ( http://ftp.4players.de/pub/hosted/ts3/releases/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
|
||||
platform:amd64? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_amd64-${PV/_/-}.run )
|
||||
platform:x86? ( https://files.teamspeak-services.com/releases/client/${PV}/TeamSpeak3-Client-linux_x86-${PV/_/-}.run )
|
||||
"
|
||||
|
||||
LICENCES="teamspeak3"
|
||||
@@ -22,6 +22,7 @@ RESTRICT="mirror strip"
|
||||
|
||||
DEPENDENCIES="
|
||||
run:
|
||||
app-arch/quazip
|
||||
dev-libs/glib:2
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
81
packages/x11-apps/picom/picom-7.5.exheres-0
Normal file
81
packages/x11-apps/picom/picom-7.5.exheres-0
Normal file
@@ -0,0 +1,81 @@
|
||||
# Copyright 2013, 2014 Lasse Brun <bruners@gmail.com>, 2020 Julian Ospald <hasufell@posteo.de>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user=yshui tag=v${PV} ]
|
||||
require meson gtk-icon-cache
|
||||
|
||||
SUMMARY="Picom is a X compositing manager, forked of compton"
|
||||
LICENCES="MIT"
|
||||
SLOT="0"
|
||||
PLATFORMS="~amd64"
|
||||
|
||||
MYOPTIONS="
|
||||
dbus [[ description = [ Change VSync mode with D-Bus, needs testing ] ]]
|
||||
libconfig [[ description = [ Enable config file support ] ]]
|
||||
opengl [[ description = [ Opengl and VSync composition ] ]]
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build:
|
||||
app-doc/asciidoc
|
||||
dev-libs/uthash
|
||||
virtual/pkg-config
|
||||
x11-proto/xorgproto
|
||||
build+run:
|
||||
dev-libs/libev
|
||||
dev-libs/pcre[>=8.10]
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb[>=1.9.2]
|
||||
x11-libs/libXext
|
||||
x11-libs/pixman:1
|
||||
x11-utils/xcb-util-image
|
||||
x11-utils/xcb-util-renderutil
|
||||
dbus? ( sys-apps/dbus )
|
||||
libconfig? (
|
||||
dev-libs/libconfig[>=1.4]
|
||||
x11-libs/libxdg-basedir
|
||||
)
|
||||
opengl? (
|
||||
x11-dri/libdrm
|
||||
x11-dri/mesa
|
||||
)
|
||||
run:
|
||||
dev-lang/python:*[>3.5] [[ note = [ bin/compton-convgen.py ] ]]
|
||||
x11-apps/xprop
|
||||
x11-apps/xwininfo
|
||||
"
|
||||
|
||||
DEFAULT_SRC_INSTALL_EXTRA_DOCS=(
|
||||
"${PN}.sample.conf"
|
||||
)
|
||||
|
||||
MESON_SRC_CONFIGURE_PARAMS=(
|
||||
"-Dunittest=true"
|
||||
"-Dbuild_docs=true" # with_docs in "next" branch
|
||||
)
|
||||
MESON_SRC_CONFIGURE_OPTION_SWITCHES=(
|
||||
"dbus"
|
||||
"libconfig config_file"
|
||||
"opengl"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
meson_src_prepare
|
||||
# don't install compat symlink
|
||||
# this script is also broken
|
||||
echo "#!/bin/sh" > meson/install.sh
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
option dbus && dodoc -r dbus-examples
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gtk-icon-cache_pkg_postinst
|
||||
elog "Sample configuration/tools for ${PN} can be found in /usr/share/doc/${PNV}"
|
||||
elog "${PN}.sample.conf - Sourced from XDG directories \$XDG_CONFIG_HOME/${PN}.conf \$HOME/.${PN}.conf"
|
||||
option dbus &&
|
||||
elog "dbus-examples - scripts to control ${PN} via dbus"
|
||||
}
|
||||
|
||||
10
packages/x11-misc/polybar/polybar-3.4.2.exheres-0
Normal file
10
packages/x11-misc/polybar/polybar-3.4.2.exheres-0
Normal file
@@ -0,0 +1,10 @@
|
||||
# Copyright 2019 Danilo Spinella <danyspin97@protonmail.com>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require polybar
|
||||
|
||||
PLATFORMS="~amd64"
|
||||
|
||||
WORK="${WORKBASE}/${PN}"
|
||||
CMAKE_SOURCE=${WORK}
|
||||
|
||||
13
packages/x11-misc/polybar/polybar-scm.exheres-0
Normal file
13
packages/x11-misc/polybar/polybar-scm.exheres-0
Normal file
@@ -0,0 +1,13 @@
|
||||
# Copyright 2018 Danilo Spinella <danyspin97@protonmail.com>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
SCM_REPOSITORY="https://github.com/polybar/${PN}"
|
||||
SCM_i3ipcpp_REPOSITORY="https://github.com/polybar/i3ipcpp"
|
||||
SCM_xpp_REPOSITORY="https://github.com/polybar/xpp"
|
||||
SCM_SECONDARY_REPOSITORIES="i3ipcpp xpp"
|
||||
SCM_EXTERNAL_REFS="lib/i3ipcpp:i3ipcpp lib/xpp:xpp"
|
||||
|
||||
require polybar
|
||||
|
||||
PLATFORMS="~amd64"
|
||||
|
||||
83
packages/x11-misc/polybar/polybar.exlib
Normal file
83
packages/x11-misc/polybar/polybar.exlib
Normal file
@@ -0,0 +1,83 @@
|
||||
# Copyright 2018 Danilo Spinella <danyspin97@protonmail.com>
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
require github [ user='polybar' release="${PV}" suffix=tar ] cmake [ api=2 ]
|
||||
|
||||
export_exlib_phases src_prepare
|
||||
|
||||
SUMMARY="A fast and easy-to-use status bar."
|
||||
|
||||
LICENCES="MIT"
|
||||
SLOT="0"
|
||||
MYOPTIONS="
|
||||
alsa
|
||||
curl [[ description = [ Support for github module ] ]]
|
||||
mpd
|
||||
network
|
||||
i3
|
||||
pulseaudio
|
||||
X
|
||||
"
|
||||
|
||||
DEPENDENCIES="
|
||||
build+run:
|
||||
dev-lang/python:2.7
|
||||
x11-libs/cairo
|
||||
x11-libs/libxcb
|
||||
x11-proto/xcb-proto
|
||||
x11-utils/xcb-util-image
|
||||
x11-utils/xcb-util-wm
|
||||
alsa? (
|
||||
sys-sound/alsa-lib
|
||||
)
|
||||
curl? (
|
||||
net-misc/curl
|
||||
)
|
||||
mpd? (
|
||||
media-sound/mpd
|
||||
)
|
||||
pulseaudio? (
|
||||
media-sound/pulseaudio
|
||||
)
|
||||
network? (
|
||||
net-libs/libnl
|
||||
)
|
||||
X? (
|
||||
x11-proto/xcb-proto[>=1.12]
|
||||
x11-libs/libXrandr
|
||||
x11-utils/xcb-util-cursor
|
||||
x11-utils/xcb-util-xrm
|
||||
)
|
||||
recommendation:
|
||||
fonts/unifont
|
||||
"
|
||||
|
||||
CMAKE_SRC_CONFIGURE_OPTION_ENABLES=(
|
||||
'alsa ALSA'
|
||||
'curl CURL'
|
||||
'i3 I3'
|
||||
'mpd MPD'
|
||||
'network NETWORK'
|
||||
'pulseaudio PULSEAUDIO'
|
||||
)
|
||||
|
||||
CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
|
||||
'network LIBNL'
|
||||
)
|
||||
|
||||
CMAKE_SRC_CONFIGURE_OPTION_WITHS=(
|
||||
'X XCOMPOSITE'
|
||||
'X XCURSOR'
|
||||
'X XRANDR'
|
||||
'X XRANDR_MONITORS'
|
||||
'X XKB'
|
||||
'X XRM'
|
||||
)
|
||||
|
||||
polybar_src_prepare() {
|
||||
edo mkdir "${TEMP}"/fakebin
|
||||
edo ln -s /usr/host/bin/python2 "${TEMP}"/fakebin/python
|
||||
export PATH="${TEMP}/fakebin/:${PATH}"
|
||||
|
||||
default
|
||||
}
|
||||
@@ -27,7 +27,7 @@ DEPENDENCIES="
|
||||
suggestion:
|
||||
app-text/dvipng
|
||||
app-text/texlive-core
|
||||
dev-libs/zeitgeist
|
||||
dev-libs/zeitgeist:2.0
|
||||
dev-scm/bzr
|
||||
media-gfx/ImageMagick
|
||||
media-gfx/graphviz
|
||||
@@ -36,12 +36,20 @@ DEPENDENCIES="
|
||||
sci-apps/gnuplot
|
||||
"
|
||||
|
||||
# Requires X server
|
||||
RESTRICT="test"
|
||||
|
||||
WORK=${WORKBASE}/${PNV/_rc/-rc}
|
||||
|
||||
pkg_setup() {
|
||||
unset DISPLAY # tries to access X socket
|
||||
}
|
||||
|
||||
src_test() {
|
||||
PYTHONPATH="${PWD}/build/lib" \
|
||||
edo ${PYTHON} test.py
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
freedesktop-desktop_pkg_postinst
|
||||
gtk-icon-cache_pkg_postinst
|
||||
Reference in New Issue
Block a user