From be329a99065bb6596a0cfde4f7b22b01bbe358ff Mon Sep 17 00:00:00 2001 From: toluschr Date: Mon, 25 May 2020 19:49:29 +0200 Subject: [PATCH 1/2] New package: gamemode-1.5.1 --- common/shlibs | 2 ++ srcpkgs/gamemode/template | 36 ++++++++++++++++++++++++++++++++++++ srcpkgs/libgamemode | 1 + srcpkgs/libgamemode-devel | 1 + 4 files changed, 40 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 f18df7266ff..72038cb4c7c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -494,6 +494,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 libgamemode-1.5.1_1 +libgamemodeauto.so.0 libgamemode-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..a8415a1214e --- /dev/null +++ b/srcpkgs/gamemode/template @@ -0,0 +1,36 @@ +# Template file for 'gamemode' +pkgname=gamemode +version=1.5.1 +revision=1 +build_style=meson +configure_args="-Dwith-examples=false -Dwith-systemd=false -Dwith-dbus-service-dir=/usr/share/dbus-1/services --prefix=/usr --buildtype debugoptimized" +hostmakedepends="git cmake meson ninja pkg-config" +makedepends="inih-devel dbus-devel elogind-devel" +depends="lib${pkgname}>=${version}_${revision} polkit" +short_desc="Optimise Linux system performance on demand" +maintainer="Hyper-KVM " +license="BSD-3-Clause" +homepage="https://github.com/FeralInteractive/gamemode" +distfiles="https://github.com/FeralInteractive/gamemode/archive/${version}.tar.gz" +checksum=c510fd1391263c6fa05570de840865b1f0c8d573a7acbf488027327ae5a3bbde + +libgamemode_package() { + short_desc+=" - shared libraries" + pkg_install() { + vmove "usr/lib/*.so*" + } +} + +libgamemode-devel_package() { + short_desc+=" - development files" + depends="lib${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/lib/pkgconfig + vmove usr/include + } +} + +post_install() { + vsconf example/gamemode.ini + vlicense LICENSE.txt +} 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 a0a05f460cc3d6ee01794cfef301bfe6771a46a9 Mon Sep 17 00:00:00 2001 From: toluschr Date: Mon, 25 May 2020 19:49:49 +0200 Subject: [PATCH 2/2] New package: inih-r49 --- common/shlibs | 1 + srcpkgs/inih-devel | 1 + srcpkgs/inih/template | 28 ++++++++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 120000 srcpkgs/inih-devel create mode 100644 srcpkgs/inih/template diff --git a/common/shlibs b/common/shlibs index 72038cb4c7c..804a0d967a0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2325,6 +2325,7 @@ libCEGUISILLYImageCodec.so cegui-0.8.7_1 libct.so.4 freetds-0.95.19_1 libsybdb.so.5 freetds-0.95.19_1 libqqwing.so.2 qqwing-1.3.4_1 +libinih.so.0 inih-r49_1 libiniparser.so.1 iniparser-4.1_1 libzita-resampler.so.1 zita-resampler-1.3.0_1 libmlt.so.6 mlt-6.4.1_1 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..a6e003b8289 --- /dev/null +++ b/srcpkgs/inih/template @@ -0,0 +1,28 @@ +# Template file for 'inih' +pkgname=inih +version=r49 +revision=1 +build_style=meson +configure_args="-Ddistro_install=true -Ddefault_library=both" +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=197133c37a5fce2a3ac13008883b13f3a6f349881b66024c38ee9abf45e20d0c + +inih-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "/usr/lib/*.so" + vmove usr/lib/pkgconfig + } +} + +post_install() { + vlicense LICENSE.txt +}