Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-04-13 18:05:04 +00:00
29 changed files with 362 additions and 127 deletions

View File

@@ -10,7 +10,7 @@ HOMEPAGE="https://gitlab.com/fcitx/fcitx-skk"
SRC_URI="https://gitlab.com/fcitx/fcitx-skk/-/archive/${PV}/${P}.tar.bz2"
LICENSE="GPL-3"
SLOT="4"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="qt5"

View File

@@ -20,7 +20,12 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=dev-python/mkdocs-material-5.0.0[${PYTHON_USEDEP}]"
# mkdocs-material depends on this package creating a circular dep
PDEPEND=">=dev-python/mkdocs-material-5.0.0[${PYTHON_USEDEP}]"
# we still need mkdocs-material for test, but the circular dep can be avoided
# by first emerging with FEATURES="-test"
DEPEND="test? ( ${PDEPEND} )"
S="${WORKDIR}/${PN}-${MYPV}"

View File

@@ -15,7 +15,7 @@ if [[ ${PV} == 9999 ]]; then
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"

View File

@@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]]; then
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/releases/download/${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"

View File

@@ -1 +0,0 @@
DIST gtk-layer-shell-0.1.0.tar.gz 41457 BLAKE2B a8bd5c85f901d79d66ac1094f8392485a2a6581682e08a252dd97ac7dcf376e72425126d2a234c21b5b2a509068f41116a0161a41f0733dbbf03e745f5469c51 SHA512 813ae86939d4bb300e78197a09fe7e4ccda9e2e6c008b72fa45d0a5be311ade1762af31835d3e7fea00f49a438f7ad37d3e57c84e0a2ebbbf58e807048c072da

View File

@@ -1,48 +0,0 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A library to create panels and other desktop components for Wayland"
HOMEPAGE="https://github.com/wmww/gtk-layer-shell"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/wmww/gtk-layer-shell.git"
KEYWORDS=""
else
SRC_URI="https://github.com/wmww/gtk-layer-shell/archive/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="docs examples"
DEPEND="
>=x11-libs/gtk+-3.24.11:3[introspection,wayland]
>=dev-libs/wayland-1.10.0
dev-libs/gobject-introspection
docs? ( dev-util/gtk-doc
>=x11-libs/gtk+-3.24.11:3[gtk-doc] )
"
RDEPEND="
>=x11-libs/gtk+-3.24.11:3[introspection,wayland]
>=dev-libs/wayland-1.10.0
dev-libs/gobject-introspection
"
BDEPEND="
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
-Ddocs=$(usex docs true false)
-Dexamples=$(usex examples true false)
)
meson_src_configure
}

View File

@@ -1,48 +0,0 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson
DESCRIPTION="A library to create panels and other desktop components for Wayland"
HOMEPAGE="https://github.com/wmww/gtk-layer-shell"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/wmww/gtk-layer-shell.git"
KEYWORDS=""
else
SRC_URI="https://github.com/wmww/gtk-layer-shell/archive/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="MIT"
SLOT="0"
IUSE="docs examples"
DEPEND="
>=x11-libs/gtk+-3.24.11:3[introspection,wayland]
>=dev-libs/wayland-1.10.0
dev-libs/gobject-introspection
docs? ( dev-util/gtk-doc
>=x11-libs/gtk+-3.24.11:3[gtk-doc] )
"
RDEPEND="
>=x11-libs/gtk+-3.24.11:3[introspection,wayland]
>=dev-libs/wayland-1.10.0
dev-libs/gobject-introspection
"
BDEPEND="
virtual/pkgconfig
"
src_configure() {
local emesonargs=(
-Ddocs=$(usex docs true false)
-Dexamples=$(usex examples true false)
)
meson_src_configure
}

View File

@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@aisha.cc</email>
<name>Aisha Tammy</name>
</maintainer>
<use>
<flag name='docs'>Add the internal documentation, not needed for non-developers.</flag>
<flag name='examples'>Adds examples for using, not needed for non-developers.</flag>
</use>
</pkgmetadata>

View File

@@ -14,7 +14,7 @@ if [[ ${PV} == 9999 ]]; then
KEYWORDS=""
else
SRC_URI="https://github.com/WayfireWM/${PN}/releases/download/${PV}/${P}.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="MIT"

View File

@@ -0,0 +1,51 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit qmake-utils
DESCRIPTION="6PM is a polyphonic, touch-sensitive, realtime phase modulation synthesizer"
HOMEPAGE="https://sourceforge.net/projects/mv-6pm/"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+presets +midimaps +nls doc"
MY_P="6PM_v${PV}"
SRC_URI="mirror://sourceforge/project/mv-6pm/${MY_P}.tgz -> ${P}.tgz"
LICENSE="GPL-3"
DEPEND="dev-qt/qtcore:5
virtual/opengl
virtual/jack
media-libs/alsa-lib"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}/src/"
ADIR="${WORKDIR}/${MY_P}"
src_configure(){
eqmake5
default
}
src_install(){
default
dobin "${S}/6pm"
if use midimaps; then
insinto /usr/share/6pm/MidiMaps
doins ${ADIR}/MidiMaps/*
fi
if use presets; then
dodir /usr/share/6pm/
cp -R "${ADIR}/Presets/" "${D}/usr/share/6pm/" || die "Can't install presets"
elog "You also may download additional patches from http://linuxsynths.com/6PMPatchesDemos/6pm.html"
fi
if use doc; then
insinto /usr/share/6pm/Doc
doins "${ADIR}"/Doc/*
fi
if use nls; then
insinto /usr/share/6pm/Translations
doins "${ADIR}"/Translations/*
fi
}

1
media-sound/6pm/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST 6pm-0.9.tgz 2172934 BLAKE2B bd48aef5b0884d8f13d8a09d639d12052c2ca2dcf933ae72f955e8243319afae1bac1a6861a9fb5c8bbc13fbceb3c5cd92b97a852c5405101409f89c10ac4deb SHA512 1866bc87a1fff8e1bbfbf783665c38e8f64faaa3c722560fad6fb51512e9ab78d42b9e2ce6755b26f87a82f7543261d8946d9178f6ce4a97e4b33a6d49999a77

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>denis7774@gmail.com</email>
<name>Denis Reva</name>
<description>RarogCmex</description>
</maintainer>
<longdescription>
6PM, created and maintained by Michel Vergnaud, is a polyphonic, touch-sensitive, realtime, phase-modulation (PM) software sound synthesizer. The screenshot above is of the default version included in the repositories of Librazik-2, an excellent French linux distribution designed for high-quality audio production.
All of the parameters for 6PM are located in the main GUI. The algorithm layout (indicated in the window on the left side of the window) is similar to that of the classic Yamaha DX7: the modulator(s) are on the upper row, and the carrier(s) are on the lower row. When an oscillator functions as a carrier, it will have a green pan ribbon in its corresponding envelope area on the right. Algorithms can be preset or user-made.
6PM has six oscillators (operators) that can be used as either "modulators" or "carriers." Each oscillator includes its own amplitude and frequency envelopes (frequency envelope activates with the green button below the envelope window), with multiple envelope stages available for each. Sustain points and start attack levels can be selected. Looping within the envelopes is also possible. Frequency detuning is plus-minus 24 octaves, and can be set as absolute or relative to pitch. There are LFO buttons for both amplitude and frequency modulation, with dedicated pop-up windows. LFO waveforms include sine, square, ramp-up and ramp-down. Oscillator detuning (coarse and fine) as well as random detuning, are also available for each operator. Finally, there is a filter section at the bottom, which includes lowpass, highpass, bandpass and notch filter options, adjustable cutoff and resonance settings, and a dedicated filter envelope pop-up window. Unlike many softsynths, 6PM's control knobs modify the audio signal in realtime, without the need for new note-ons.
A midi map section is included for midi assignments. Presets are organized into categories. Note that once you have made a preset and saved it with a new name, the original preset will still carry the same sound until you click "reload," which will return it to the original settings.
6PM has a main volume slider, a global tuning dial, and note test and panic buttons, located in the lower lefthand corner. Pitchbend amount and number of polyphony are global settings that are accessed by clicking the "Midi" dropdown menu at the top of the GUI. 6PM can also be used in a terminal (good for slower machines). English and French language packets are available.
</longdescription>
<use>
<flag name="midimaps">Install midi maps for that synth. Recommended</flag>
<flag name="presets">Install presets. Recommended</flag>
<flag name="nls">Add support for localization</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST Add64-3.8.0.tar.bz2 76729 BLAKE2B ddc13205617d78a9a79748cbb1a600efee87ed336e606e40fd079f5b413799ab25a252357f1578db1913f7dba1d205c255ac38dbb358df49086da33b8882da78 SHA512 4d7c1761f781ee70731944366170f8de04ce83c5ff396c412226d7a008a51b43abf4a33ba33b7720a67f714bb0b6c78d4b4faed15d721297066c9d997543dd33

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit qmake-utils
DESCRIPTION="Add64 is a realtime additive/subtractive-synthesis softsynth"
HOMEPAGE="https://sourceforge.net/projects/add64 http://linuxsynths.com/Add64PatchesDemos/add64.html"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="+presets"
LICENSE="GPL-3"
SRC_URI="mirror://sourceforge/project/add64/Add64-${PV}.tar.bz2"
RDEPEND="dev-qt/qtcore:5
virtual/opengl
virtual/jack
media-libs/alsa-lib"
DEPEND="${RDEPEND}"
S="${WORKDIR}/Add64-${PV}/"
src_configure(){
eqmake5
default
}
src_install(){
dobin "${S}/Add64"
insinto /usr/share/add64/
doins "${S}/Add64-MIDIconfig" || die "can't install MIDIconfig"
if use presets; then
insinto /usr/share/add64/Add64Presets
doins "${S}"/Add64Presets/* || die "can't install presets"
fi
elog "You may also download additional patches from http://linuxsynths.com/Add64PatchesDemos/add64.html"
}

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>denis7774@gmail.com</email>
<name>Denis Reva</name>
<description>RarogCmex</description>
</maintainer>
<longdescription>Add64 implements Additive Synthesis for creating new sounds that are not accessible to
any other synthesis method. Due to its large number of parameters, Additive Synthesis
has never really reached much popularity. Add64 is therefore designed to provide fast
real-time access to all parameters. A set of two 24-stage filters has been added to map
complex spectral alterations onto a set of only a few parameters. Emphasis has also been
put on modulations, both in the filter as well as the spectral design sections
</longdescription>
<use>
<flag name="presets">Install presets. Recommended</flag>
</use>
</pkgmetadata>

View File

@@ -0,0 +1 @@
DIST zita-ajbridge-0.8.2.tar.bz2 24451 BLAKE2B 0311fe95f5ee0ed2cd2fe92b2f43d9cf649bc95669a24564310da2c4a87a518991c749142ea889de9d9f773d0ced8d2f6de26a92c004c4d8b9072e3da2fd93b7 SHA512 4813033ce6e16a7be013e82b9f0630a626a7515cd1ce8bd71b5f05239e5ef4cf3aecf522539557e159228d04459cb6ce112830619369c62e1e76bf95b84fbe71

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>denis7774@gmail.com</email>
<name>Denis Reva</name>
<description>RarogCmex</description>
</maintainer>
<longdescription>Zita-ajbridge provides two applications, zita-a2j and zita-j2a. They allow to use an ALSA device as a Jack client, to provide additional capture (a2j) or playback (j2a) channels. Functionally these are equivalent to the alsa_in and alsa_out clients that come with Jack, but they provide much better audio quality. The resampling ratio will typically be stable within 1 PPM and change only very smoothly. Delay will be stable as well even under worse case conditions, e.g. the Jack client running near the end of the cycle.
The theory of operation and internals of these apps are the subject of a paper presented at LAC 2012.
The alsa device should be a 'hw:' one, i.e. direct access to a soundcard and not an ALSA 'plug' device. A well-working Jack system is assumed, running in real-time mode.
The sample rate can be the same as Jack's one, or different. Minimum delay is obtained by running the alsa device at a lower period size than Jack. This can be done safely as the alsa thread will run at a higher priority, and apart from copying to/from an internal buffer no work is done there. There are no restrictions on the product of period_size and number_of_periods as there are for alsa_in and alsa_out.
Both apps will optionally (-v option) print some information four times per second. The first number is the average loop error over the last quarter second, in samples. It should be reduced to small randowm values close to zero after 15 seconds or so. The second is the dynamic correction factor of the nominal resampling ratio. This should converge to a value close to one and not move much. You may observe small variations in these numbers when Jack apps are started or stopped. This is normal. Anything else isn't - please report.
The same -v option will enable detailed error reporting from the ALSA interface, or if all is OK print a summary of the ALSA device configuration.
The -L option forces the ALSA device to 2 channels and 16-bit sample format. This can be required when using the ALSA loop device if the other side (e.g. mplayer) does not support more channels or a floating point sample format. This will fail on real hw: devices as these can be opened in mmap mode only with their real number of channels.
When starting, and in case of major trouble, you will see the 'Starting synchronisation' message. This can happen if there is a timeout on the Jack server, e.g. a client crashed or terminated in a dirty way. Jack1 will skip one or more cycles when new apps are started, or when a large number of port connections is done in a short time. This may interrupt the audio signal, but should otherwise not have any ill consequences nor require a restart.
Both apps will suspend operation while Jack is in 'freewheeling' mode. When using Jack1, returning from freewheeling to normal mode may generate large timing errors, the result of Jack's DLL not being re-initialised properly. Both apps will wait for 15 seconds before restarting if that happens. Patches to Jack1 have been submitted, so this problem should go away in the future.
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,43 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="zita-a2j and zita-j2a - bridges between ALSA and JACK"
HOMEPAGE="https://kokkinizita.linuxaudio.org/linuxaudio/zita-ajbridge-doc/quickguide.html"
SOURCE_URI="https://kokkinizita.linuxaudio.org/linuxaudio/downloads"
SRC_URI="${SOURCE_URI}/${PN}-${PV}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="media-libs/alsa-lib
>=media-libs/zita-alsa-pcmi-0.3.0
>=media-libs/zita-resampler-1.6.0
virtual/jack"
DEPEND="${RDEPEND}"
BDEPEND="app-arch/gzip"
S="${WORKDIR}/${P}/source"
ADIR="${WORKDIR}/${P}/"
DOCS=( ${ADIR}/AUTHORS ${ADIR}/COPYING ${ADIR}/README )
src_prepare() {
default
sed -i -e "/ldconfig/d" "${S}"/Makefile || die
}
src_install() {
dodir /usr/bin
dodir /usr/share/man/man1
emake DESTDIR="${D}" PREFIX=/usr install
einstalldocs
pushd "${D}"/usr/share/man/man1 > /dev/null
gzip -d zita-a2j.1.gz
gzip -d zita-ajbridge.1.gz
gzip -d zita-j2a.1.gz
popd > /dev/null
}

View File

@@ -1 +1 @@
DIST vidify-audiosync-0.2.tar.gz 61853349 BLAKE2B f23f84625cd5efc577ff366f3d9938704230606268618be0629dd91875c626d762d359a48fee7ed5caef70bb4e678c37c0d90dcce94454a3f301a0499c862f1a SHA512 8dd619f7a34bc69ed1623d122de0fe30a8ce80ab6dc4929f3e23a2a399232a0e77ce18e439788722b2f83205a0b9634f0ae8a9f76d937173ee2874ec7750688f
DIST vidify-audiosync-0.3.0.tar.gz 61854564 BLAKE2B 106002e578ad9e04af1abf3e7ae67c495c2c3070c62be84d6fa836898b035cd5933bd094c8d7da5f60275cc8f556bee9f921ee7a3264434ce8e1722e6614b903 SHA512 a283feb59b027d85d60ecfb1be1960760870cb66a5d3babe7e1687f3193e12ac7c1c09aafa83d99b89ce65f13e86e0ee7db2f5acd3e1eecc70d00beffc29b5dd

View File

@@ -1 +1 @@
DIST vidify-2.2.3.tar.gz 2908707 BLAKE2B a79e697dbbcbe0d09837f52e02b41902c74222f4f27dcfc86eabe9c5064dd7cce0bf874f3a479551e87782660e32b244065b092cf7f27c9c94004e97dca74388 SHA512 a97d6f1fb8fdc968c464ea1603e600ac92bc100c9ef4dd4c86dd964947875498dacd92b370c322557c259d8a1dc89c36e2a83e2e469118018da8196c1e27a0a7
DIST vidify-2.2.4.tar.gz 2909082 BLAKE2B 555208341b73ee8ef4d8b2422effced0769bc2bbdc3836cf7568cd81e546a8f3283e958392b29edb9e6b7a961989a01ce640dc840c679697cd181a116e28a582 SHA512 e874ed5166bab67af06381e8479ef416ddf794044f1a7c6f8bd23502d775ec7597404965f357b09c632f97289bf0e73dc0c902319b7d153b8330afde1442d7fb

1
net-dialup/tio/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST tio-1.32.tar.xz 88976 BLAKE2B d9f97e0c37326d5db2c6a7d681569738aced6ba45dc60d320bf5dc00db1d77b72474309d0b790ba6af1360cde145cda04ddbc2ba58f69cef1e2331906d04cc89 SHA512 6ec216ea8e60fe8fb09e3bc378d8178f0d27789ba876e5a763c1eeef7de064831143270e644e64658d3b9acaf3c1b406f1e3331acc4c8bee91fd56851b99941f

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>kurt@kmk-computers.de</email>
<name>Kurt Kanzenbach</name>
</maintainer>
<longdescription>
"tio" is a simple TTY terminal application which features a straightforward
commandline interface to easily connect to TTY devices for basic
input/output.
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,18 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools bash-completion-r1
DESCRIPTION="Simple TTY terminal application"
HOMEPAGE="https://tio.github.io/"
SRC_URI="https://github.com/tio/${PN}/releases/download/v${PV}/${P}.tar.xz"
SLOT="0"
LICENSE="GPL-2+"
KEYWORDS="~amd64 ~x86"
src_configure() {
econf --with-bash-completion-dir="$(get_bashcompdir)"
}

View File

@@ -1 +1 @@
DIST gtk-fortran-3.24.8.tar.gz 4164311 BLAKE2B 728d55890344894df534de1530135933e488ea197dc2d9b8f28571ce56a236e7fe2be23ebc4708e1ae5ffeb10e4ee584db366945e3d262225c4e9f7db4fa611d SHA512 58154df7c531ebfabcc687f8f38d3c7db7f7adb6cc015e1ce9c44455ab2506a4dfe6b073a88100131ac3712fee68844e4544f2f77d954285e3fbc86e1b3d9394
DIST gtk-fortran-19.04.tar.gz 4164311 BLAKE2B 728d55890344894df534de1530135933e488ea197dc2d9b8f28571ce56a236e7fe2be23ebc4708e1ae5ffeb10e4ee584db366945e3d262225c4e9f7db4fa611d SHA512 58154df7c531ebfabcc687f8f38d3c7db7f7adb6cc015e1ce9c44455ab2506a4dfe6b073a88100131ac3712fee68844e4544f2f77d954285e3fbc86e1b3d9394

View File

@@ -0,0 +1,96 @@
diff -Naur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2019-04-24 10:53:11.000000000 +0300
+++ b/CMakeLists.txt 2020-04-13 07:05:14.000000000 +0300
@@ -194,7 +194,7 @@
# As a temporary (?) workaround, we are now using pkg-config.
# If a CMake error occurs, add -D EXCLUDE_PLPLOT=true to your CMake command.
#===============================================================================
-if (NOT EXCLUDE_PLPLOT)
+if (NOT EXCLUDE_PLPLOT AND NOT NO_BUILD_HL)
find_package(PkgConfig REQUIRED)
pkg_check_modules(PLPLOT-FORTRAN REQUIRED plplot-fortran)
@@ -211,9 +211,9 @@
include_directories(${PLPLOT_INCLUDE_DIRS})
set(CMAKE_REQUIRED_LIBRARIES "${PLPLOT_LIBRARIES}")
set(CMAKE_REQUIRED_INCLUDES "${PLPLOT-FORTRAN_INCLUDE_DIRS}")
-else(NOT EXCLUDE_PLPLOT)
+else(NOT EXCLUDE_PLPLOT AND NOT NO_BUILD_HL)
message(STATUS "PLPLOT Excluded as command option")
-endif(NOT EXCLUDE_PLPLOT)
+endif(NOT EXCLUDE_PLPLOT AND NOT NO_BUILD_HL)
#===============================================================================
@@ -223,10 +223,10 @@
add_subdirectory(test)
add_subdirectory(examples)
-if(${GTKv} GREATER 2)
- add_subdirectory(sketcher)
-endif()
-
-if(PLPLOT_FOUND AND NOT EXCLUDE_PLPLOT)
- add_subdirectory(plplot)
-endif(PLPLOT_FOUND AND NOT EXCLUDE_PLPLOT)
+if(NOT NO_BUILD_HL)
+ if(PLPLOT_FOUND AND NOT EXCLUDE_PLPLOT)
+ add_subdirectory(plplot)
+ endif(PLPLOT_FOUND AND NOT EXCLUDE_PLPLOT)
+else(NOT NO_BUILD_HL)
+ message(STATUS "High Level API Excluded as command option")
+endif(NOT NO_BUILD_HL)
diff -Naur a/src/CMakeLists.txt b/src/CMakeLists.txt
--- a/src/CMakeLists.txt 2019-04-24 10:53:11.000000000 +0300
+++ b/src/CMakeLists.txt 2020-04-13 11:28:22.000000000 +0300
@@ -33,28 +33,33 @@
"gdk-pixbuf-auto.f90"
"glib-auto.f90"
"gtk.f90"
- "gtk-hl.f90"
- "gtk-hl-container.f90"
- "gtk-hl-button.f90"
- "gtk-hl-entry.f90"
- "gtk-hl-tree.f90"
- "gtk-hl-menu.f90"
- "gtk-hl-combobox.f90"
- "gtk-hl-spin-slider.f90"
- "gtk-hl-chooser.f90"
- "gtk-hl-dialog.f90"
- "gtk-hl-progress.f90"
- "gtk-hl-accelerator.f90"
- "gtk-hl-infobar.f90"
- "gtk-hl-assistant.f90"
- "gtk-hl-misc.f90"
- "gtk-draw-hl.f90"
"gtk-sup.f90"
- "gdk-pixbuf-hl.f90"
"pango-auto.f90"
"gdkevents-auto${GTKv}.f90"
)
+if(NOT NO_BUILD_HL)
+ set(sources ${sources}
+ "gtk-hl.f90"
+ "gtk-hl-container.f90"
+ "gtk-hl-button.f90"
+ "gtk-hl-entry.f90"
+ "gtk-hl-tree.f90"
+ "gtk-hl-menu.f90"
+ "gtk-hl-combobox.f90"
+ "gtk-hl-spin-slider.f90"
+ "gtk-hl-chooser.f90"
+ "gtk-hl-dialog.f90"
+ "gtk-hl-progress.f90"
+ "gtk-hl-accelerator.f90"
+ "gtk-hl-infobar.f90"
+ "gtk-hl-assistant.f90"
+ "gtk-hl-misc.f90"
+ "gtk-draw-hl.f90"
+ "gdk-pixbuf-hl.f90"
+ )
+endif(NOT NO_BUILD_HL)
+
if (CMAKE_HOST_WIN32)
set(sources
${sources}

View File

@@ -6,19 +6,20 @@ EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
FORTRAN_STANDARD=2003
inherit cmake flag-o-matic fortran-2
inherit cmake fortran-2
DESCRIPTION="A GTK+ binding to build Graphical User Interfaces in Fortran"
HOMEPAGE="https://github.com/vmagnin/gtk-fortran"
SRC_URI="https://github.com/vmagnin/${PN}/archive/v19.04.gtk${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/vmagnin/${PN}/archive/v${PV}.gtk3.24.8.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-19.04.gtk${PV}"
S="${WORKDIR}/${P}.gtk3.24.8"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples plplot"
IUSE="doc examples high-level plplot"
REQUIRED_USE="plplot? ( high-level )"
RDEPEND="
x11-libs/gtk+:3
@@ -35,12 +36,19 @@ BDEPEND="
virtual/pkgconfig
"
DOCS=( "README.md" "README-high-level" "CHANGELOG.md" )
pkg_setup() {
fortran-2_pkg_setup
}
src_prepare() {
default
# Patching here because of failed via PATCHES due to different line endings in files.
# Patch is disable building of 'gtkf-sketcher' - it isn't installed and has now documentation;
# add upstream 'NO_BUILD_HL' cmake option to disable build of high-level interface to gtk-fortran
# that is used by plplot interface (and gtkf-sketcher) and currently causes the TEXTREL QA warnings.
eapply "${FILESDIR}"/gtk-fortran-NO_BUILD_HL-option.patch
# Fix library installation path
sed -i "s:CMAKE_INSTALL_LIBDIR lib:CMAKE_INSTALL_LIBDIR $(get_libdir):" CMakeLists.txt || die
# Fix "Some or all of the gtk libraries were not found. (missing: GTK3_GDKCONFIG_INCLUDE_DIR)",
@@ -53,14 +61,10 @@ src_prepare() {
src_configure() {
mycmakeargs+=(
-DEXCLUDE_PLPLOT=$(usex plplot false true)
-DNO_BUILD_HL=$(usex high-level false true)
-DINSTALL_EXAMPLES=$(usex examples)
-DNO_BUILD_EXAMPLES=true
)
# Try to fix (fix similar warnings only for static library):
# /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/gtk-fortran_object.dir/gtk-hl-assistant.f90.o:
# warning: relocation against `hl_gtk_assistant_destroy' in read-only section `.rodata'
# /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object
append-flags -no-pie
cmake_src_configure
}
@@ -71,5 +75,5 @@ src_compile() {
src_install() {
cmake_src_install
use doc && dodoc -r ${BUILD_DIR}/html && rm ${D}/usr/share/doc/${P}/html/{*.map,*.md5}
use doc && dodoc -r "${BUILD_DIR}"/html && rm "${D}/usr/share/doc/${P}"/html/{*.map,*.md5}
}

View File

@@ -12,6 +12,7 @@
<use>
<flag name="doc">Build doxygen documentation</flag>
<flag name="examples">Install examples source code files</flag>
<flag name="high-level">Build high-level interface to the gtk-fortran package</flag>
<flag name="plplot">Build with <pkg>sci-libs/plplot</pkg> support</flag>
</use>
</pkgmetadata>