Merge remote-tracking branch 'upstream/master' into master
This commit is contained in:
commit
60817c0d8d
32
.gitlab/issue_templates/Bug Report.md
Normal file
32
.gitlab/issue_templates/Bug Report.md
Normal file
@ -0,0 +1,32 @@
|
||||
# Bug Report
|
||||
|
||||
<!--
|
||||
Provide the exact link of the category/package you have received the error. For example
|
||||
|
||||
---
|
||||
## category/package
|
||||
|
||||
https://gitlab.com/src_prepare/src_prepare-overlay/-/blob/master/www-client/icecat/icecat-68.7.0-r1.ebuild
|
||||
---
|
||||
-->
|
||||
|
||||
---
|
||||
## category/package
|
||||
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Send a text file containing the error logs.
|
||||
If the error log is small, feel free to paste it in the comment, between the codeblock (``` ```).
|
||||
-->
|
||||
|
||||
---
|
||||
## Error logs
|
||||
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
OPTIONAL: more information are welcome, e.g. dependencies versions used, patches, etc.
|
||||
-->
|
43
.gitlab/issue_templates/Ebuild Request.md
Normal file
43
.gitlab/issue_templates/Ebuild Request.md
Normal file
@ -0,0 +1,43 @@
|
||||
# Ebuild Request
|
||||
|
||||
<!--
|
||||
NOTE: Everything you see between the arrows will not be outputted. MAKE SURE YOU WRITE *OUTSIDE* THE ARROWS.
|
||||
-->
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
Provide the category/package of the program you are requesting between the quotes, for example:
|
||||
|
||||
`www-client/icecat"`
|
||||
-->
|
||||
|
||||
``
|
||||
|
||||
<!--
|
||||
Provide a description of the program you are requesting between the quotes, for example:
|
||||
|
||||
`DESCRIPTION="GNU IceCat Web Browser"`
|
||||
-->
|
||||
|
||||
`DESCRIPTION=""`
|
||||
|
||||
<!--
|
||||
Provide the homepage of the program you are requesting between the quotes, for example:
|
||||
|
||||
`HOMEPAGE="https://www.gnu.org/software/gnuzilla"`.
|
||||
-->
|
||||
|
||||
`HOMEPAGE=""`
|
||||
|
||||
<!--
|
||||
Provide the license of the program you are requesting between the quotes, for example:
|
||||
|
||||
`LICENSE="GPLv2"`
|
||||
-->
|
||||
|
||||
`LICENSE=""`
|
||||
|
||||
<!--
|
||||
OPTIONAL: if you have a reference ebuild, feel free to share it with us so we can base our ebuild on it.
|
||||
-->
|
23
README.md
23
README.md
@ -30,21 +30,18 @@ Mostly to have fun.
|
||||
|
||||
## For whom?
|
||||
|
||||
src_prepare overlay was based on a concept of [GURU](https://wiki.gentoo.org/wiki/Project:GURU) with the following exceptions:
|
||||
- easier to get access to the master branch
|
||||
- main contact with the src_prepare project is via [Matrix](https://matrix.to/#/#src_prepare:matrix.org)
|
||||
- main git repo is hosted on [Gitlab](https://gitlab.com/src_prepare/src_prepare-overlay) with [Github](https://github.com/xgqt/src_prepare-overlay) and [Codeberg](https://codeberg.org/src_prepare/src_prepare-overlay) mirrors
|
||||
- more freedom in creating ebuilds
|
||||
- no requirement for GPG keys
|
||||
- no requirement for private info
|
||||
src_prepare overlay is based on the concept of the [GURU](https://wiki.gentoo.org/wiki/Project:GURU) project: to create a repository maintained collaboratively by Gentoo users, for Gentoo users.
|
||||
|
||||
src_prepare project doesn't want to overtake the GURU project, the course that the GURU project takes is more professional, src_prepare overlay is more open for ebuilds:
|
||||
- binary packages from upstream
|
||||
- from inexperienced users
|
||||
- from software created by the src_prepare project itself
|
||||
- live ebuilds
|
||||
- programs that run under WINE (or other emulators)
|
||||
Despite being based on the concept of the GURU project, src_prepare has different goals in mind:
|
||||
|
||||
- main git repository is hosted on [GitLab](https://gitlab.com/src_prepare/src_prepare-overlay), with mirrors set to [GitHub](https://github.com/xgqt/src_prepare-overlay) and [Codeberg](https://codeberg.org/src_prepare/src_prepare-overlay);
|
||||
- easier for one to get access to the `master` branch;
|
||||
- main contact with the src_prepare project is via [[matrix]](https://matrix.to/#/#src_prepare:matrix.org);
|
||||
- more freedom in creating ebuilds;
|
||||
- no requirement for GPG keys;
|
||||
- no requirement for private info.
|
||||
|
||||
The src_prepare project doesn't want to overtake or compete with the GURU project. The GURU project is aimed on professionalism and quality, whereas src_prepare is aimed on openness and ease of access.
|
||||
|
||||
## Adding the overlay
|
||||
|
||||
|
@ -25,7 +25,6 @@ IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/gtkmm:3.0
|
||||
dev-libs/openssl
|
||||
x11-themes/hicolor-icon-theme
|
||||
sys-boot/grub:2
|
||||
app-arch/libarchive
|
||||
|
@ -25,7 +25,6 @@ IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/gtkmm:3.0
|
||||
dev-libs/openssl
|
||||
x11-themes/hicolor-icon-theme
|
||||
sys-boot/grub:2
|
||||
app-arch/libarchive
|
||||
|
@ -3,22 +3,21 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A Simple SDL2 / FFmpeg library for audio/video playback written in C99"
|
||||
HOMEPAGE="https://github.com/katajakasa/SDL_kitchensink"
|
||||
SRC_URI="https://github.com/katajakasa/SDL_kitchensink/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
|
||||
|
||||
IUSE="static sanitize examples"
|
||||
|
||||
BDEPEND+="
|
||||
examples? ( sys-apps/coreutils )
|
||||
"
|
||||
|
||||
RDEPEND+="
|
||||
sanitize? ( >=sys-devel/gcc-5.0.0[sanitize] )
|
||||
media-libs/libsdl2
|
||||
@ -29,26 +28,29 @@ RDEPEND+="
|
||||
S="${WORKDIR}/SDL_kitchensink-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
SANITIZE="OFF"
|
||||
EXAMPLES="OFF"
|
||||
STATIC="OFF"
|
||||
|
||||
if use sanitize; then SANITIZE="ON"; fi
|
||||
if use examples; then EXAMPLES="ON"; fi
|
||||
if use static; then STATIC="ON"; fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DUSE_ASAN="${SANITIZE}"
|
||||
-DBUILD_EXAMPLES="${EXAMPLES}"
|
||||
-DBUILD_STATIC="${STATIC}"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
cmake_src_install
|
||||
|
||||
if use examples; then
|
||||
for i in audio complex custom rwops simple; do
|
||||
mv "${BUILD_DIR}"/${i} "${BUILD_DIR}"/SDL_kitchensink-${i}
|
||||
|
@ -1,2 +1,4 @@
|
||||
DIST racket-7.7-src-builtpkgs.tgz 148403219 BLAKE2B 6f68fc680ca12e09c9f4399bb26dd87a4bfb3d1d05370555300e460a23ea390d02a3ae74e7d227eb0b140d49c9a3a9de2c2502313a09f9cef49103592eeae58b SHA512 9537f3b3d3e7955f4935b64b4d447bf14b2e1c1a2fb7486327ecb7ebf11aa58d531b7f2f72916742752b7e174b429cb446a059a7e535c1450a175302507ec3ea
|
||||
DIST racket-7.8-src-builtpkgs.tgz 148635095 BLAKE2B ad944f6c269746dbe1301f029824949a1de6a81f908da75f1803eedf1c0b2aeb2bca9a263ea3d328081dddd69339089b7287f289036fadf05aea2a74b561da5b SHA512 8d0442aa73511a9d29827d0bb2481f6eef2d9ec3f3f68a7fdf1f88adc07891f623d7db388d494c26e884fe3bfcc5463444ea5bb4cc54e54989a73802ac216dca
|
||||
DIST racket-minimal-7.7-src-builtpkgs.tgz 21239831 BLAKE2B 6450ba93e65c15350a4a5790852c6a2be5311fcaf803b355c310ba6709f4869d305a8a36aec6c03883f639d0737cbc0be4222e4ef1eb9639ba38da902f46e65e SHA512 aaad81e48a3b28c3023bcb9aeb18a4a2d4214a3a7b5c34c4a52e1b5dc5d0afdfb4976c2d2e1a17f109ff700970e377ef336b6b1ab23e4b9930492a9e9e37619c
|
||||
DIST racket-minimal-7.8-src-builtpkgs.tgz 21202793 BLAKE2B e3ae69b31d4a5984e51a0da158e9cf09be6670e5a63dd38aa124175000b4b4a133b9d2f592d7fc2816f8d1d79ff1bc6e7a73f9f7c8ee7af3d5c6f94844022eaa SHA512 da4eabaa3e76fa56b611b4159628744ad427f406af8c6a3db27ca0fd33953a033c6f40eb497bf375bb2551eb11ccd29d413ba413baab2e10a4801485fa17d826
|
||||
|
128
dev-scheme/racket/racket-7.8.ebuild
Normal file
128
dev-scheme/racket/racket-7.8.ebuild
Normal file
@ -0,0 +1,128 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit pax-utils
|
||||
|
||||
DESCRIPTION="General purpose, multi-paradigm Lisp-Scheme programming language"
|
||||
HOMEPAGE="https://racket-lang.org/"
|
||||
SRC_URI="
|
||||
minimal? ( https://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz )
|
||||
!minimal? ( https://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )
|
||||
"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3+ LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="
|
||||
+doc
|
||||
+futures
|
||||
+graphics
|
||||
+jit
|
||||
+places
|
||||
+readline
|
||||
+threads
|
||||
X
|
||||
minimal
|
||||
"
|
||||
REQUIRED_USE="
|
||||
futures? ( jit )
|
||||
X? ( graphics )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
!dev-tex/slatex
|
||||
dev-db/sqlite:3
|
||||
dev-libs/libffi
|
||||
graphics? (
|
||||
media-libs/libpng:0
|
||||
virtual/jpeg:0
|
||||
x11-libs/cairo[X?]
|
||||
x11-libs/pango[X?]
|
||||
)
|
||||
readline? (
|
||||
dev-libs/libedit
|
||||
)
|
||||
X? (
|
||||
x11-libs/gtk+[X?]
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
rm -r foreign/libffi || die 'failed to remove bundled libffi'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# According to vapier, we should use the bundled libtool
|
||||
# such that we don't preclude cross-compile. Thus don't use
|
||||
# --enable-lt=/usr/bin/libtool
|
||||
local myconf=(
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
--enable-shared
|
||||
--enable-float
|
||||
--enable-libffi
|
||||
--enable-foreign
|
||||
--disable-libs
|
||||
--disable-strip
|
||||
$(use_enable X gracket)
|
||||
$(use_enable doc docs)
|
||||
$(use_enable jit)
|
||||
$(use_enable places)
|
||||
$(use_enable futures)
|
||||
$(use_enable threads pthread)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use jit; then
|
||||
# When the JIT is enabled, a few binaries need to be pax-marked
|
||||
# on hardened systems (bug 613634). The trick is to pax-mark
|
||||
# them before they're used later in the build system. The
|
||||
# following order for racketcgc and racket3m was determined by
|
||||
# digging through the Makefile in src/racket to find out which
|
||||
# targets would build those binaries but not use them.
|
||||
pushd racket
|
||||
emake cgc-core
|
||||
pax-mark m .libs/racketcgc
|
||||
pushd gc2
|
||||
emake all
|
||||
popd
|
||||
pax-mark m .libs/racket3m
|
||||
popd
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use jit; then
|
||||
# The final binaries need to be pax-marked, too, if you want to
|
||||
# actually use them. The src_compile marking get lost somewhere
|
||||
# in the install process.
|
||||
for f in mred mzscheme racket; do
|
||||
pax-mark m "${D}/usr/bin/${f}"
|
||||
done
|
||||
|
||||
use X && pax-mark m "${D}/usr/$(get_libdir)/racket/gracket"
|
||||
fi
|
||||
|
||||
# raco needs decompressed files for packages doc installation bug 662424
|
||||
if use doc; then
|
||||
docompress -x /usr/share/doc/${PF}
|
||||
fi
|
||||
|
||||
find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||
}
|
@ -1,2 +0,0 @@
|
||||
EBUILD leaden-9999.ebuild 860 BLAKE2B dc9a4611bd8ad0920e25538dd22e1ddc333dcdd97952b04264beb045f24317d5c58597048bffba7b1d114f498951fbb8d6fc1cefcf30f8869d30b18eed1ac6a2 SHA512 4519f14afe7bf89d9e345516d94306b9497fbb7c7c615c612bed9f3d4f05b2ac380cb0090f327278dd22a20d03a699d8e9aa82eb4acfca3414e37f0b4ce59d9b
|
||||
MISC metadata.xml 139 BLAKE2B b4a59c22790dfec3fbcfaea41ef363401766736b68a85bedae00e1944d0a848aa97104c2f34244c0fe7b6363029281f965fc1b3545301d341cda371eaa976274 SHA512 8be912ace7468a4396eb1da00a9785030a8ce35da4357a01591876a1056fd45e44da65de2af3e1eb0506ce6551714962c40c3ae5a3aefa2ad231de35af2519be
|
@ -36,4 +36,3 @@ src_prepare() {
|
||||
rm leaden/ui.ui
|
||||
default_src_prepare
|
||||
}
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
DIST melonDS-0.8.3.tar.gz 965501 BLAKE2B 6ada01de8942c7ae5ec4a0a48cc76384ac2196f567d67d242d3d81e7c760dd87d76fcb5a33b540b670fd79358ba8e6a9c355d48e8eb08c721dfe33b54e4a9842 SHA512 4fed77abd231812d2f9ddb19a7fe6e808fb8e92035bb2fea220032b7c0a98671b4fd79ef0f7c7c559e92f3d1875ea119afaa581be2edacaa10f4437620eecd76
|
||||
DIST melonDS-0.9.tar.gz 899619 BLAKE2B 4a3fe0c8ca1cce9ed823f74eaf58786f8847b62e0e25d5f0e97b1cc0e68754b61a09b5e9b790264549377011dd899447fbe715ca2831320a903d70e24953b3dd SHA512 7d65058f9140c1bbcdc17d32aee62625023dba8c3c45665486c8a3dbec551ca109831949716eadb8048921464d4a6543698b741835b32cc95a96f5b5cf885e04
|
||||
|
@ -8,7 +8,7 @@ MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit eutils xdg cmake
|
||||
|
||||
DESCRIPTION="DS emulator, sorta"
|
||||
DESCRIPTION="Nintendo DS emulator, sorta"
|
||||
HOMEPAGE="http://melonds.kuribo64.net/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
|
62
games-emulation/melonds/melonds-0.9.ebuild
Normal file
62
games-emulation/melonds/melonds-0.9.ebuild
Normal file
@ -0,0 +1,62 @@
|
||||
# Copyright 2019-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="melonDS"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit eutils xdg cmake
|
||||
|
||||
DESCRIPTION="Nintendo DS emulator, sorta"
|
||||
HOMEPAGE="http://melonds.kuribo64.net/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/Arisotura/${MY_PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/Arisotura/${MY_PN}/archive/${PV}.tar.gz -> ${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/libsdl2[sound,video]
|
||||
net-libs/gnutls
|
||||
net-libs/libpcap
|
||||
net-libs/libslirp
|
||||
net-misc/curl
|
||||
x11-libs/cairo
|
||||
x11-libs/gtk+:3
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
|
||||
elog "You need the following files in order to run melonDS:"
|
||||
elog "- bios7.bin"
|
||||
elog "- bios9.bin"
|
||||
elog "- firmware.bin"
|
||||
elog "- romlist.bin"
|
||||
elog "Place them in ~/.config/melonDS"
|
||||
elog "Those files can be found somewhere on the Internet ;-)"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -8,7 +8,7 @@ MY_P="${MY_PN}-${PV}"
|
||||
|
||||
inherit eutils xdg cmake
|
||||
|
||||
DESCRIPTION="DS emulator, sorta"
|
||||
DESCRIPTION="Nintendo DS emulator, sorta"
|
||||
HOMEPAGE="http://melonds.kuribo64.net/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
@ -27,7 +27,12 @@ SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/libsdl2[sound,video]
|
||||
net-libs/gnutls
|
||||
net-libs/libpcap
|
||||
net-libs/libslirp
|
||||
net-misc/curl
|
||||
@ -41,14 +46,14 @@ RDEPEND="
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
|
||||
elog "You need the following files in order to run melonDS:"
|
||||
elog "- bios7.bin"
|
||||
elog "- bios9.bin"
|
||||
elog "- firmware.bin"
|
||||
elog "- romlist.bin"
|
||||
elog "Place them in ~/.config/melonDS"
|
||||
elog "The romlist.bin file can be found in the /usr/share/melonDS directory"
|
||||
elog "The rest of those files can be found somewhere in the internet ;-)"
|
||||
elog "Those files can be found somewhere on the Internet ;-)"
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
@ -1,7 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">Arisotura/melonDS</remote-id>
|
||||
</upstream>
|
||||
<upstream>
|
||||
<remote-id type="gitlab">Arisotura/melonDS</remote-id>
|
||||
</upstream>
|
||||
<longdescription>
|
||||
DS emulator, sorta.
|
||||
The goal is to do things right and fast, akin to blargSNES.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
|
@ -39,6 +39,7 @@ COMMON_DEPEND="
|
||||
|
||||
DEPEND="
|
||||
"${COMMON_DEPEND}"
|
||||
>=dev-qt/qtconcurrent-5.6.0
|
||||
dev-qt/linguist-tools
|
||||
doxygen? ( app-doc/doxygen[dot] )
|
||||
"
|
||||
|
@ -1 +1,2 @@
|
||||
DIST hblock-2.1.5.tar.gz 400446 BLAKE2B bc92732543c4b516c898edc05a0a5a62a93cfa9e8dde8136d6a4be7e98dece9d0d494c50d00934bb1a54ae85cb2bba1dd0b3e8507a748385981fb583c9f8f2bc SHA512 075e2bd84f8a63ab7d89f06582a9cf248d80bffa60134e0133fc199eda30af37e49a2cd553cd25a4988d025532e0c3ca78fcb3d2f9be01594415634f8d5162c0
|
||||
DIST hblock-2.1.7.tar.gz 400671 BLAKE2B c0c15eb88225c8f24f07362244c1c1059a70cb9406dab1468f15fb4590e824dc329b47db2be688b881a2d815d1e69a13074aba4b1f5705a7e490ce7fa342ec5e SHA512 5ab81fb7d5342ce0f75990e7d676180d4a1795bc8c7f3fb272475498483420e40a8a93abd729a7bd00a596bbd995a65c299c6ca96da6188f7cf8fff6512bf488
|
||||
|
@ -20,13 +20,10 @@ fi
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="systemd"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-apps/baselayout
|
||||
systemd? (
|
||||
sys-apps/systemd
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
|
59
net-firewall/hblock/hblock-2.1.7.ebuild
Normal file
59
net-firewall/hblock/hblock-2.1.7.ebuild
Normal file
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils systemd
|
||||
|
||||
DESCRIPTION="Improve your security and privacy by blocking ads, tracking and malware domains"
|
||||
HOMEPAGE="https://hblock.molinero.dev/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/hectorm/${PN}.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/hectorm/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-apps/baselayout
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
sys-apps/coreutils
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Upstream provides shasums in the repo - let's use them
|
||||
cd "${S}" || die
|
||||
sha256sum -c "${S}"/SHA256SUMS || die "Shasum check failed"
|
||||
cd "${S}"/resources/systemd || die
|
||||
sha256sum -c "${S}"/resources/systemd/SHA256SUMS || die "Shasum check failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto "/usr/bin"
|
||||
doexe "${PN}"
|
||||
systemd_dounit "${S}"/resources/systemd/hblock.service
|
||||
systemd_dounit "${S}"/resources/systemd/hblock.timer
|
||||
einstalldocs
|
||||
}
|
@ -20,13 +20,10 @@ fi
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="systemd"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-apps/baselayout
|
||||
systemd? (
|
||||
sys-apps/systemd
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
|
@ -7,9 +7,6 @@ DIST genpatches-5.7-3.extras.tar.xz 1764 BLAKE2B 682601ade4f6dddcb5dbed3e501f0aa
|
||||
DIST genpatches-5.7-4.base.tar.xz 68276 BLAKE2B d3a16dfdbeb6fefcfee2544ddb4aefe568d58ad6e171abc00d933d65bbcf7a65be2ef9752f2eba7222349cd7b867ee23024da9ed03ad51a7f72c5d3d0782997b SHA512 cd38666f1ac79672b71037ae6f550954d875deaee14df99869d0fb0125b810604311884a73cdfded3c74d32eee5d62e3cf0e726ea16ff25744ade54aed8eb665
|
||||
DIST genpatches-5.7-4.experimental.tar.xz 13696 BLAKE2B 151a64f2dda74f73ccb78c7ffc52b99fc0218f4c8375d67c0525550d15d0efd9f127b195d43b05297d75fff31926df486a6d555b48a21725198815a843fcfc87 SHA512 395494d3391784ce670c6faca28e382152abad090c51d0e09768b1b090f2cbb2e67a5bdbe10a593b1470bc9df727adf03e992af586d897bc0ae128715e5a1d96
|
||||
DIST genpatches-5.7-4.extras.tar.xz 1764 BLAKE2B cb3b1a55e9dee36feaceb5049d4e5256ecb6448bbb9ff415482291ddd4e8e7db0d27136f0228c9e9290ff6f5e790f2f4575d32f4069560825a1281abfb1ce5d5 SHA512 2fe78aa1eb4e732d2855d2241b05e45abbbe944c555f2c215137cb68176768b8d71948a88d27cba2d5e142692781b9326fe824c71ef5af11963e7c9d8f57efb2
|
||||
DIST genpatches-5.7-5.base.tar.xz 68572 BLAKE2B a5f975ae2fd61e1e732da8ccb364b969930563752f78fe0e0632edeb486312ca7d9a09fc1e57b99bada394e90cb3a3b76eb41ef8218f93ea0a4dc4f1f23ce012 SHA512 ef5c254b03edf280f3e38ff49d17a856b1d3898bafb8018d1874c1fca3ead90edc88799bbba1cadca34b2a0b2a55b7e7905910ae941e665f783fc3e355274fc0
|
||||
DIST genpatches-5.7-5.experimental.tar.xz 13708 BLAKE2B c511849c9f1c8e874b354624c99164af2322d9b3429cae5719224f0f60717a08235252abd6eeff672d07a3154bd63517a50478dec734109f9de69b2cd85c5139 SHA512 31b425772e0faaa7ba26bf1a423bd953e6c1a151874e6d0d89ac1983f45069ea95e0b230778b7f41811f87d2688509c8f3c622e51a4650008dc914dd6cfd54de
|
||||
DIST genpatches-5.7-5.extras.tar.xz 1764 BLAKE2B 381917b2f8844995edf7c86b9420457ea2d8d8904fc5af94c6ce26990943bd7a61467e3386ccedff42cb4d6c51a2b477ebb89a763edba964995a61ba46f5f4f5 SHA512 8e716f61f988951f2b80e1e667752228067606275392a6084a564e9e4e051d86823458084cf7a3c17a0e56ae58253aeb01065e2329d480995d15b646eb5be761
|
||||
DIST genpatches-5.7-6.base.tar.xz 182364 BLAKE2B facff9299c5913596be8bba1dcab4b06e2ae697d66df645ac7c0e8aecfbea7788b4c4574cee69d4db3cf9c8f97c18be4af17f42ef4ec1fc7380b4936ab63cfa9 SHA512 68d3e2e70ac6838ad98b179e9b0694ce96ec0fefec98b497ed0fc689958d413f502915101ee9f38fff1fb5fb6b57d9e79d12870e280bcd84836cf30cd682a654
|
||||
DIST genpatches-5.7-6.experimental.tar.xz 13692 BLAKE2B e49fca2f4419aa0923f33ba38daab49faf105ef03849bfc59dc9efecc980aaf3ccb0e34a7755149b1e4841b884494b146659df49f44f5e2913973d4ada9d5e63 SHA512 f83f8485d4e3f2c0bc5faf6c59db6745e287db7f3eeb4d1db7a8c92b7492d9d1678069c67e89fec2ac63f831a8419855caf70f9e71efb7ebfa7c0e1461e37ab3
|
||||
DIST genpatches-5.7-6.extras.tar.xz 1764 BLAKE2B db13c787489b7b21d9848cbd0079683bc5a93a9ff4df09901bb00cf275183f0a367999fd9416ec97d36cbad6351b119bf6fb347f2fb645d4e515f3e6548e9f96 SHA512 acc190f9c6efe34f5b29a86d787ec047bf8df1d8b7c726fb79279f77b2cdb7a0bc777f353c9ecadec7414797f15562c36734a69e6bb2d4a5f05acddb659c4d12
|
||||
|
Loading…
Reference in New Issue
Block a user