From 04eda9faa7a0d98fc38929a248c883c46c63d7ed Mon Sep 17 00:00:00 2001 From: Hyper-KVM Date: Fri, 27 Mar 2020 17:40:10 -0400 Subject: [PATCH 1/2] New package: gamemode-1.5.1 --- common/shlibs | 2 ++ srcpkgs/gamemode/template | 37 +++++++++++++++++++++++++++++++++++++ srcpkgs/libgamemode | 1 + srcpkgs/libgamemode-devel | 1 + 4 files changed, 41 insertions(+) create mode 100644 srcpkgs/gamemode/template create mode 120000 srcpkgs/libgamemode create mode 120000 srcpkgs/libgamemode-devel diff --git a/common/shlibs b/common/shlibs index 938781153e2..62838aaf0f9 100644 --- a/common/shlibs +++ b/common/shlibs @@ -493,6 +493,8 @@ libxenvchan.so.4.10 xen-libs-4.10.0_1 libfsimage.so.1.0 xen-libs-4.10.0_1 libxenstat.so.0 xen-libs-4.10.0_1 libfam.so.0 gamin-0.1.10_1 +libgamemode.so.0 gamemode-1.5.1_1 +libgamemodeauto.so.0 gamemode-1.5.1_1 libgamin-1.so.0 gamin-0.1.10_1 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1 libKF5Libkleo.so.5 libkleo-17.12.3_1 diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template new file mode 100644 index 00000000000..268c3ee7e99 --- /dev/null +++ b/srcpkgs/gamemode/template @@ -0,0 +1,37 @@ +# Template file for 'gamemode' +pkgname=gamemode +version=1.5.1 +revision=1 +build_style=meson +configure_args="-Dwith-systemd=false -Dwith-dbus-service-dir=/usr/share/dbus-1/services" +hostmakedepends="git cmake meson ninja pkg-config" +makedepends="inih-devel dbus-devel elogind-devel" +depends="libgamemode polkit" +short_desc="Optimise Linux system performance on demand" +maintainer="Hyper-KVM " +license="BSD 3-Clause License (Revised)" +homepage="https://github.com/FeralInteractive/gamemode" +distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz" +checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde" + +post_install() { + vsconf example/gamemode.ini + vlicense LICENSE.txt +} + +libgamemode_package() { + short_desc+=" - shared libraries" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + +libgamemode-devel_package() { + short_desc+=" - development files" + depends="libgamemode" + pkg_install() { + vmove "usr/lib/*.so" + vmove usr/lib/pkgconfig + vmove usr/include + } +} diff --git a/srcpkgs/libgamemode b/srcpkgs/libgamemode new file mode 120000 index 00000000000..d1810c733eb --- /dev/null +++ b/srcpkgs/libgamemode @@ -0,0 +1 @@ +gamemode \ No newline at end of file diff --git a/srcpkgs/libgamemode-devel b/srcpkgs/libgamemode-devel new file mode 120000 index 00000000000..d1810c733eb --- /dev/null +++ b/srcpkgs/libgamemode-devel @@ -0,0 +1 @@ +gamemode \ No newline at end of file From b7186158f17bb82eabfc1f58e065d3808ef34dff Mon Sep 17 00:00:00 2001 From: Hyper-KVM Date: Sat, 28 Mar 2020 14:00:21 -0400 Subject: [PATCH 2/2] New package: inih-r48 --- common/shlibs | 4 ++-- srcpkgs/gamemode/template | 2 +- srcpkgs/inih-devel | 1 + srcpkgs/inih/template | 27 +++++++++++++++++++++++++++ 4 files changed, 31 insertions(+), 3 deletions(-) create mode 120000 srcpkgs/inih-devel create mode 100644 srcpkgs/inih/template diff --git a/common/shlibs b/common/shlibs index 62838aaf0f9..bba633040a0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -493,8 +493,6 @@ libxenvchan.so.4.10 xen-libs-4.10.0_1 libfsimage.so.1.0 xen-libs-4.10.0_1 libxenstat.so.0 xen-libs-4.10.0_1 libfam.so.0 gamin-0.1.10_1 -libgamemode.so.0 gamemode-1.5.1_1 -libgamemodeauto.so.0 gamemode-1.5.1_1 libgamin-1.so.0 gamin-0.1.10_1 libKF5SyntaxHighlighting.so.5 syntax-highlighting-5.29.0_1 libKF5Libkleo.so.5 libkleo-17.12.3_1 @@ -2317,6 +2315,8 @@ libct.so.4 freetds-0.95.19_1 libsybdb.so.5 freetds-0.95.19_1 libqqwing.so.2 qqwing-1.3.4_1 libiniparser.so.1 iniparser-4.1_1 +libinih.so.0 inih-r48_1 +libINIReader.so.0 inih-r48_1 libzita-resampler.so.1 zita-resampler-1.3.0_1 libmlt.so.6 mlt-6.4.1_1 libmlt++.so.3 mlt-6.4.1_1 diff --git a/srcpkgs/gamemode/template b/srcpkgs/gamemode/template index 268c3ee7e99..5cca6eb6acd 100644 --- a/srcpkgs/gamemode/template +++ b/srcpkgs/gamemode/template @@ -9,7 +9,7 @@ makedepends="inih-devel dbus-devel elogind-devel" depends="libgamemode polkit" short_desc="Optimise Linux system performance on demand" maintainer="Hyper-KVM " -license="BSD 3-Clause License (Revised)" +license="BSD-3-Clause" homepage="https://github.com/FeralInteractive/gamemode" distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz" checksum="c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde" diff --git a/srcpkgs/inih-devel b/srcpkgs/inih-devel new file mode 120000 index 00000000000..e7c667bc405 --- /dev/null +++ b/srcpkgs/inih-devel @@ -0,0 +1 @@ +inih \ No newline at end of file diff --git a/srcpkgs/inih/template b/srcpkgs/inih/template new file mode 100644 index 00000000000..18cd927f48b --- /dev/null +++ b/srcpkgs/inih/template @@ -0,0 +1,27 @@ +# Template file for 'inih' +pkgname=inih +version=r48 +revision=1 +build_style=meson +hostmakedepends="ninja" +short_desc="Simple .INI file parser written in C" +maintainer="Hyper-KVM " +license="BSD-3-Clause" +homepage="https://github.com/benhoyt/inih" +distfiles="https://github.com/benhoyt/inih/archive/${version}.tar.gz" +checksum="e4596c6bdae4df80765aa40eed2fa7df0eb7fef03cedd8da67e8e8061db3fbd8" + +post_install() { + vlicense LICENSE.txt +} + +inih-devel_package() { + short_desc+=" - development files" + depends="inih>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "/usr/lib/*.so" + vmove usr/lib/pkgconfig + } +}