initial commit

This commit is contained in:
Quentin Snow 2022-03-20 13:10:18 -05:00
commit 294de4692a
11 changed files with 347 additions and 0 deletions

View File

@ -0,0 +1,5 @@
DIST libnbtplusplus-multimc-0.6.1.tar.gz 47171 BLAKE2B e0e4d2593554dc59605114fcae86c59877da67d3f0888145b9ec2fe3d08decec7345a92c7d37310e021b5719f1371a58a22dc796e719028a478877e6d08982ed SHA512 81a1640a069d88df7ba0abf72089aecbe1e9d791c88acaaa7e70c8f0bcd0512cf8698178342657e363524ce8488dd072368a0aa8cc091a24912d6f8b6b0f4f2d
DIST multimc-0.6.13.tar.gz 2493423 BLAKE2B 8dd64f3b07ff2faeda25bba14f1b19fd0854534e50d589325c19386c96ac3e4b04af8b2262fbf9796e67a869a8d98bf828617dadf2e270801970bc182a6d7175 SHA512 c897f75d01c0e7f73a860166bce3b4efccb3e3f8ec8b811c7e465ac97986c67c0d1149130429fcccb4bdd9af323d01e687f3d7afb5cb7d2c0299e61c0298cad9
DIST quazip-multimc-3.tar.gz 103519 BLAKE2B 7a636f9e76cae61cee42131093b56d2a577814b2eb04bdc3c3a7614cf307bbdabe533c66a9f07848bbd929a62b7043dc53f2f85e2e487bfcc820170112f1114b SHA512 2e9074203c67bc7ad98621c551047e5367f06e54cacfecc755a5bf2c9f99266eab42ad972f86ae28ed7e1507f6d27d8d2680a87ce9fd5b1e93a18bcb627ec3f0
EBUILD multimc-0.6.13.ebuild 2237 BLAKE2B 194389ed582d29dd29d4de01fd2022f89fc0e6b4b36fd1d17a9e08fbec4ba3702c69e6efcb23f8bfd2da18e208e10096ad099631e94463edc0f3541059f8e209 SHA512 a920d30e9db0993166a107fa9d50b3dbae85616d83f52abca9af56a9d2464b746c57c8c7f5319f95426ab75f0e10729e2f80bfe5caf9b9fa804b6d2a87c6f674
MISC metadata.xml 1352 BLAKE2B 189531e3ff153ed11bdeaac27d3c5756fc9df8ff97e8cfa2d9e85609072978170e32ab289892dceb3ac8ac8a74c305c32a61ac2c5986f916adaad64810aeb1e1 SHA512 ce09871fec8aa42ed63d8389c76a910e2b2ee9794a7129fa46227510609f03b5ee6a3f75c6392ec6b62e070213a305aab201feeeb94671ca8faa13c5be49b1ba

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">MultiMC/Launcher</remote-id>
<bugs-to>https://github.com/MultiMC/Launcher/issues</bugs-to>
</upstream>
<maintainer type="person">
<email>andrewammerlaan@gentoo.org</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<longdescription>
MultiMC is a custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once. It also allows you to easily install and remove mods by simply dragging and dropping. Here are the current features of MultiMC:
- Manage multiple instances of Minecraft at once
- Start Minecraft with a custom resolution
- Change Java's runtime options (including memory options)
- Shows Minecraft's console output in a colour-coded window
- Kill Minecraft easily if it crashes/freezes
- Custom icons and groups for instances
- Forge, Fabric and LiteLoader integration (automatic installation, version downloads, mod management)
- Import of Curse modpacks
- LWJGL version changing built-in
- Supports every version of Minecraft that the vanilla launcher does
- Upload screenshots
- Import, export Instances allowing you to share with friends and/or make backups
</longdescription>
</pkgmetadata>

View File

@ -0,0 +1,84 @@
# Copyright 2019-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop java-pkg-2 xdg cmake
QUAZIP_VER="multimc-3"
LIBNBTPLUSPLUS_VER="multimc-0.6.1"
DESCRIPTION="An advanced Qt5-based open-source launcher for Minecraft"
HOMEPAGE="https://multimc.org
https://github.com/MultiMC/Launcher"
BASE_URI="https://github.com/MultiMC"
SRC_URI="
${BASE_URI}/Launcher/archive/${PV}.tar.gz -> ${P}.tar.gz
${BASE_URI}/libnbtplusplus/archive/${LIBNBTPLUSPLUS_VER}.tar.gz -> libnbtplusplus-${LIBNBTPLUSPLUS_VER}.tar.gz
${BASE_URI}/quazip/archive/${QUAZIP_VER}.tar.gz -> quazip-${QUAZIP_VER}.tar.gz
"
S="${WORKDIR}/MultiMC5-${PV}"
KEYWORDS="~amd64"
LICENSE="Apache-2.0 Boost-1.0 BSD-2 BSD GPL-2+ LGPL-2.1-with-linking-exception LGPL-3 OFL-1.1 MIT"
SLOT="0"
# Author has indicated that he is unhappy with redistributing custom builds
# under the MultiMC name/logo
# https://github.com/MultiMC/Launcher/issues/4087
RESTRICT="bindist"
COMMON_DEPEND="
dev-qt/qtcore:5
dev-qt/qtwidgets:5
dev-qt/qtconcurrent:5
dev-qt/qtnetwork:5
dev-qt/qtgui:5
dev-qt/qttest:5
dev-qt/qtxml:5
"
DEPEND="${COMMON_DEPEND}
virtual/jdk:1.8
"
RDEPEND="${COMMON_DEPEND}
sys-libs/zlib
>=virtual/jre-1.8:*
virtual/opengl
x11-libs/libXrandr
"
src_unpack() {
default
rm -r "${S}/libraries/libnbtplusplus" "${S}/libraries/quazip" || die
mv "${WORKDIR}/libnbtplusplus-${LIBNBTPLUSPLUS_VER}" "${S}/libraries/libnbtplusplus" || die
mv "${WORKDIR}/quazip-${QUAZIP_VER}" "${S}/libraries/quazip" || die
}
src_prepare() {
cmake_src_prepare
sed -r -i 's/-Werror([a-z=-]+)?//g' CMakeLists.txt || die
}
src_configure() {
local mycmakeargs=(
-DMultiMC_LAYOUT=lin-system
)
cmake_src_configure
}
src_install() {
cmake_src_install
domenu launcher/package/linux/multimc.desktop
doicon -s scalable launcher/resources/multimc/scalable/multimc.svg
}
pkg_postinst() {
xdg_pkg_postinst
elog ""
elog "In order to use Microsoft accounts instead of Mojang accounts"
elog "either use the official binary packaged in games-action/multimc-bin,"
elog "or patch your own secret API key into the MSAClientID variable in"
elog "notsecrets/Secrets.cpp."
elog "See Also: https://bugs.gentoo.org/814404"
elog ""
}

22
libdev/libthai Normal file
View File

@ -0,0 +1,22 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools
DESCRIPTION="LibThai is a set of Thai language support routines"
HOMEPAGE="https://linux.thai.net/projects/libthai"
SRC_URI="https://linux.thai.net/pub/thailinux/software/libthai/libthai-${PV}.tar.xz"
KEYWORDS="~amd64 ~x86"
LICENSE="GNU LESSER GPL"
SLOT="0"
IUSE="doxygen"
RDEPEND=""
DEPEND="${RDPEND}
doxygen? ( app-doc/doxygen )
>=dev-libs/libdatrie-0.2.12"

View File

@ -0,0 +1,3 @@
AUX lmms-1.2.2-no_compress_man.patch 1290 BLAKE2B 8d88782f2b17a1b2399e98559820e00e706d7f328eb140babde11ca239fd516b133e698c366fa34bf72c2047b64aa14108cc82a09d0869fffd5e3bea8c1936a5 SHA512 4a414e513a3257b5eb3f472ca321504e7037c314e3d218b612b9aa9391dd0d1b038b77467f112a069479abec1b1ab3372126e27db34ec22c2a89b902a66878bd
DIST lmms-1.2.2.tar.xz 22733960 BLAKE2B 8b561068194e9a4af8260675e784c25a92b6b2f731c29b677cbc16581306bbadcf27ea529adbcd735ff4adffedf3dd98ec7b2d89428a63ea600d022ecdae58e4 SHA512 df74d9e938f1c3807e9941b11db4ccfe9450e23b723c82774de15b7666ac39f1bfdd8519231e28849f994628190ecc92fa05d55bbc0b50a4421f2d183e729028
EBUILD lmms-1.2.2.ebuild 2490 BLAKE2B 861ba60936fced8170e1b4cf8ee17770487db4735a4c5bc1448bfb465fb16876db06d2985750b5bd2f7900ba6299f5e37e69dbbcaf17597dfbb00774670c4c75 SHA512 214fe582fe5346cd9ba2970e102bcb38d5b7cc7be81672e700c7a2a90280775a99e8b600e7918087f8d9f12a3324621a566686cdd7b97d45b45272aecf4c4ea1

View File

@ -0,0 +1,37 @@
--- lmms/CMakeLists.txt
+++ lmms/CMakeLists.txt
@@ -575,15 +575,6 @@
# post-install tasks
ADD_SUBDIRECTORY(cmake/postinstall)
-ADD_CUSTOM_COMMAND(OUTPUT "${CMAKE_BINARY_DIR}/lmms.1.gz"
- COMMAND gzip -c ${CMAKE_SOURCE_DIR}/doc/lmms.1 > ${CMAKE_BINARY_DIR}/lmms.1.gz
- DEPENDS "${CMAKE_SOURCE_DIR}/doc/lmms.1"
- COMMENT "Generating lmms.1.gz"
- VERBATIM)
-
-
-ADD_CUSTOM_TARGET(manpage ALL
- DEPENDS "${CMAKE_BINARY_DIR}/lmms.1.gz")
# install headers
--- lmms/src/CMakeLists.txt
+++ lmms/src/CMakeLists.txt
@@ -113,7 +113,7 @@
)
ENDIF()
-SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${LMMS_ER_H} ${LMMS_UI_OUT} lmmsconfig.h lmms.1.gz")
+SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${LMMS_ER_H} ${LMMS_UI_OUT} lmmsconfig.h lmms.1")
IF(LMMS_BUILD_WIN32)
SET(EXTRA_LIBRARIES "-lwinmm")
@@ -258,6 +258,6 @@
ENDIF(NOT LMMS_BUILD_APPLE)
INSTALL(TARGETS lmms RUNTIME DESTINATION "${BIN_DIR}")
- INSTALL(FILES "${CMAKE_BINARY_DIR}/lmms.1.gz" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1/" PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
+ INSTALL(FILES "${CMAKE_SOURCE_DIR}/doc/lmms.1" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1/" PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
ENDIF(LMMS_BUILD_WIN32)

View File

@ -0,0 +1,112 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
# The order is important here! Both, cmake and xdg define src_prepare.
# We need the one from cmake
inherit xdg cmake
DESCRIPTION="Cross-platform music production software"
HOMEPAGE="https://lmms.io"
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/LMMS/lmms.git"
inherit git-r3
else
SRC_URI="https://github.com/LMMS/lmms/releases/download/v${PV/_/-}/${PN}_${PV/_/-}.tar.xz -> ${P}.tar.xz"
KEYWORDS="amd64 x86"
S="${WORKDIR}/${P/_/-}"
fi
LICENSE="GPL-2 LGPL-2"
SLOT="0"
IUSE="alsa debug fluidsynth jack libgig mp3 ogg portaudio pulseaudio sdl soundio stk vst calf caps cmt swh tap"
COMMON_DEPEND="
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
dev-qt/qtxml:5
>=media-libs/libsamplerate-0.1.8
>=media-libs/libsndfile-1.0.11
sci-libs/fftw:3.0
sys-libs/zlib
>=x11-libs/fltk-1.3.0_rc3:1
alsa? ( media-libs/alsa-lib )
fluidsynth? ( media-sound/fluidsynth )
jack? ( virtual/jack )
libgig? ( media-libs/libgig )
mp3? ( media-sound/lame )
ogg? (
media-libs/libogg
media-libs/libvorbis
)
portaudio? ( >=media-libs/portaudio-19_pre )
pulseaudio? ( media-sound/pulseaudio )
sdl? (
media-libs/libsdl
>=media-libs/sdl-sound-1.0.1
)
soundio? ( media-libs/libsoundio )
stk? ( media-libs/stk )
vst? ( virtual/wine )
"
DEPEND="${COMMON_DEPEND}
dev-qt/qtx11extras:5
"
BDEPEND="
dev-qt/linguist-tools:5
"
RDEPEND="${COMMON_DEPEND}
calf? ( media-plugins/calf )
caps? ( media-plugins/caps-plugins )
cmt? ( media-plugins/cmt-plugins )
swh? ( media-plugins/swh-plugins )
tap? ( media-plugins/tap-plugins )
"
DOCS=( README.md doc/AUTHORS )
S="${WORKDIR}/${PN}"
PATCHES=(
"${FILESDIR}/${PN}-1.2.2-no_compress_man.patch" #733284
)
src_configure() {
local mycmakeargs+=(
-DUSE_WERROR=FALSE
-DWANT_CAPS=$(usex caps)
-DWANT_TAP=$(usex tap)
-DWANT_SWH=$(usex swh)
-DWANT_CMT=$(usex cmt)
-DWANT_CALF=$(usex calf)
-DWANT_QT5=TRUE
-DWANT_ALSA=$(usex alsa)
-DWANT_JACK=$(usex jack)
-DWANT_GIG=$(usex libgig)
-DWANT_MP3LAME=$(usex mp3)
-DWANT_OGGVORBIS=$(usex ogg)
-DWANT_PORTAUDIO=$(usex portaudio)
-DWANT_PULSEAUDIO=$(usex pulseaudio)
-DWANT_SDL=$(usex sdl)
-DWANT_SOUNDIO=$(usex soundio)
-DWANT_STK=$(usex stk)
-DWANT_VST=$(usex vst)
-DWANT_SF2=$(usex fluidsynth)
)
cmake_src_configure
}
pkg_preinst() {
xdg_pkg_preinst
}
pkg_postinst() {
xdg_pkg_postinst
}
pkg_postrm() {
xdg_pkg_postrm
}

3
metadata/layout.conf Normal file
View File

@ -0,0 +1,3 @@
masters = gentoo
auto-sync = false

View File

@ -0,0 +1,2 @@
DIST postman-bin-9.6.1-amd64.tar.gz 156101738 BLAKE2B 30fa8108b9fe83aa58f72a9daba036d8244df579493ffc7b920989c4ed8bd519f86fea81fbb6dc9ca200528d6b67fbd9bc9f9bcd0844a47cf450e18be96805a7 SHA512 d978dc8cf9f6b35ec8a1bb13016323b8ba1d23a4fbb1f54012087061cd626eeca26bbc23357efee02eeae663e5fcafa47453285ed17eb05e517e8ef09ee39ff9
EBUILD postman-bin-9.6.1.ebuild 1092 BLAKE2B 9c8b845dc5e86c0ea921e3afbfe4e5a71b583bcc75f31b35e353f701654c8534429ec0e18e38966403ea2c1b3bc53e844281bcaa77ad0808bda453433082bb04 SHA512 9557fba7265b7ec55d7700d0bb67265c11510624bbe18fa67efdf338c484a57a648b5760ae12ae1ea0a9244040fa56c8b509607bb1124f88e87ba05469518ce7

View File

@ -0,0 +1,50 @@
# Copyright 2020 Gianni Bombelli <bombo82@giannibombelli.it>
# Distributed under the terms of the GNU General Public License as published by the Free Software Foundation;
# either version 2 of the License, or (at your option) any later version.
EAPI=7
inherit desktop eutils pax-utils xdg
MY_PN="${PN/-bin/}"
DESCRIPTION="Supercharge your API workflow"
HOMEPAGE="https://www.getpostman.com"
SRC_URI="
amd64? ( https://dl.pstmn.io/download/version/${PV}/linux64 -> ${P}-amd64.tar.gz )
"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="pax_kernel"
RESTRICT="bindist mirror strip"
DEPEND=""
RDEPEND="
x11-libs/gtk+
"
QA_FLAGS_IGNORED="CFLAGS LDFLAGS"
S="${WORKDIR}/${MY_PN^}/app"
src_prepare() {
mv _Postman Postman
default
}
src_install() {
local dir="/opt/${PN}"
insinto "${dir}"
doins -r *
fperms 755 "${dir}"/Postman
fperms 755 "${dir}"/postman
make_wrapper "${PN}" "${dir}/Postman"
newicon "resources/app/assets/icon.png" "${PN}.png"
make_desktop_entry "${PN}" "Postman" "${PN}" "Development;IDE;"
use pax_kernel && pax-mark m "${ED}/opt/${MY_PN}/${MY_PN^}"
}

1
profiles/repo_name Normal file
View File

@ -0,0 +1 @@
localrepo