1
0

media-sound/csoundqt: Bump to 1.1.0

It has been over a year since I made this package and I am still too
lazy to add USE flags. ^_^

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey@2a03.party>
This commit is contained in:
Ryan Fox 2022-01-23 19:45:54 -08:00
parent e7ebbaf4ec
commit 22ef261763
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
3 changed files with 65 additions and 26 deletions

View File

@ -1,4 +1,6 @@
DIST csoundqt-0.9.8.1.tar.gz 67232690 BLAKE2B 633a2ee9961608154381f14172ebd7dec906419e4eea3c983f5870b355d3a1f41d262834ad234e2564c6b92ab939fe22d74a92056d6ad995aae73712ac27b0a2 SHA512 e27590f7cc5802dce55f6b3f0f1b477a68a164c65636967d5a87c71d73b389c31db755c4029496c9ab61f40b1c03333afd34c56fa2026a4cae9a3de001d26023 DIST csoundqt-0.9.8.1.tar.gz 67232690 BLAKE2B 633a2ee9961608154381f14172ebd7dec906419e4eea3c983f5870b355d3a1f41d262834ad234e2564c6b92ab939fe22d74a92056d6ad995aae73712ac27b0a2 SHA512 e27590f7cc5802dce55f6b3f0f1b477a68a164c65636967d5a87c71d73b389c31db755c4029496c9ab61f40b1c03333afd34c56fa2026a4cae9a3de001d26023
DIST csoundqt-1.1.0.tar.gz 67356042 BLAKE2B 8db5051c3117240c041247f567183d55a0c78c82f9d5f3f0d08c991c484fe4e8273109ce697a426e7a82e797bd293659f61a17ecf7719e59b38dfbefadf89e99 SHA512 c4af0ed9bdd584e7d529d0e0c540920c39bf4f4053db0ec11edb17b7ec99f2b21d2f994563d5a37343687c5f88dcccb37b61e34ad022c1bacf9f35f59c207468
EBUILD csoundqt-0.9.8.1.ebuild 1328 BLAKE2B 272922276bf49d3b992793c11604cdc0f2cd4f598ebc212ba9da039634edfacf9d6425174fc72bba5ef1352eea16e7e2b258e5a528ba09019a825696496889a9 SHA512 c6486d13df822c3b9e951b8f0875e9e05a8211d9197ad1269a41d05337092eecfc56a1afa92aecc78723f75c298cf4260577c7a92ebee935b4e56282bf2462d9 EBUILD csoundqt-0.9.8.1.ebuild 1328 BLAKE2B 272922276bf49d3b992793c11604cdc0f2cd4f598ebc212ba9da039634edfacf9d6425174fc72bba5ef1352eea16e7e2b258e5a528ba09019a825696496889a9 SHA512 c6486d13df822c3b9e951b8f0875e9e05a8211d9197ad1269a41d05337092eecfc56a1afa92aecc78723f75c298cf4260577c7a92ebee935b4e56282bf2462d9
EBUILD csoundqt-9999.ebuild 1328 BLAKE2B 272922276bf49d3b992793c11604cdc0f2cd4f598ebc212ba9da039634edfacf9d6425174fc72bba5ef1352eea16e7e2b258e5a528ba09019a825696496889a9 SHA512 c6486d13df822c3b9e951b8f0875e9e05a8211d9197ad1269a41d05337092eecfc56a1afa92aecc78723f75c298cf4260577c7a92ebee935b4e56282bf2462d9 EBUILD csoundqt-1.1.0.ebuild 1092 BLAKE2B f7b51d2e2ed59203315f96eadaff1040792a6039e2e6d5d822c724d8d803f8c83842cc6f2e9e923e1946d671268574a6c5c550a1ef2a701d51975db6d175c9e5 SHA512 f97a8c92e2635dea07170ddb603d165531d0fdd8ffab35b0c115a33f5d92a18c1b53b11ac9ab030030af7c985e9a07a8757a4795e946a57adce5c1589f12435f
EBUILD csoundqt-9999.ebuild 1092 BLAKE2B f7b51d2e2ed59203315f96eadaff1040792a6039e2e6d5d822c724d8d803f8c83842cc6f2e9e923e1946d671268574a6c5c550a1ef2a701d51975db6d175c9e5 SHA512 f97a8c92e2635dea07170ddb603d165531d0fdd8ffab35b0c115a33f5d92a18c1b53b11ac9ab030030af7c985e9a07a8757a4795e946a57adce5c1589f12435f
MISC metadata.xml 236 BLAKE2B fdb34c66e3059efc0efb2328ffedb24c495be95dfeb68b7adcdf5ab1a88eee6788294d07ec032238de7d9127cffd50a1598b42aa8f99d3d11f54a761c79a9482 SHA512 43add4c2db3d06110521dea982cfcbddc98d63bb1e1b89952511654d54f09746e0d76ac1e0f0e70d2832357f44fe11fc4653500b856c7b29d05a55bb70535e80 MISC metadata.xml 236 BLAKE2B fdb34c66e3059efc0efb2328ffedb24c495be95dfeb68b7adcdf5ab1a88eee6788294d07ec032238de7d9127cffd50a1598b42aa8f99d3d11f54a761c79a9482 SHA512 43add4c2db3d06110521dea982cfcbddc98d63bb1e1b89952511654d54f09746e0d76ac1e0f0e70d2832357f44fe11fc4653500b856c7b29d05a55bb70535e80

View File

@ -0,0 +1,50 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# TODO: Add USE flags for pythonqt & rtmidi
EAPI=8
inherit qmake-utils xdg
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/CsoundQt/CsoundQt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
MY_PN="CsoundQt"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
else
inherit git-r3
EGIT_REPO_URI="https://github.com/CsoundQt/CsoundQt.git"
fi
DESCRIPTION="The default frontend for Csound"
HOMEPAGE="https://csoundqt.github.io/"
LICENSE="LGPL-2.1"
SLOT="0"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtwidgets:5
media-libs/libsndfile
media-sound/csound
"
RDEPEND="${DEPEND}"
BDEPEND=""
src_prepare() {
default
sed -i "s/build64:LCSOUND = -lcsound64/build64:LCSOUND = -lcsound/" qcs-unix.pro
}
src_configure() {
default
eqmake5 qcs.pro CSOUND_API_INCLUDE_DIR=/usr/include/csound \
CSOUND_LIBRARY_DIR="/usr/$(get_libdir)" \
CSOUND_LIB=libcsound.so LCSOUND=-lcsound \
INSTALL_DIR="/usr" SHARE_DIR="/usr/share"
}
src_install() {
emake install INSTALL_ROOT="${D}"
}

View File

@ -1,15 +1,18 @@
# Copyright 2020 Gentoo Authors # Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# TODO: PythonQt, RtMidi, fix dependencies # TODO: Add USE flags for pythonqt & rtmidi
EAPI=7 EAPI=8
inherit qmake-utils desktop xdg-utils inherit qmake-utils xdg
if [[ ${PV} != *9999* ]]; then if [[ ${PV} != *9999* ]]; then
SRC_URI="https://github.com/CsoundQt/CsoundQt/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI="https://github.com/CsoundQt/CsoundQt/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64" KEYWORDS="~amd64"
MY_PN="CsoundQt"
MY_P="${MY_PN}-${PV}"
S="${WORKDIR}/${MY_P}"
else else
inherit git-r3 inherit git-r3
EGIT_REPO_URI="https://github.com/CsoundQt/CsoundQt.git" EGIT_REPO_URI="https://github.com/CsoundQt/CsoundQt.git"
@ -29,15 +32,6 @@ DEPEND="
RDEPEND="${DEPEND}" RDEPEND="${DEPEND}"
BDEPEND="" BDEPEND=""
src_unpack() {
if [[ ${PV} != *9999* ]]; then
default
mv "${WORKDIR}/CsoundQt-${PV}" "${WORKDIR}/${P}"
else
git-r3_src_unpack
fi
}
src_prepare() { src_prepare() {
default default
sed -i "s/build64:LCSOUND = -lcsound64/build64:LCSOUND = -lcsound/" qcs-unix.pro sed -i "s/build64:LCSOUND = -lcsound64/build64:LCSOUND = -lcsound/" qcs-unix.pro
@ -46,18 +40,11 @@ src_prepare() {
src_configure() { src_configure() {
default default
eqmake5 qcs.pro CSOUND_API_INCLUDE_DIR=/usr/include/csound \ eqmake5 qcs.pro CSOUND_API_INCLUDE_DIR=/usr/include/csound \
CSOUND_LIBRARY_DIR="/usr/$(get_libdir)" CSOUND_LIB=libcsound.so \ CSOUND_LIBRARY_DIR="/usr/$(get_libdir)" \
LCSOUND=-lcsound INSTALL_DIR="${D}/usr" SHARE_DIR="${D}/usr/share" CSOUND_LIB=libcsound.so LCSOUND=-lcsound \
INSTALL_DIR="/usr" SHARE_DIR="/usr/share"
} }
pkg_postinst() { src_install() {
xdg_mimeinfo_database_update emake install INSTALL_ROOT="${D}"
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_mimeinfo_database_update
xdg_desktop_database_update
xdg_icon_cache_update
} }